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

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


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 36c69 in the box below so that we can be sure you are a human.


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