Linux Commands - ps command - display a process associated with a certain PID (-p)

The ps command with the -p flag can be used to view the process associated with a certain PID. In this example, the process associated with PID 1 is displayed.

[john.doe@server1 ]# ps -p 1
 PID  TTY        TIME  CMD
   1  ?      00:00:02  systemd

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter de23c in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |