[INUG-Users] cpu usage and number of cpu's, unixy question
Cohn, Jonathan C [IT]
Jonathan.C.Cohn at sprint.com
Thu Jan 3 14:54:23 EST 2008
On my Solaris boxes I use 'mpstat' to get individual CPU's performance. The 50% you saw was an average of the two CPU's.
I think the SNMP mibs have both the average across all CPU's and individual CPU statistics available.
Jon
-----Original Message-----
From: users-bounces at netcoolusers.org [mailto:users-bounces at netcoolusers.org] On Behalf Of Alex
Sent: Thursday, January 03, 2008 2:20 PM
To: users at netcoolusers.org
Subject: [INUG-Users] cpu usage and number of cpu's, unixy question
hi,
I wrote a test script to test high cpu usage. The script shows 50% cpu usage
on a sun box with 2 cpu's but on another box I used to test, which is
actually a solaris "zone" it shows 100%. Is there a way to predict what the
number will be so when I set ssm to monitor high cpu I set it to the right
number?
thanks
test script:
#!/usr/bin/perl
while (1) {
}
_______________________________________________
Sent by the netcoolusers.org "users" mailing list
Post: users at netcoolusers.org
Unsubscribe: users-unsubscribe at netcoolusers.org
Search: http://lists.netcoolusers.org/archives/users/
More information about the Users
mailing list