Just another Perl shrine | |
PerlMonks |
(Vortacist) Re: Re: Re: monitor.plby Vortacist (Pilgrim) |
on Jun 07, 2001 at 06:30 UTC ( [id://86457]=note: print w/replies, xml ) | Need Help?? |
Well, I made sure to right-click and save the code that way (last time I had clicked the d/l link and pasted the code into emacs, which generally works) and despite removing the ^M's, no ^O appeared. So I added it in myself, but then when I tried running monitor, I had this problem:
Illegal division by zero at monitor.pl line 138. That line is in drawvals, and it's: $swapUsage = $values{useSwap}/$values{totSwap})*100; Not quite sure what's going on there. Is a value for totSwap not being added to %values, perhaps?
In Section
Code Catacombs
|
|