the info in /proc is a time decayed average per process, so adding it
up is useless. It also fails to count any short lived processes that
come and go in the measurement interval. Actually thats the problem,
the ps/top data from /proc is not measured over an interval, thats why
you get a time decay
CedBer,
I have seen similar issues on Solaris versions 8 & 9, with no conclusive
answer. If you take top and add up all the process CPU usage and use the
very summary shown by top for usr and kernel usage, the total of all the
processes does not add up to the usr %. I have heard that the latest ve
CedBer wrote:
> If I divide by 8 rather than 4, I have B=1/2*C ! (where B is the sum of
> processes %CPU of top an C the usr+sys vmstat value)
>
Are you observing that same discrepancy between prstat and vmstat?
vmstat derives it's statistics from the cpu kstats...whereas prstat
looks at the