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

@@ -11,11 +11,11 @@ source: https://github.com/tldr-pages/tldr.git
- Register a new trigger. Execute the specified program when the specified event occurs:
`strigger --set --{{primary_database_failure|primary_slurmdbd_failure|primary_slurmctld_acct_buffer_full|primary_slurmctld_failure|...}} --program={{path/to/executable}}`
`strigger --set --{{primary_database_failure|primary_slurmdbd_failure|primary_slurmctld_acct_buffer_full|primary_slurmctld_failure|...}} {{[-p|--program]}} {{path/to/executable}}`
- Execute the specified program when the specified job terminated:
`strigger --set --jobid={{job_id}} --fini --program="{{path/to/executable}} {{argument1 argument2 ...}}"`
`strigger --set {{[-j|--jobid]}} {{job_id}} {{[-f|--fini]}} {{[-p|--program]}} "{{path/to/executable}} {{argument1 argument2 ...}}"`
- View active triggers:
@@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git
- View active triggers regarding the specified job:
`strigger --get --jobid={{job_id}}`
`strigger --get {{[-j|--jobid]}} {{job_id}}`
- Clear the specified trigger: