Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Some help with my project:

by dave_the_m (Monsignor)
on Jan 16, 2017 at 19:26 UTC ( [id://1179692]=note: print w/replies, xml ) Need Help??


in reply to Re: Some help with my project:
in thread Some help with my project:

That means ($avail+$used)=0
Due to precedence, it actually means $avail is zero. The OP probably meant to write
my $monit_percentual = ( $avail / ($avail+$used) ) * 100 ;

Dave.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1179692]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-28 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found