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? |
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 |
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".
|
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. |