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

Updated:   |  Linux Commands articles

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



Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


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