Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ps command and mpstat

Status
Not open for further replies.

SSG1

Programmer
Jan 17, 2002
48
US
Hi,
1. Does anyone know what the equivalent of
ps -eo nlwp in Solaris is for in Linux ?
I can't seem to find anything for this .

2. to get all the information about all the processors running on a LINUX box, we can use the mpstat command. How can I make it independent of whether it is running in a Uniprocessor machine or SMP machine ?
If I use mpstat -P ALL on an Uniprocesor machine, it returns "not a SMP machine". However if I run mpstat 6 2 on a SMP machine, I do not get any data . Is there any option that I can use with mpstat on both kinds of machines ?



Thanks
 
As far as I know Linux does not have the light threads pool model for handling multithreading. Consequently you will not see this in ps in Linux.
Correct me if I'm wrong...
Cheers
SeSe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top