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 (Monsignor)
on Apr 11, 2008 at 02:37 UTC ( #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? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2022-05-17 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (65 votes). Check out past polls.

    Notices?