Linux Process Management related commands
Following command shows the list of all running processes with their process ids (PID), even owned by other users:
[root@badar /]# ps aux | less
You can also use pstree:
[root@badar /]# pstree
Following command will kill a specific process, say process id 32432:
[root@badar /]# kill 32432
or
[root@badar /]# kill –s KILL 32432
or
[root@badar /]# kill –KILL 32432
or
[root@badar /]# kill –9 32432
[root@badar /]# ps aux | less
You can also use pstree:
[root@badar /]# pstree
Following command will kill a specific process, say process id 32432:
[root@badar /]# kill 32432
or
[root@badar /]# kill –s KILL 32432
or
[root@badar /]# kill –KILL 32432
or
[root@badar /]# kill –9 32432
Comments
Post a Comment