Hello, Mevik,
I tried the -p option and it worked.
Thank you for your reply!

Regards,
Xiaojing 

> On Mar 9, 2021, at 3:19 PM, Bjørn-Helge Mevik <b.h.me...@usit.uio.no> wrote:
> 
> "xiaojingh...@163.com" <xiaojingh...@163.com> writes:
> 
>> I am doing a parsing job on slurm fields. Sometimes when one field is
>> too long, slum will limit the length with a “+”.
> 
> You don't say which slurm command you are trying to parse the output
> from, but if it is sacctmgr, it has an option --parsable2(*)
> specifically designed for parsing output, and which does not truncate
> long field values.
> 
> (*) There is also --parsable, but that puts an extra "|" at the end of
> the line, so I prefer --parsable2.
> 
> -- 
> Cheers,
> Bjørn-Helge Mevik, dr. scient,
> Department for Research Computing, University of Oslo
> 



Reply via email to