LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command to list other users Processes (https://www.linuxquestions.org/questions/linux-newbie-8/command-to-list-other-users-processes-690778/)

diddyp20 12-15-2008 03:27 PM

command to list other users Processes
 
hey guys,
do you know a command to display the process status of another user on UNIX please? I mean can i know all the processes my coworker is using on his computer?

mknirsch 12-15-2008 03:53 PM

Hi,

try the following with "# " representing the prompt on a command line.
# ps -ef | more
this will list you all processes of all users
# ps -ef | grep xyz
this will list you all processes containing the string xyz including the user name
also take a look at the
#top
command. It will show you the cpu utilization of individual processes.
And last but not least enter
# man ps
and
# man ps

have fun

Martin

unSpawn 12-15-2008 05:33 PM

You can replace "ps|grep" with "pgrep", so if you want to narrow it down more easily try "ps U UID" or "pgrep -lU UID". Get the UID from like "id -u loginname".

lazlow 12-15-2008 06:07 PM

diddyp20

The way you worded your question makes it sound as though you and your coworker are on two separate computers. Is this correct?


All times are GMT -5. The time now is 11:30 AM.