Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 chanting in the Monastery: (3)
As of 2014-08-31 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls