[slurm-users] maxRSS and aveRSS

2021-03-09 Thread xiaojingh...@163.com
Hi guys, I would like to calculate the CPU efficiency and Memory efficiency of slurm jobs. I am having difficulty calculating the real “memory” a job use. According to slurm, “maxRSS” means "Maximum resident set size of all tasks in job”. If so, how can I get the memory used by a single job?

[slurm-users] About seff command

2021-03-08 Thread xiaojingh...@163.com
Hi guys, I would like to calculate the CPU efficiency and Memory efficiency of slurm jobs. I know that the “seff” command is for this. I’d like to do the same job on my own. When I was studying the source code of the seff command, I saw the code below: my $ncpus = 1; if (exists $job->{'alloc_cp

Re: [slurm-users] How can I get complete field values with without specify the length

2021-03-08 Thread xiaojingh...@163.com
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 wrote: > > "xiaojingh...@163.com" writes: > >> I am doing a parsing job on slurm fields. Sometimes when one field is

Re: [slurm-users] How can I get complete field values with without specify the length

2021-03-08 Thread xiaojingh...@163.com
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 > wrote: > > On 3/9/21 5:06 AM, xiaojingh...@163.com wrote: >> Hi, guys >> I am doing a parsing job on slur

[slurm-users] How can I get complete field values with without specify the length

2021-03-08 Thread xiaojingh...@163.com
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

Re: [slurm-users] About sacct --format: how can I get info about the fields

2021-03-05 Thread xiaojingh...@163.com
;s what I do whenever I parse sacct, as I did not find a detailed > description anywhere. The manpage is quite incomplete in that regard. > > Best, > Marcus > > On 05.03.21 03:02, xiaojingh...@163.com wrote: >> Hello, slurm users and Brian, >> Thanks a lot for your r

Re: [slurm-users] About sacct --format: how can I get info about the fields

2021-03-04 Thread xiaojingh...@163.com
Hello, slurm users and Brian, Thanks a lot for your reply. The thing is actually I know the fields. I just need to know detailed info about them. For example, you may get an “Unknown” for some time fields. And the maxVMSize field is an empty string except for some job steps. I need to know the

[slurm-users] About sacct --format: how can I get info about the fields

2021-03-03 Thread xiaojingh...@163.com
Hello, guys, I am doing a parsing job on the output of the sacct command and I know that the —format option can specify the fields you'd like to be outputted. The difficulty I am facing is that I am in lack of info about the fields. For example, what are the possible values for those fields? Wha