Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2004 07:40:16 -0500 (CDT)
From:      David Fleck <david.fleck@mchsi.com>
To:        "Hakim Z. Singhji" <hakim.singhji@earthlink.net>
Cc:        questions@freebsd.org
Subject:   Re: Help Debugging Kshell Script???
Message-ID:  <20040808072043.S10021@grond.sourballs.org>
In-Reply-To: <4115842C.2090907@earthlink.net>
References:  <411318A8.4080100@earthlink.net> <20040806161222.O275@grond.sourballs.org> <4115842C.2090907@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Unfortunately, I think the script you attached has been mangled in some 
way or other; it appears to be missing the end of the 'paging_mon' 
function, as well as whatever code invokes that function (and the swap_mon 
function as well).  If I try to run it, I get:

dcf>$ ./swap_mon.ksh
\nSwap Space Report for grond.sourballs.org\n
Sun Aug  8 07:31:26 CDT 2004
./swap_mon.ksh: line 85: funtion: command not found
./swap_mon.ksh: line 135: syntax error: unexpected end of file

if I fix the typo (funtion -> function) I just get the 'unexpected EOF' 
error.

Both my 4.9 and 5.2.1 systems have /usr/bin/bc, so I assume it is part 
of the base install.  However, neither system has 'lsps', which appears 
to be an AIX command.


--
David Fleck
david.fleck@mchsi.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040808072043.S10021>