[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] iostat cpu infos




Le 21 juin 06 à 13:07, Henrik Stoerner a écrit :


Currently not possible.

[snip]
However, changing this now will require everyone to do a manual
export/import of data from their current vmstat RRD files into a new
file format. This is just not possible before the 4.2 release, so
I'm afraid you'll have to wait a while before you can track these data
by default.


ok.

But.

I'm able to get these data from "iostatcpu".
iostatcpu is already returner by solaris client, and I've managed to have the same from AIX :


nohup sh -c "iostat -t 300 2 1>$BBTMP/hobbit_iostatcpu.$MACHINEDOTS.$ $ 2>&1; mv $BBTMP/hobbit_iostatcpu.$MACHINEDOTS.$$ $BBTMP/ hobbit_iostatcpu.$MACHINEDOTS" </dev/null >/dev/null 2>&1 &
sleep 5
if test -f $BBTMP/hobbit_iostatcpu.$MACHINEDOTS; then echo "[iostatcpu]"; cat $BBTMP/hobbit_iostatcpu.$MACHINEDOTS; rm -f $BBTMP/ hobbit_iostatcpu.$MACHINEDOTS; fi




How could I put theses figures into a RRD file, and then use the file with [vmstat1] wonderful definition ?