BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
G9
Calcite | Level 5 G9
Calcite | Level 5

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?

1 ACCEPTED SOLUTION

Accepted Solutions
gwootton
SAS Super FREQ
By "all running processes" are you referring specifically to SAS jobs running on an LSF Grid?

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

View solution in original post

2 REPLIES 2
gwootton
SAS Super FREQ
By "all running processes" are you referring specifically to SAS jobs running on an LSF Grid?

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
CarmineVerrell
SAS Employee

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) 

 

 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1358 views
  • 2 likes
  • 3 in conversation