Hi, I would rather not install a database, so I am using a file to store slurm job and accounting information. I am looking for a command line call that will always return the current state of a job. For some reason scontrol show job, only shows information on jobs that were run recently (minutes ago). After some number of minutes, the job info disappears.
The sacct command holds the history of the job, but says that my job is in a "pending" state even though squeue says it is running. My test job only runs for 20 seconds, is there some sort of minimum time a job needs to run before it is marked as "RUNNING" in sacct? I just want to be able to run a single command and have it return the current state of my job, regardless of when that job was run. # ACCOUNTING JobAcctGatherType=jobacct_gather/linux JobAcctGatherFrequency=30 JobCompType=jobcomp/filetxt # AccountingStorageType=accounting_storage/filetxt Thanks, Mark Monroe | Software Engineer | ARUP Lab<http://www.aruplab.com> | Research & Clinical Informatics and Integration | w. 801.583.2787 ext. 3348 ------------------------------------------------------------------- The information transmitted by this e-mail and any included attachments are from ARUP Laboratories and are intended only for the recipient. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws, or protected health information and is intended only for the use of the recipient. Unauthorized forwarding, printing, copying, distributing, or use of such information is strictly prohibited and may be unlawful. If you are not the intended recipient, please promptly delete this e-mail and notify the sender of the delivery error or you may call ARUP Laboratories Compliance Hot Line in Salt Lake City, Utah USA at (+1 (800) 522-2787 ext. 2100
