Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: My First Submission to CPAN (Parallel::ForkControl)

by staunch (Pilgrim)
on Dec 16, 2003 at 15:26 UTC ( [id://315070]=note: print w/replies, xml ) Need Help??


in reply to My First Submission to CPAN (Parallel::ForkControl)

Running /bin/uptime may be a more portable way of determining load average.
But in case you hadn't seen it: Under Linux there is a proc pseudo file /proc/loadavg that you can read for this purpose.


man 5 proc
loadavg
The load average numbers give the number of jobs in the run queue (state R) or waiting for disk I/O (state D) averaged over 1, 5, and 15 minutes. They are the same as the load average numbers given by uptime(1) and other programs.


Staunch

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-28 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found