This is a discussion on Top and 4 CPU's within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> I installed top from sunfreeware. I am running on a SS20 with 4x100 HyperSPARC CPU's. Top's show only the ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I installed top from sunfreeware. I am running on a SS20 with 4x100 HyperSPARC CPU's. Top's show only the total for all the CPU's (as far as I can tell). I have read the man page. Anyone know how to get it to show the load on each CPU? Thanks! |
| |||
| Sean wrote: > I installed top from sunfreeware. I am running on a SS20 with 4x100 > HyperSPARC CPU's. Top's show only the total for all the CPU's (as far as > I can tell). I have read the man page. Anyone know how to get it to show > the load on each CPU? > > Thanks! > Try "mpstat 1" (change 1 with any time interval you want) |
| |||
| On 2004-05-02 06:16:35 -0700, Oscar del Rio <delrio@mie.utoronto.ca> said: thanks but what i wanted to know is how to get top to show all cpu's like it does on linux or *bsd (they have one line per cpu) that can be toggled by hitting '1' thanks! > Sean wrote: > >> I installed top from sunfreeware. I am running on a SS20 with 4x100 >> HyperSPARC CPU's. Top's show only the total for all the CPU's (as far >> as I can tell). I have read the man page. Anyone know how to get it to >> show the load on each CPU? >> >> Thanks! >> > > Try "mpstat 1" (change 1 with any time interval you want) |
| |||
| On Sun, 2 May 2004 12:31:03 -0700 Sean <sahafeez.nospam@spamsucks.zaphodb.org> wrote: > > > thanks but what i wanted to know is how to get top to show all cpu's > like it does on linux or *bsd (they have one line per cpu) that can be > You can't, top on solaris does not support that. -- Barbie - Prayers are like junkmail for Jesus I have seen things you lusers would not believe. I've seen Sun monitors on fire off the side of the multimedia lab. I've seen NTU lights glitter in the dark near the Mail Gate. All these things will be lost in time, like the root partition last week. Time to die. |
| |||
| On 2004-05-02 13:56:07 -0700, Barbie LeVile <barbie@gods-inc.de> said: well that sucks. thanks all! > On Sun, 2 May 2004 12:31:03 -0700 > Sean <sahafeez.nospam@spamsucks.zaphodb.org> wrote: >> >> >> thanks but what i wanted to know is how to get top to show all cpu's >> like it does on linux or *bsd (they have one line per cpu) that can be >> > > You can't, top on solaris does not support that. |
| |||
| > + On 03-Maj-04 06:07:41 +Sean <sahafeez.nospam@spamsucks.zaphodb.org> wrote >>> thanks but what i wanted to know is how to get top to show all cpu's >>> like it does on linux or *bsd (they have one line per cpu) that can be >>> >> >> You can't, top on solaris does not support that. >well that sucks. Maybe, but top on (for example) linux also sucks since it cant let the processes "shift" between the CPU's like the solaris top. I would like to have a combination of the two types in one program that I can run on both my sparc/solaris and x86/linux SMP machines. |
| |||
| On Sun, 2 May 2004 01:45:34 -0700, Sean <sahafeez.nospam@spamsucks.zaphodb.org> wrote: > I installed top from sunfreeware. I am running on a SS20 with 4x100 > HyperSPARC CPU's. Top's show only the total for all the CPU's (as far > as I can tell). I have read the man page. Anyone know how to get it to > show the load on each CPU? try prstat if the system is Solaris 8 or later -- u n d e r a c h i e v e r |
| |||
| u n d e r a c h i e v e r <takeme2yourNOMORESPAMPLEASE@rocketmail.com> wrote: >> I installed top from sunfreeware. I am running on a SS20 with 4x100 >> HyperSPARC CPU's. Top's show only the total for all the CPU's (as far >> as I can tell). I have read the man page. Anyone know how to get it to >> show the load on each CPU? > > try prstat if the system is Solaris 8 or later pre-CPU utilisation on a Solaris system is relatively useless. Processes will move about between CPUs several times a second, so if a machine is overall 50% busy, you'll find that the individual CPUs will basically be 50% busy each - not half at 100% and the other half at 0%. If you really do want the numbers, you can get the per-cpu load using mpstat. Scott. |
| ||||
| "Scott Howard" <scott@hunterlink.net.au> wrote in message news:1086402584.452445@docbert... > u n d e r a c h i e v e r <takeme2yourNOMORESPAMPLEASE@rocketmail.com> wrote: > >> I installed top from sunfreeware. I am running on a SS20 with 4x100 > >> HyperSPARC CPU's. Top's show only the total for all the CPU's (as far > >> as I can tell). I have read the man page. Anyone know how to get it to > >> show the load on each CPU? > > > > try prstat if the system is Solaris 8 or later > > pre-CPU utilisation on a Solaris system is relatively useless. Processes > will move about between CPUs several times a second, so if a machine is > overall 50% busy, you'll find that the individual CPUs will basically > be 50% busy each - not half at 100% and the other half at 0%. > > If you really do want the numbers, you can get the per-cpu load using > mpstat. > > Scott. Even better than that - check out DPMonitor at www.deltek.us - fully licensed version will monitor all CPU's and a whole buncg more, while incurring significantly less overhead in the process, (meaured at less than 1% over time). Regards, Scott (a different one). |
| Thread Tools | |
| Display Modes | |
|
|