Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
There's more than one way to do things
 
PerlMonks  

Re: Capturing output from a "moving" system call

by saberworks (Curate)
on Sep 24, 2009 at 20:01 UTC ( #797294=note: print w/ replies, xml ) Need Help??


in reply to Capturing output from a "moving" system call

If you just need the info from top, for example, you can just run top in logging mode with a single sample: top -l 1

Most command line tools like top and ping can just do whatever it is then exit, you don't necessarily have to use them in interactive mode.


Comment on Re: Capturing output from a "moving" system call
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-04-19 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (475 votes), past polls