[root@hexingxing ~]# ps -ef #查看进程
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 May13 ? 00:00:04 /sbin/init
root 2 0 0 May13 ? 00:00:00 [kthreadd]
root 3 2 0 May13 ? 00:00:00 [migration/0]
root 4 2 0 May13 ? 00:00:18 [ksoftirqd/0]
root 5 2 0 May13 ? 00:00:00 [stopper/0]
root 6 2 0 May13 ? 00:00:12 [watchdog/0]
root 7 2 0 May13 ? 00:09:44 [events/0]
root 8 2 0 May13 ? 00:00:00 [events/0]
root 9 2 0 May13 ? 00:00:00 [events_long/0]
root 10 2 0 May13 ? 00:00:00 [events_power_ef]
...
root 20800 19181 0 17:34 pts/0 00:00:00 ps -ef
[root@hexingxing ~]# kill [PID] #Kill 对应进程 ID
0 条评论