有没有办法在不重启的情况下杀死僵尸进程?事情是这样发生的:
我想使用 torrent 下载一个 12GB 的文件。添加 .torrent 文件后,传输变成了僵尸进程(我也尝试过 ktorrent。相同的行为)。最后我可以使用 µTorrent 下载文件,但在关闭程序后,它也变成了僵尸。
我尝试使用kill
,skill
并pkill
使用不同的选项和-9
信号,但没有成功。
在网上阅读了一些解决方案后,我发现杀死父母可以杀死僵尸。但杀酒也无济于事。
还有其他方法吗?
编辑:
ps -o pid,ppid,stat,comm
PID PPID STAT COMMAND
7121 2692 Ss bash
7317 7121 R+ ps
Run Code Online (Sandbox Code Playgroud)
pstree 输出:
init???GoogleTalkPlugi???4*[{GoogleTalkPlug}]
??NetworkManager???dhclient
? ??{NetworkManager}
??acpid
??amarok???19*[{amarok}]
??apache2???5*[apache2]
??atd
??avahi-daemon???avahi-daemon
??bonobo-activati???{bonobo-activat}
??clock-applet
??console-kit-dae???63*[{console-kit-da}]
??cron
??cupsd
??2*[dbus-daemon]
??2*[dbus-launch]
??desktopcouch-se???desktopcouch-se
??firefox???run-mozilla.sh???firefox-bin???plugin-containe???8*[{plugin-contain}]
? ??14*[{firefox-bin}]
??gconfd-2
??gdm-binary???gdm-simple-slav???Xorg
? ? ??gdm-session-wor???gnome-session???bluetooth-apple
? ? ? ? ??compiz???sh???gtk-window-deco
? ? ? ? ??fusion-icon
? ? ? ? ??gdu-notificatio …
Run Code Online (Sandbox Code Playgroud) 我的服务器上有一些 shell 用户,每月有 300GB 的数据传输。如何监控每个用户的带宽使用情况?