[slurm-users] Make sacct show short job state codes?
    Ole Holm Nielsen 
    Ole.H.Nielsen at fysik.dtu.dk
       
    Thu Mar 24 13:31:21 UTC 2022
    
    
  
Hi Chip,
Use the sacct -p or --parsable option to get the complete output delimited 
by |
/Ole
On 3/24/22 14:12, Chip Seraphine wrote:
> I’m trying to shave a few columns off the output of some sacct output, and while it will happily accept the short codes (e.g. CA instead of CANCELLED) I can’t find a way to get it to report them.  Shaving down the columns using %N in –format just results in a truncated version of the long code, which is often not the same thing.
> 
> Does anyone know if/how this can be done?
    
    
More information about the slurm-users
mailing list