i am running a sunfire v880 with 8 cpu's and
defined a project called "oracle" which
is bound to 2 cpu's
i am looking for a tool which reports the
cpu load for 2 specific cpu's like
"sar -u" does it for all cpu's
mpstat doesn't collect samples, but you can easily script it, eg:Quote:> it isn't possible to view previously collected data
> with mpstat, isn't it ?
mpstat 30 120 > /var/tmp/mpstat.out
will collect for one hour with a 30 sec interval.
You can also directly peek the kernel counters like this:
kstat -T d -p cpu:*:sys:cpu_ticks_idle \
cpu:*:sys:cpu_ticks_kernel cpu:*:sys:cpu_ticks_user 30
Anybody know of one of these?
Either like xload on the desktop, or a panel applet for
Gnome + Sawmill...
Thanks in advance,