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.
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.
|
---|
In Section
Seekers of Perl Wisdom