I need the command to kill processes that have been running since at least 5 minutes for a given process.
I will have to run that command every five minutes or so.
Thanks a million !
(system is Centos5)
bashlinux
I need the command to kill processes that have been running since at least 5 minutes for a given process.
I will have to run that command every five minutes or so.
Thanks a million !
(system is Centos5)
Best Answer
where "procname" is a process name and 300 is running time threshold