|laziness, impatience, and hubris|
Script for Killing Process of Long Running Time in Linux/Unixby monkfan (Curate)
|on Oct 25, 2007 at 12:24 UTC||Need Help??|
monkfan has asked for the
wisdom of the Perl Monks concerning the following question:
Since some of the process spawned by particular user/pid takes too long time to run. I have this particular task I want to achieve with Perl:
I intend to do a cron job for this Perl script.
Is there any simple way to do that with Perl? My main concern is No.1 and 2. Is there any CPAN module that get that information? For killing a process, maybe I can just use Perl's 'system' command.