Fw: [hobbit] hobbitclient diskcapacity
Henrik Stoerner
henrik at hswn.dk
Wed Aug 17 07:47:36 CEST 2005
On Wed, Aug 17, 2005 at 06:28:46AM +0200, lars ebeling wrote:
> below is an extract from the clientdata:
>
> [who]
> root pts/ta Aug 12 10:10
> root pts/tb Aug 16 05:48
> [df]
> [vmstat]
> procs memory page faults cpu
> r b w avm free re at pi po fr de sr in sy cs us sy id
> 2 0 0 25363 11390 24 10 0 0 0 0 0 111 1013 73 8 3 89
> 3 0 0 24585 11168 28 4 0 0 0 0 0 110 1553 66 3 1 96
> Filesystem 1024-blocks Used Available Capacity Mounted on
> /dev/vg01/lvol11 8714948 3292890 5422058 38% /dunihd99
This is horribly messed up. Could you look at the hobbitclient-hp-ux.sh
script running on that client ? Mine has
echo "[date]"
date
echo "[uname]"
uname -a
echo "[uptime]"
uptime
echo "[who]"
who
echo "[df]"
df -Pk
echo "[memory]"
$BBHOME/bin/hpux-meminfo
echo "[swapinfo]"
/usr/sbin/swapinfo -tm
echo "[netstat]"
netstat -s
echo "[ps]"
ps -ef
# Cits Bogajewski 03-08-2005: redirect of top fails
top -d 1 -f $BBHOME/tmp/top.OUT
cat $BBHOME/tmp/top.OUT
rm $BBHOME/tmp/top.OUT
# vmstat
nohup sh -c "vmstat 300 2 1>$BBTMP/hobbit_vmstat.$$ 2>&1; mv $BBTMP/hobbit_vmstat.$$ $BBTMP/hobbit_vmstat" </dev/null >/dev/null 2>&1 &
sleep 5
if test -f $BBTMP/hobbit_vmstat; then echo "[vmstat]"; cat $BBTMP/hobbit_vmstat; rm -f $BBTMP/hobbit_vmstat; fi
and unless there is some exceptional breakage in the HP-UX shell, I
cannot see how that can end up producing the output you show.
Regards,
Henrik
More information about the Xymon
mailing list