Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Capturing System Output

by ignatz (Vicar)
on Mar 04, 2003 at 16:17 UTC ( #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? | Other CB clients
Other Users?
Others meditating upon the Monastery: (None)
    As of 2021-10-16 07:11 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      My first memorable Perl project was:







      Results (69 votes). Check out past polls.

      Notices?