BookmarkSubscribeRSS Feed
Babloo
Rhodochrosite | Level 12
I'm in Grid environment and I would like to find the list of jobs which was ran by user in last one month?

In particular I want to find how many jobs were ran by user on last one month and how many were succeed/failed.

Appreciate if someone of you shed some light on this.
1 REPLY 1
AndreasWindisch
Obsidian | Level 7

Hey,

 

you can use command 'bacct -u <username>' to see how many exited Jobs there are.

 

Another way is to search at the accounting files. Under your platform directory '../lsf/work/<clusterXX>/logdir' you should normaly find some files 'lsb.acct'. Maybe they have a numeric extension.

These files hold a record per Job, so you can search for the user you are interested in.

 

I process these files with SAS so we have a history of the Grid jobs.

 

Greetings
Andreas

 

bacct - command reference
https://www.ibm.com/support/knowledgecenter/en/SSETD4_9.1.3/lsf_command_ref/bacct.1.html

 

lsb.acct - file reference
https://www.ibm.com/support/knowledgecenter/en/SSETD4_9.1.3/lsf_config_ref/lsb.acct.5.html

 

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
  • 1 reply
  • 1238 views
  • 0 likes
  • 2 in conversation