in reply to Re: Some help with my project:
in thread Some help with my project:
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 Section
Seekers of Perl Wisdom