Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Capturing System Output

by ignatz (Vicar)
on Mar 04, 2003 at 16:17 UTC ( [id://240402]=note: print w/replies, xml ) Need Help??


in reply to Capturing System Output

#!/usr/local/bin/perl use strict; use warnings; my @foo = `ps -deaf | grep httpd | grep -v grep | wc -l`; foreach (@foo) { print; }
()-()
 \"/
  `

Replies are listed 'Best First'.
Re: Re: Capturing System Output
by Anonymous Monk on Mar 04, 2003 at 16:19 UTC
    Ah cool! cheers for that guys! ;-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-24 00:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found