Linux Commands - ps command - display a process associated with a certain PID (-p)
by
Jeremy Canfield |
Updated: October 02 2020
| 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