Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2016-06-26 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (330 votes). Check out past polls.