The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
display unique number malaysoul Shell Programming and Scripting 1 06-02-2008 05:14 AM
Display Serial Number dkranes SUN Solaris 5 05-16-2008 06:38 AM
display number of subdirectories jjamd64 Shell Programming and Scripting 2 12-13-2007 09:06 AM
Need some advise on two for loops to display and to number newbewie Shell Programming and Scripting 7 09-25-2007 03:38 AM
how i display number in words amitpansuria High Level Programming 3 08-26-2007 05:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 04-03-2007
Registered User
 

Join Date: Nov 2002
Posts: 15
How to use ps to display processor number

I'm on a Unix 5.2 server and I want to be able to see my processes to verify they are active and which processor they are running on.

ps -l will show me the status of process (active/stopped/idle)

but to see which processor the process is assigned to I don't know how.

Manpages show -o and seems to infer that this would show me the processor, but I do not know how to correctly invoke it.

When I enter ps -elof I get an invalid message and it shows the correct usage of -o as "[-o specifier[=header],...]"

I have no idea what it wants. Any ideas?
Reply With Quote
Forum Sponsor
  #2  
Old 04-04-2007
Registered User
 

Join Date: Mar 2007
Location: Chennai
Posts: 222
This would hep you,

ps -ef -o user,pid,pcpu,s,stime,pmem,comm,psr,pset

Please read the man page of ps to know in detail about the arguments.

Thanks
Nagarajan Ganesan,
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0