How to Use Unix PS Command

In this tutorial we will show you how to use the unix ps command.
The PS command is used to track down the processes currently running on the Operating system. In this tutorial, we will demonstrate the unix commands of ps along with its different attributes.

Step 1 – Enter command
Let us start by writing “ps -e” and hitting the enter key.
Insert command

Step 2 – View the different processes
With that done, you can see the various processes listed in the results with their IDs and their time.
View the various processes

Step 3 – Clear terminal screen and enter command
Now let’s clear the terminal screen and write “ps -ef”.
Clear the terminal application screen and insert command

Step 4 – View more description of the processes
This unix ps command gives more description of the processes, for example it also includes the User Id, and the Parent Process ID along with the details given by the “- ef” command.
View the processes in more detail

Step 5 – Enter command to see more details
Now if you want more details about the current processes, like their statistics, their time, CPU usage, main Memory usage etc, write “ps -aux” and hit enter.
Insert command to see more details

Step 6 – View the processes
This command gives you the detailed description of the processes currently running on the machine.
And that’s it, follow the steps above to understand how to use the unix commands of ps.
See the processes