![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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? |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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, |
|||
| Google The UNIX and Linux Forums |