Linux Commands - ps commad - show processes being run by a certain user (-U)
by
Jeremy Canfield |
Updated: October 02 2020
| Linux Commands articles
The ps command with the -U flag can be used to view processes being run by a certain user. In this example, root can see the processes being run by John Doe.
[root@server1 ]# ps -U john.doe
PID TTY TIME CMD
5837 tty 2 00:00:00 bash
6102 pts/3 00:00:00 sshd
Did you find this article helpful?
If so, consider buying me a coffee over at