[rrd-users] Re: Monitoring each CPU in a SMP server

Iñaki Martínez sistema at euskal-linux.org
Wed Jun 26 14:08:49 MEST 2002


Kaixo Thomas Erskine!!!

> >  1) how to get data for each CPU
> >     now i get via mpstat, a program that show each CPU status
> 
> "mpstat -P ALL" works for me under linux.

 Yes... for me too......

 I did ask for another better method.....
 
> >  3) how to graph ALL CPUs in the same graph, if possible
> >     if NOT possible how to graph, one for each CPU???
> 
> Where's the difficulty?
> 
> rrdtool graph xyzzy.png \
>          --start ... \
>          DEF:user0=my.rrd:user0:AVERAGE
>          DEF:user1=my.rrd:user1:AVERAGE
>          ...
>          LINE1:user0#ff0000
>          LINE1:user1#00ff00
>          ...

 OK.... you are right.... 

 But for each CPU you have 4 lines (user,nice,system and idle) so could be 
very confused graph......

 I think about stack areas, but with two CPUs you have a very big graph.

 Thanks!!

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list