On Sun, 08 Aug 2004 11:37:01 -0400
"Hakim Z. Singhji" <[EMAIL PROTECTED]> wrote:
> do
> # Use the bc utility in a here document to calculate the percentage of
> # free and used swap space
>
> PERCENT_USED=$(bc < scale=4
> ($SW_USED / $SW_TOTAL) * 100
> EOF
> )
>
> PERCENT_FREE=$(bc < scale=4
> (
On Sun, 8 Aug 2004, Hakim Z. Singhji wrote:
I appologize you are correct the script I sent you is a version of the
same script that I am working on for an AIX machine. Attached is an
unencrypted version of the script for System V: BSD/Linux machines.
Now I get this error:
Swap Space Report for gro
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
I appologize you are correct the script I sent you is a version of the
same script that I am working on for an AIX machine. Attached is an
unencrypted version of the script for System V: BSD/Linux machines.
This is the error it is giving me and
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi David,
Your absolutely right, I've been encrypting everything these days and I
didn't really think about what it would be like to help me and have to
jump through hoops just to see the file... Thanks.
David Fleck wrote:
| On Fri, 6 Aug 2004, Hakim Z.
On Fri, 6 Aug 2004, Hakim Z. Singhji wrote:
You must import my public key to open the attached file.
Why? Why not just attach the plain file?
--
David Fleck
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/fr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Everyone,
I need some help with this shell script. I originally wrote it in ksh
and I not really familiar with bash. However, that is what I'm using at
home now and I don't have ksh on any of my machines... Could you folks
help me convert this s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Everyone,
I need some help with this shell script. I originally wrote it in ksh
and I not really familiar with bash. However, that is what I'm using at
home now and I don't have ksh on any of my machines... Could you folks
help me convert this s