[slurm-users] How can I get complete field values with without specify the length
xiaojinghu93 at 163.com
xiaojinghu93 at 163.com
Tue Mar 9 07:02:55 UTC 2021
Hello, ole,
Thank you for your reply. I forgot the -p option. I really works. Problem solved!
Regards,
Xiaojing
> On Mar 9, 2021, at 2:56 PM, Ole Holm Nielsen <Ole.H.Nielsen at fysik.dtu.dk> wrote:
>
> On 3/9/21 5:06 AM, xiaojinghu93 at 163.com wrote:
>> Hi, guys
>> I am doing a parsing job on slurm fields. Sometimes when one field is too long, slum will limit the length with a “+”. But I prefer to get the complete value of that field. Do you know how can I achieve that? I do not want to specify the length either coz it still cannot guarantee that you get the complete string.
>
> You did not give examples of commands that you use. For the sacct command, for example, you get complete output with -p or -P:
>
> -p, --parsable
> output will be '|' delimited with a '|' at the end
> -P, --parsable2
> output will be '|' delimited without a '|' at the end
>
> /Ole
More information about the slurm-users
mailing list