Expand columns to see full jobname in Slurm

前端 未结 1 837
醉梦人生
醉梦人生 2021-02-05 08:34

Is it possible to expand the number of characters used in the JobName column of the command sacct in SLURM?

For example, I currently have:

相关标签:
1条回答
  • 2021-02-05 09:05

    You should use the format option, with:

    sacct --helpformat
    

    you'll see the parameters to show, for instance:

    sacct --format="JobID,JobName%30"
    

    will print the job id and the name up to 30 characters:

           JobID                        JobName
    ------------ ------------------------------
    19009                                  bash
    19010                             launch.sh
    19010.0                     hydra_pmi_proxy
    19010.1                     hydra_pmi_proxy
    

    Now, you can to customize your own output.

    0 讨论(0)
提交回复
热议问题