Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: (jeffa) Re: array newbie...(sigh)

by PrakashK (Pilgrim)
on Mar 15, 2002 at 20:03 UTC ( #152071=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach my $pation (@occupation) {
       `ps -ef|grep -i $pation|grep -v grep|wc -l`;
    }
    
  2. or download this
    my @programs = qw(netman jobman mailman batchman writer);
    my @all_procs = `ps -ef`;
    ...
    
    print "$_ $counts{$_}," for keys %counts;
    print "\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2015-04-19 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who makes your decisions?







    Results (359 votes), past polls