#! /bin/sh ### ### DISKSPACE.SH ### (c) 2003 Software Poetry ### http://www.softwarepoetry.com/webob ## ### Run to build an XML fragment for disk space on a system. Could ### easily be altered to accept a host and run under rsh ### df -k | awk 'BEGIN { print "" } ($1 != "Filesystem") { print "" $6 "" $4 "" } END { print ("") }'