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

Re: Running 'top' command (of linux) for few minutes and then come out of system command (of perl)

by vinoth.ree (Parson)
on Mar 19, 2014 at 09:05 UTC ( #1078910=note: print w/ replies, xml ) Need Help??


in reply to Running 'top' command (of linux) for few minutes and then come out of system command (of perl)

You can use IPC::Run's run method instead of system. and set a timeout.


All is well


Comment on Re: Running 'top' command (of linux) for few minutes and then come out of system command (of perl)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-09-16 23:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (53 votes), past polls