you can use "sar -u" if you have sar enabled. vmstat 2 (runs vmstat ervery 2 seconds until you ^c). mpstat 2 (as above)
top was really designed for Linux and can give wrong information (at least according to sun ). might be worth looking to see if you any i/o waits causing the cpu usage (iostat -x) look at the processes using "/usr/ucb/ps -aux |head" (yes, there are 2 versions of ps on Solaris). you can use se toolkit if you have it installed. if you have an idea which process is hogging the cpu, you can monitor it with se toolkit /opt/RICHPse/bin/se /opt/RICHPse/examples/pwatch.se nnnn (where nnnn is the process id i.e. 26925 in your table below)if you don't list a pid, by default it will monitor pid 3 - fsflush. -----Original Message----- From: Joaquin Henriquez Alzola [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 12:07 PM To: Solaris-Users list Subject: [Solaris-Users] CPU consumption Hi people, We are having certain problem with the CPU consumption in one of our machines a Netra 1405. We have an snmp GUI where we send the alarms for the CPU consumption. Every 30 minutes we get that the CPU is at about 80% of its usage. I have run the commands top and prstat -a but I have only seen that the CPU usage for the user to a maximum of 40% of its capacity. We get suddenly a kernel of up to 40% also. CPU states: 32.2% idle, 30.6% user, 37.1% kernel, 0.1% iowait, 0.0% swap Memory: 4096M real, 2219M free, 1150M swap in use, 10G swap free PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND 26925 root 61 59 -20 137M 86M sleep 33.4H 30.75% java 3262 oracle 11 59 -20 544M 507M sleep 46:34 0.51% oracle 679 root 1 50 0 1096K 912K sleep 345:23 0.23% loms Is there a better way to see the cpu consumption without the top or prstat -a commands? Why I get so high kernel usage? Is there a way to see this more deeply. BR, Joaquin _______________________________________________ Solaris-Users mailing list [EMAIL PROTECTED] http://www.filibeto.org/mailman/listinfo/solaris-users ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ _______________________________________________ Solaris-Users mailing list [EMAIL PROTECTED] http://www.filibeto.org/mailman/listinfo/solaris-users
