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
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