Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2016-12-03 14:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (56 votes). Check out past polls.