mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-06 02:55:40 +02:00
sacct: update page (#11482)
This commit is contained in:
parent
4547f49a08
commit
923e924e06
1 changed files with 9 additions and 1 deletions
|
@ -17,4 +17,12 @@
|
||||||
|
|
||||||
- Display elapsed time, job name, number of requested CPUs, and memory requested of a job:
|
- 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`
|
||||||
|
|
Loading…
Add table
Reference in a new issue