That means ($avail+$used)=0Due to precedence, it actually means $avail is zero. The OP probably meant to write
my $monit_percentual = ( $avail / ($avail+$used) ) * 100 ;
Dave.
In reply to Re^2: Some help with my project:
by dave_the_m
in thread Some help with my project:
by 0uts1de
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |