Ubuntu系统slurm scancel --help
The "scancel" command in the SLURM workload manager is used to cancel or signal job steps or entire job allocations. Here is the command usage and options explained:
Usage: scancel [OPTIONS] [JOBID]
Options: -h, --help show this help message and exit -b, --batch submit batch jobs -i, --immediate cancel immediately -u USER, --user=USER cancel jobs of the specified user -s SIGNAL, --signal=SIGNAL send a signal to the job steps -n NAME, --name=NAME cancel jobs with the specified name -a, --all cancel all jobs -t TIME, --time=TIME cancel jobs older than the specified time -p PARTITION, --partition=PARTITION cancel jobs in the specified partition -q, --quiet suppress informational messages -v, --verbose display additional diagnostic information
The JOBID argument can be a single job ID or a range of job IDs. It can also be a job name or a user name.
Some examples of scancel usage:
-
Cancel a specific job with ID 12345: scancel 12345
-
Cancel all jobs of a specific user: scancel -u username
-
Cancel all jobs in a specific partition: scancel -p partition_name
-
Cancel all jobs older than 1 hour: scancel -t 1:00:00
-
Cancel all jobs with a specific name: scancel -n job_name
These are just a few examples of how to use the scancel command. For more details and options, you can refer to the SLURM documentation or use "scancel --help" command in your Ubuntu system
原文地址: https://www.cveoy.top/t/topic/hHb3 著作权归作者所有。请勿转载和采集!