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

memory test problem



Hi,

I'm running xymon client 4.2.2 on a NAS (arm based) running linux, i compiled successfully xymon for running on it. almost all is perfectly running.
I can't get memory tests, when I do the following :
mkdir /usr/local/xymon/client/test
BBTMP=/usr/local/xymon/client/test
MACHINEDOTS=test
Then :
[xymon (at) nassounet test]$nohup sh -c "vmstat 300 2 1>$BBTMP/hobbit_vmstat.$MACHINEDOTS.$$ 2>&1; mv $BBTMP/hobbit_vmstat.$MACHINEDOTS.$$ $BBTMP/hobbit_vmstat.$MACHINEDOTS" </dev/null >/dev/null 2>&1 &
sleep 5
if test -f $BBTMP/hobbit_vmstat.$MACHINEDOTS; then echo "[vmstat]"; cat $BBTMP/hobbit_vmstat.$MACHINEDOTS; rm -f $BBTMP/hobbit_vmstat.$MACHINEDOTS; fi

A file is created, and contains the following :
[xymon (at) nassounet client]$ cat test/hobbit_vmstat.test.8579
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 1 0 10880 3052 11592 130480 0 0 2 0 4 4 5 4 92 0

So everythin seems running fine, but I can't get memory test results on my xymon server.
Could someone help me with it ?

Regards,
Damien