Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Giving status of a file..

by jreades (Friar)
on Apr 15, 2002 at 18:42 UTC ( #159290=note: print w/ replies, xml ) Need Help??


in reply to Giving status of a file..

Is there any reason you wouldn't want to do this:

my @processes = (); open (PROCESSES, "ps -fu $user|") or die ("Couldn't open process list: + $!"); while ($process = <PROCESSES>) { chomp($process); my @process = split(/\s+/, $process, 8); push @processes, \@process; } close PROCESSES;

Just curious


Comment on Re: Giving status of a file..
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2014-07-28 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (200 votes), past polls