Tuesday, November 15, 2011

Linux and Unix PS commands

PS abbreviated as process status command list information about the active process running in the linux/Unix machine. this command list out all the active running process
. Command #1:- ps -aef list all the process in system.
Command #2:- ps -aef| grep java We can use ps command piping with grep . List all the process in the linux/unix with name java.
Command #3:- Kill proceesId to kill the process which has id of process. we can use kill -9 pid for forcible killing the process.
Command #3:- Killall proceesName to kill the process which has name of process.
Command #4:- Kill 0 to stop all the process.


EmoticonEmoticon

Note: Only a member of this blog may post a comment.