Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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
Node Status?
node history
Node Type: note [id://240402]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2017-07-23 02:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (343 votes). Check out past polls.