|
Home > Archive > Unix administration > August 2007 > % break-down for applications running at each CPU in Solaris 10 server
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
% break-down for applications running at each CPU in Solaris 10 server
|
|
| underh20.scubadiving@gmail.com 2007-08-09, 1:22 pm |
| Madam/Sir,
Our Solaris 10 Sun server has 8 cpus running Oracle, Websphere and a
Java application. Are there any methods/commands to find out the %
load at each cpu for the specific or period of time ? Basically, we'd
need to show for each cpus, the break-down of these 3 software at any
given time.
Thanks in advance for your assistance.
Bill
| |
|
| On Aug 9, 10:27 pm, underh20.scubadiv...@gmail.com wrote:
> Madam/Sir,
>
> Our Solaris 10 Sun server has 8 cpus running Oracle, Websphere and a
> Java application. Are there any methods/commands to find out the %
> load at each cpu for the specific or period of time ? Basically, we'd
> need to show for each cpus, the break-down of these 3 software at any
> given time.
>
> Thanks in advance for your assistance.
>
> Bill
write a script which will catch the output of top cpu command
| |
|
| On Aug 9, 10:27 pm, underh20.scubadiv...@gmail.com wrote:
> Madam/Sir,
>
> Our Solaris 10 Sun server has 8 cpus running Oracle, Websphere and a
> Java application. Are there any methods/commands to find out the %
> load at each cpu for the specific or period of time ? Basically, we'd
> need to show for each cpus, the break-down of these 3 software at any
> given time.
>
> Thanks in advance for your assistance.
>
> Bill
Hi Bill,
I am not aware of Solaris... But In Linux there is one commnd called
"mpstat",
Below result of my server which is running with 4 CPU
mpstat -P ALL
04:17:53 CPU %user %nice %system %idle intr/s
04:17:53 all 5.95 0.00 3.68 90.37 56.25
04:17:53 0 6.16 0.00 3.30 90.54 56.25
04:17:53 1 5.60 0.00 5.32 89.08 56.25
04:17:53 2 6.02 0.00 3.04 90.94 56.25
04:17:53 3 6.03 0.00 3.04 90.93 56.25
This command will give you the complete usage of the CPU's.This is
general binary for all the unix flavours,
So download the SYSSTAT package and install all the things that will
give you this mpstat binary..
Hopw this would help you...
Thanks,
San
|
|
|
|
|