hans

hans

【Shell】查看并杀死无响应进程


在 files 中有时候剪切粘贴或者删除大量文件会出现卡死的情况。下面是解决办法。

终端输入

pgrep files

得到 files 的 PID 返回值

也可以输入

top

会显示内存和 cpu 使用情况,下面也会有各个进程的 PID

然后

kill PID
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.