Re: Help Debugging Kshell Script???

2004-08-08 Thread David Fleck
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

Re: Help Debugging Kshell Script???

2004-08-08 Thread Hakim Z. Singhji
-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

Re: Help Debugging Kshell Script???

2004-08-08 Thread David Fleck
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

Re: Help Debugging Kshell Script???

2004-08-08 Thread horio shoichi
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 EOF scale=4 ($SW_USED / $SW_TOTAL) * 100 EOF ) PERCENT_FREE=$(bc EOF scale=4 ($SW_FREE

Re: Help Debugging Kshell Script???

2004-08-07 Thread Hakim Z. Singhji
-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

Help Debugging KShell Script???

2004-08-06 Thread Hakim Z. Singhji
-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

Help Debugging Kshell Script???

2004-08-06 Thread Hakim Z. Singhji
-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

Re: Help Debugging Kshell Script???

2004-08-06 Thread David Fleck
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