Linux下执行程序出现 Text file busy 时的解决办法。
来源:互联网 发布:.net中级程序员面试题 编辑:程序博客网 时间:2024/05/29 15:29
这是因为有与文件有关的进程正在运行,把这个进程关闭就可以了。方法如下:
使用 ps | grep ×××× 命令查看程序文件被哪个进程占用,然后用 kill 命令杀死该进程,即解决问题。
PS在Linux中是查看进程的命令。ps查看正处于Running的进程。后面加上管道后,就可以从获得到的信息中提取到索要查看的与进程文件相关的进程。
例如:
[root@PandoraBox:/root/MF_IoTWrtGateway]# ps | grep python 2237 root 13196 T python main.py 2254 root 1500 S grep python[root@PandoraBox:/root/MF_IoTWrtGateway]# kill -9 2237[root@PandoraBox:/root/MF_IoTWrtGateway]#
这样就可以删除正在工作的进程,删除了之后就可以正常工作了。
0 0
- Linux下执行程序出现 Text file busy 时的解决办法
- Linux下执行程序出现 Text file busy 时的解决办法
- Linux下执行程序出现 Text file busy 时的解决办法。
- Linux下执行程序出现Text file busy的解决方法
- 升级数据库时遇到的Text file busy错误解决办法
- Linux bash提示permission denied或Text file busy的解决办法
- Text file busy
- Text file busy解决方法
- Linux下出现Read-only file system的解决办法
- Linux下出现Read-only file system的解决办法
- Linux下出现Read-only file system的解决办法
- ubuntu10.10下sh提示bad interpreter: Text file busy的解决方法
- LINUX下执行脚本时,出现bad interpreter:No such file or directory的原因
- linux下systemctl enable (service名)时出现file exists的解决办法
- linux 下解决umount 时出现的 "Device is busy"问题
- linux 下解决umount 时出现的 "Device is busy"问题 绝
- Text file busy(文本文件忙)
- linux 下执行程序总是提示permission denied的解决办法
- bootstrap简介
- How do you use “git --bare init” repository?
- 回顾时的遗漏点(不断更新中。。。)
- coredump故障分析
- android自定义控件---小球圆周运动
- Linux下执行程序出现 Text file busy 时的解决办法。
- chmod的使用理解说明
- 【BZOJ3879】SvT 后缀树+虚树
- 保护企业数据信息安全应做好哪些安全服务?
- 个人学习php心得
- .net中的一般处理程序实例
- 非985 非211二本生的万字面试经历流水账
- JConsole监控Tomcat简单配置
- 淡然面对生活