Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1078910]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-24 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found