Systat broke in distribution...

Date: Wed, 14 Jan 1998 14:45:51 -0400 (AST)
From: "David L. Potter" <ab934@chebucto.ns.ca>
To: csuite-tech@chebucto.ns.ca
Precedence: bulk
Return-Path: <csuite-tech-mml-owner@chebucto.ns.ca>

next message in archive
no next message in thread
previous message in archive
Index of Subjects



The distribution $CS_ROOT/lib/systat

calls df thusly:    "df -t 4.2" 

as in...

<snip...>

echo $"Checking disk space, no news is good news..."

df -t 4.2 | gawk '
NR > 1 && $5+0 > 75 {
        print " File system " $6 " is " $5 " full."
        if ($5+0 > 90)
                status++
}

<snip...)

This does not appear to work on Linux (not reporting any file systems.)

I changed/modified/hacked csuite:/var/test/csuite/lib/systat	to... 

df | gawk '

and systat on csuite is now (correctly) reporting disk usage for 
/var and /usr.

/ and /jaz are less than 75%...

I've made _no_ change to csuite:/var/test/csuite/src/lib/systat and _no_ 
change in the distribution.


david potter

next message in archive
no next message in thread
previous message in archive
Index of Subjects