On Jan 10, 2024, at 19:39, Drucker, Daniel <DDRUCKER@MCLEAN.HARVARD.EDU> wrote:
What am I misunderstanding about how sacct filtering works here? I would have expected the second command to show the exact same results as the first.
[root@mickey ddrucker]# sacct --starttime $(date -d "7 days ago" +"%Y-%m-%d") -X --format JobID,JobName,State,Elapsed --name zshJobID JobName State Elapsed------------ ---------- ---------- ----------257713 zsh COMPLETED 00:01:02257714 zsh COMPLETED 00:04:01257715 zsh COMPLETED 00:03:01257716 zsh COMPLETED 00:03:01
[root@mickey ddrucker]# sacct --starttime $(date -d "7 days ago" +"%Y-%m-%d") -X --format JobID,JobName,State,Elapsed --name zsh --state COMPLETEDJobID JobName State Elapsed------------ ---------- ---------- ----------
[root@mickey ddrucker]# sinfo --versionslurm 21.08.8-2
--
Daniel M. Drucker, Ph.D.
Director of IT, MGB Imaging at BelmontMcLean Hospital, a Harvard Medical School Affiliate
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline .
Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.