Bootstrap FreeKB - Linux Commands - ps commad - show processes being run by a certain user (-U)
Linux Commands - ps commad - show processes being run by a certain user (-U)

Updated:   |  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 Buy Me A Coffee



Comments


Add a Comment


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