Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Solaris CPU Consumption

Re: Solaris CPU Consumption

From: Anand Rao <panandrao_at_gmail.com>
Date: Mon, 30 Jan 2006 10:07:06 +0530
Message-ID: <d70710370601292037u6a8d9d65j@mail.gmail.com>


prsstat is the command you are looking for. information on CPU performance is provided by mpstat.

AFAIK, both these commands work only on Solaris 9 or above.

cheers
anand

On 30/01/06, Deepak Sharma <sharmakdeep_oracle_at_yahoo.com> wrote:
>
> I am having a tough time finding the right command to
> give me the CPU Usage on our Solaris box.
>
> If there are 100 processes currently on the system, I
> want something that shows 100 lines, each having a
> (non 0.00%) CPU Usage column for that process.
>
> I use 'top', 'vmstat 2 5' or 'sar -u 2 5', for
> example, to find the total CPU usage for the entire
> system.
>
> 1. Using 'top' shows total CPU, say 30% idle (or 70%
> Used), but when I add up all individual processes'
> CPU, it adds up, something like 56%, as an example.
> Several of the processes listed in top show 0.00% CPU
> and the reason could be that they have a 'sleep'
> state. But, adding up all non - 0.00% processed yield,
> as mentioned before, a much lower number than the
> total CPU used shown by Top.
>
> 2. I also tried using '/usr/ucb/ps -auxwww', and
> adding individual processes' CPU. same story, they all
> add up to a total that is much lower than total CPU
> reported by any of the above mentioned commands.
>
> Any help?
>
> Thanks,
> Deepak
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> --
> http://www.freelists.org/webpage/oracle-l
>
>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Sun Jan 29 2006 - 22:37:06 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US