LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-15-2008, 04:27 PM   #1
diddyp20
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Rep: Reputation: 0
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?
 
Old 12-15-2008, 04:53 PM   #2
mknirsch
Member
 
Registered: Feb 2003
Location: Germany
Distribution: SLES, SuSe, Ubuntu, HPUX
Posts: 38

Rep: Reputation: 18
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
 
Old 12-15-2008, 06:33 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531Reputation: 3531
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".
 
Old 12-15-2008, 07:07 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
diddyp20

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the command to list users? neo_in_matrix Linux - Newbie 24 02-12-2014 11:43 PM
command to list all users of the system?? simi_544 Linux - Networking 9 09-29-2005 04:00 AM
List all users, command amer_58 Linux - Newbie 6 03-25-2005 07:07 AM
Command to list all running processes GSX Linux - General 4 02-23-2005 04:42 AM
How to get list of system users from command line? tictocdoc Linux - General 3 03-12-2004 04:06 PM


All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration