my $monit_percentual = ( $avail / $avail+$used ) * 100 ;
UPDATE (dave_the_m): That means $avail is probably 0 ($avail+$used)=0 (probably both variables are 0). Tip #2 from the Basic debugging checklist: print
Also:
In reply to Re: Some help with my project:
by toolic
in thread Some help with my project:
by 0uts1de
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |