sacct -n
returns all job's name trimmed for example" QmefdYEri+
.
[Q] How could I view the complete name of the job, instead of its trimmed version?
--
$ sacct -n
1194 run.sh debug root 1 COMPLETED 0:0
1194.batch batch root 1 COMPLETED 0:0
1195 run_alper+ debug root 1 COMPLETED 0:0
1195.batch batch root 1 COMPLETED 0:0
1196 QmefdYEri+ debug root 1 COMPLETED 0:0
1196.batch batch root 1 COMPLETED 0:0
I use the
scontrol
command when I am interested in one particular jobid as shown below (output of the command taken from here).If you want to use
sacct
, you can modify the number of characters that are displayed for any given field as explained in the documentation:Therefore, you can do something like this:
if you want the
JobName
row to be 30-characters wide.