darwin client: Expected string (Capacity and Mounted) not found in df output header

Dominique Frise Dominique.Frise at unil.ch
Thu Apr 13 17:35:48 CEST 2006


Hi,

Darwin clients (Mac OSX 10.3.9) report errors for df output: "Expected string 
(Capacity and Mounted) not found in df output header"

$ uname -a
Darwin zelda.unil.ch 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 
2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc


df option -T is not supported under 10.3.x: use -t instead.


----extract of client data-----
client zelda.darwin darwin
[date]
Thu Apr 13 17:08:42 CEST 2006
[uname]
Darwin zelda.unil.ch 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 
2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc
[uptime]
17:08  up 15 days,  6:28, 2 users, load averages: 0.19 0.17 0.14
[who]
admin    console  Mar 29 10:41
bb       ttyp1    Apr 13 17:08 	(iris.unil.ch)
[df]
[meminfo]
Mach Virtual Memory Statistics: (page size of 4096 bytes)
Pages free:                   168406.
Pages active:                  43999.
Pages inactive:                24801.
Pages wired down:              24938.
"Translation faults":      613667922.
Pages copy-on-write:        99055444.
Pages zero filled:         125346054.
Pages reactivated:             26786.
Pageins:                     2968388.
Pageouts:                      25192.
Object cache: 15975479 hits of 19124352 lookups (83% hit rate)
----------------------------------
--------hobbitclient-darwin.sh----
#!/bin/sh
#
#----------------------------------------------------------------------------#
# Darwin (Mac OS X) client for Hobbit                                        #
#                                                                            #
# Copyright (C) 2005 Henrik Storner <henrik at hswn.dk>                         #
#                                                                            #
# This program is released under the GNU General Public License (GPL),       #
# version 2. See the file "COPYING" for details.                             #
#                                                                            #
#----------------------------------------------------------------------------#
#
# $Id: hobbitclient-darwin.sh,v 1.9 2006/02/17 13:07:50 henrik Exp $

echo "[date]"
date
echo "[uname]"
uname -a
echo "[uptime]"
uptime
echo "[who]"
who
echo "[df]"
# The sed stuff is to make sure lines are not split into two.
df -H -T nonfs,nullfs,cd9660,procfs,volfs,devfs,fdesc | sed -e '/^[^ 	][^ 	
]*$/{
N
s/[ 	]*\n[ 	]*/ /
}'
echo "[meminfo]"
vm_stat
echo "[ifconfig]"
ifconfig -a
echo "[route]"
netstat -r
echo "[netstat]"
netstat -s
echo "[ps]"
ps -axw
echo "[top]"
top -l 1 -n 20
# logfiles
$BBHOME/bin/logfetch $BBTMP/logfetch.cfg $BBTMP/logfetch.status

exit
-------------------------------


I also noticed that the "memory" column does not show any data.
Normal?


Domininique
University of Lausanne



More information about the Xymon mailing list