Linux下执行程序出现 Text file busy 时的解决办法
2014-11-04 12:51
996 查看
Linux下执行程序出现 Text file busy 时的解决办法。
使用 fuser 命令查看程序文件被哪个进程占用,然后用 kill 命令杀死该进程,即解决问题。fuser命令是用来显示所有正在使用着指定的file, file system 或者 socket 的进程信息。
如下:
[root@localhost]# fuser <程序文件名>
<程序文件名>: 50340
[root@localhost]# kill -TERM 50340
注:在普通用户下使用fuser是没有结果的,要切换至root用户。
使用 fuser 命令查看程序文件被哪个进程占用,然后用 kill 命令杀死该进程,即解决问题。fuser命令是用来显示所有正在使用着指定的file, file system 或者 socket 的进程信息。
如下:
[root@localhost]# fuser <程序文件名>
<程序文件名>: 50340
[root@localhost]# kill -TERM 50340
注:在普通用户下使用fuser是没有结果的,要切换至root用户。
相关文章推荐
- Linux下执行程序出现 Text file busy 时的解决办法
- Linux下执行程序出现 Text file busy 时的解决办法。
- Linux下执行程序出现 Text file busy 提示时的解决方法
- Linux下执行程序出现Text file busy的解决方法
- Linux下执行程序出现 Text file busy 提示时的处理方式
- linux 下执行程序总是提示permission denied的解决办法
- linux挂载硬盘重启后出现an error occurred during the file system check错误最有效的解决办法(转)
- Linux下出现 error: mysql.h: No such file or directory 的解决办法
- 执行文件下载Java 调用 FFMPEG 命令时用 url 作为输入源,Linux 下出现 “no such file or directory” 问题的解决
- 执行脚本出现bin/bash: bad interpreter: No such file or directory的解决办法
- shell脚本执行后出现错误提示" /bin/bash^M: bad interpreter: No such file or dire"的解决办法
- 在android系统命令行中执行arm linux程序,出现/system/bin/sh: .xxx No such file or directory问题
- fedora20 执行 arm-linux-gcc 出现 libz.so.1: cannot open shared object file问题解决方案
- 执行脚本出现bin/bash: bad interpreter: No such file or directory的解决办法
- Linux执行.sh文件时提示No such file or directory该怎么办(三种解决办法)
- 当在写android的xml文件中出现Unexpected text found in layout file: """的解决办法
- linux出现bash: ./java: cannot execute binary file 问题的解决办法
- 升级数据库时遇到的Text file busy错误解决办法
- 执行脚本出现bin/bash: bad interpreter: No such file or directory的解决办法
- 三种关于Linux执行.sh文件,提示No such file or directory错误的解决办法