- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi All
I need to kill all running processes everyday at a certain time.
Is there an option in Flow manager (in the interface or in the config files) which do it?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Flow Manager is a client application for Process Manager, the scheduling component of the grid. I'm not aware of any function in Flow Manager or Process Manager that would terminate all jobs. Their functions are specific to scheduled flows.
There is an LSF command "bkill" that will terminate a given job or all LSF jobs. Process Manager has a similar jkill command if we are talking only about scheduled flows.
https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=reference-bkill
https://www.ibm.com/docs/en/slpm/10.2.0?topic=commands-jkill
Greg Wootton | Principal Systems Technical Support Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Flow Manager is a client application for Process Manager, the scheduling component of the grid. I'm not aware of any function in Flow Manager or Process Manager that would terminate all jobs. Their functions are specific to scheduled flows.
There is an LSF command "bkill" that will terminate a given job or all LSF jobs. Process Manager has a similar jkill command if we are talking only about scheduled flows.
https://www.ibm.com/docs/en/spectrum-lsf/10.1.0?topic=reference-bkill
https://www.ibm.com/docs/en/slpm/10.2.0?topic=commands-jkill
Greg Wootton | Principal Systems Technical Support Engineer
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
No, there isn't a quick way to kill all jobs. You can kill all jobs by creating a SAS program that kills SAS processes (see link below for Unix server) or use O/S commands/scripts. Please be careful when doing this as you will be killing all jobs, including batch jobs that have been submitted to run overnight.
If you decide to use a SAS program instead of O/S scripts, once you create and test your SAS program then you can deploy that job from within Management console and create a flow and schedule it to run every day.
The SAS Terminator: An Ultimate Killer of Unix Processes (lexjansen.com)