1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-03 21:15:32 +02:00

sacct: update page (#11482)

This commit is contained in:
John Vouvakis Manousakis 2023-11-18 12:40:14 -08:00 committed by GitHub
parent 4547f49a08
commit 923e924e06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,4 +17,12 @@
- Display elapsed time, job name, number of requested CPUs, and memory requested of a job:
`sacct --jobs {{job_id}} --format={{elapsed}},{{jobname}},{{reqcpus}},{{reqmem}}`
`sacct --jobs {{job_id}} --format=Elapsed,JobName,ReqCPUS,ReqMem`
- Display recent jobs that occurred from one week ago up to the present day:
`sacct --starttime=$(date -d "1 week ago" +'%F')`
- Output a larger number of characters for an attribute:
`sacct --format=JobID,JobName%100`