What is 'ps' command for?How would you kill a process?

What is 'ps' command for?How would you kill a process?

Question1 :What is 'ps' command for?
Answer :The ps command prints the process status for some or all of the running processes. The information given are the process identification number (PID),the amount of time that the process has taken to execute so far etc.

Question 2:How would you kill a process?
Answer :The kill command takes the PID as one argument; this identifies which process to terminate. The PID of a process can be got using 'ps' command. -9 is the option given

Keywords:
ps -ef command output
ps aux command in linux
ps -ef command explanation
ps -ef command example
ps command in unix
what is tty in ps command
kill command in linux
force kill process linux command line
kill process linux by name
linux kill process by pid
force kill process linux terminal
force kill process linux pid
linux kill all processes by user
kill program linux command line
kill all process in linux

No comments: