total amount of seconds CPU time spent in the system for the different CPU states
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix questions > total amount of seconds CPU time spent in the system for the different CPU states




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    total amount of seconds CPU time spent in the system for the different CPU states  
zekos muslu


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-18-04 12:47 PM

Hello All,

I am using Sun-Fire-V240 and Solaris 5.9.

I am testing SNMP agent on this server. By using SNMP, I can get the
system performance counters, i.e. "CPU Utilization in User Mode" and
"CPU Utilization in Kernel".

I need to verify this values by some unix commands/tools/utilities.

As far as I know these counters provide us the information of "total
amount of seconds CPU time spent in the system for the different CPU
states".

So, How can I check/verify these counter values?
Which unix command or script helps me for this subject.

If you reply me today, I will be very happy.

Thanks in advance,

and Best Regards,
zekos muslu





[ Post a follow-up to this message ]



    Re: total amount of seconds CPU time spent in the system for the different CPU states  
bbrock@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-22-04 01:48 AM

For CPU performance information in Solaris, take a look at the man page
for "mpstat" and "sar".

$ mpstat 5 3          # 5 samples, one every 3 seconds
$ sar 5 2               # 5 samples, one every 2 seconds

You'll may also find vmstat, prstat, iostat, and /usr/ucb/ps useful.

Also see:
http://developers.sun.com/solaris/a...ng_solaris.html and
http://www.oreilly.com/catalog/spt2/index.html






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:13 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register