Re: [slurm-users] Getting current memory size of a job

2019-04-10 Thread Mahmood Naderan
Hi again May I know why MaxRSS column is empty? Also, which option should I use to show the name of the second line. What is that? # sacct -j 827 --format="CPUTime,MaxRSS,Elapsed" CPUTime MaxRSSElapsed -- -- -- 20:14:16 01:26:44 07:13:40

Re: [slurm-users] Getting current memory size of a job

2019-04-07 Thread Chris Samuel
On Sunday, 7 April 2019 10:13:49 AM PDT Mahmood Naderan wrote: > The output of sstat shows the following error > > # squeue -j 821 > JOBID PARTITION NAME USER ST TIME NODES > NODELIST(REASON) 821 EMERALD g09-test shakerza R 21:07:18 1 > compute-0-0 # sstat -j

Re: [slurm-users] Getting current memory size of a job

2019-04-07 Thread Mahmood Naderan
Hi again and sorry for the delay >When I was at Swinburne we asked for this as an enhancement here: >https://bugs.schedmd.com/show_bug.cgi?id=4966 The output of sstat shows the following error # squeue -j 821 JOBID PARTITION

Re: [slurm-users] Getting current memory size of a job

2019-04-01 Thread Chris Samuel
On Friday, 29 March 2019 8:01:53 AM PDT Mahmood Naderan wrote: > Is there any way to view current memory allocation of a running job? With > 'sstat' I can get only MAX values, including MaxVMSize, MaxRSS. When I was at Swinburne we asked for this as an enhancement here: https://bugs.schedmd.com/

Re: [slurm-users] Getting current memory size of a job

2019-04-01 Thread Jeffrey Frey
If you're on Linux and using Slurm cgroups, your job processes should be contained in a memory cgroup. The /proc//cgroup file indicates to which cgroups a process is assigned, so: $ srun [...] /bin/bash -c "grep memory: /proc/\$\$/cgroup | sed 's%^[0-9]*:memory:%/sys/fs/cgroup/memory%'" /sys/

Re: [slurm-users] Getting current memory size of a job

2019-03-31 Thread Bjørn-Helge Mevik
If the job is alone on its node(s), you can use "scontrol show node " and look at "RealMemory minus FreeMem". -- B/H signature.asc Description: PGP signature

Re: [slurm-users] Getting current memory size of a job

2019-03-31 Thread Sam Hawarden
ect: [slurm-users] Getting current memory size of a job Hi, Is there any way to view current memory allocation of a running job? With 'sstat' I can get only MAX values, including MaxVMSize, MaxRSS. Any idea? Regards, Mahmood

[slurm-users] Getting current memory size of a job

2019-03-29 Thread Mahmood Naderan
Hi, Is there any way to view current memory allocation of a running job? With 'sstat' I can get only MAX values, including MaxVMSize, MaxRSS. Any idea? Regards, Mahmood