Script to report jobs that are executing for more than 12 hr
Posted: 27 Jan 2014 10:00
Hi All,
I want write a script that should report me all the jobs that are running over 12 hours. I started it using "ctmpsm -listall |grep executing"
but it lists all the jobs that are currently executing. How can I filter the list of jobs running over 12 hours out of this list ?
Please help. Thanks in advance..
I want write a script that should report me all the jobs that are running over 12 hours. I started it using "ctmpsm -listall |grep executing"
but it lists all the jobs that are currently executing. How can I filter the list of jobs running over 12 hours out of this list ?
Please help. Thanks in advance..