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 09:14 AM
Display Serial Number dkranes SUN Solaris 5 05-16-2008 10:38 AM
display number of subdirectories jjamd64 Shell Programming and Scripting 2 12-13-2007 12:06 PM
Need some advise on two for loops to display and to number newbewie Shell Programming and Scripting 7 09-25-2007 07:38 AM
how i display number in words amitpansuria High Level Programming 3 08-26-2007 09:02 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-03-2007
tumblez tumblez is offline
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?
  #2 (permalink)  
Old 04-04-2007
ennstate ennstate is offline
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,
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:23 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0