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

Re: Finding Usable Nodes in our Cluster

by jwkrahn (Abbot)
on Apr 11, 2008 at 02:37 UTC ( [id://679611]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $ganglia=`ganglia proc_run`;
    my @results=split(/\n/, $ganglia);
    ...
        push @open, $_ if $_=~m/\s{1,}1\s{1,}$/;
        unshift @open, $_ if $_=~m/\s{1,}0\s{1,}$/;
    }
    
  2. or download this
    foreach ( `ganglia proc_run` )
    {
    ...
        unshift @open, $_ if /\s0\s+$/;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-18 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found