PS Command In Linux/Ubuntu For Process Monitoring

PS command is used to check the currently running process in Linux/Unix operating system. Basically it reports the snapshot of a processes. Every process has some unique id assigned which is PID.

Let’s start exploring PS command. Just open your terminal and start typing PS and hit enter

It list all the currently running processes on your system.

PS -ef Command

This command shows all the processes with full format listing.

-e – Currently running processes
-f – full format listing

PS -l

Display processes including those which are in wait state.

Mostly the ps command is used in linux to grep the PID of malfunctioning processes and terminate it using kill command.

To terminate any process you can use kill command

Syntax –
PID – Id of a process which you want to terminate.

Tagged , , . Bookmark the permalink.

About WebRewrite

I am technology lover who loves to keep updated with latest technology. My interest field is Web Development.