Update cheatsheets

This commit is contained in:
ivuorinen
2025-04-20 00:20:58 +00:00
parent 846fc1563d
commit a360d4dc45
153 changed files with 493 additions and 434 deletions

View File

@@ -14,20 +14,20 @@ source: https://github.com/tldr-pages/tldr.git
- Display job ID, job state, job exit code for recent jobs:
`sacct --brief`
`sacct {{[-b|--brief]}}`
- Display the allocations of a job:
`sacct --jobs {{job_id}} --allocations`
`sacct {{[-j|--jobs]}} {{job_id}} {{[-X|--allocations]}}`
- 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 {{[-j|--jobs]}} {{job_id}} {{[-o|--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')`
`sacct {{[-S|--starttime]}} $(date {{[-d|--date]}} "1 week ago" +'%F')`
- Output a larger number of characters for an attribute:
`sacct --format=JobID,JobName%100`
`sacct {{[-o|--format]}} JobID,JobName%100`