Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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?
[Discipulus]: good morning shmem
[Discipulus]: test for pmcbtk
[Discipulus]: sometimes the client dies for extra content </chatter><span class="error" style="color: #cc0000">Server Error (Error ID 9162
[Discipulus]: the span is considered extra content by the parser
[Corion]: Mhmm - that would be some internal error, but I can't look into that right now as I don't have access to the logs from here ;)
[Discipulus]: ah, but it can be skipped by the client (?)

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2017-07-25 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (365 votes). Check out past polls.