Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by vinoth.ree (Monsignor)
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 contemplating the Monastery: (5)
As of 2016-05-31 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?