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?? |
You can use IPC::Run's run method instead of system. and set a timeout. All is well
In Section
Seekers of Perl Wisdom
|
|