Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Measuring MySQL resources consumption on Linux

by kyle (Abbot)
on Dec 13, 2007 at 22:27 UTC ( #656931=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #
    # calculate the average, avoiding any division by zero traps
    #
    my $avg_cpu_load = $total_cpu_load ? $total_cpu_load / $active_pid_num
    + : 0 ;
    
  2. or download this
    my $avg_cpu_load = $active_pid_num ? $total_cpu_load / $active_pid_num
    + : 0;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (11)
As of 2016-02-10 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (354 votes), past polls