[slurm-users] 4 sockets but "

Ole Holm Nielsen Ole.H.Nielsen at fysik.dtu.dk
Fri Jul 23 11:48:27 UTC 2021

On 7/23/21 1:24 PM, Diego Zuccato wrote:
> Il 23/07/2021 13:15, Ole Holm Nielsen ha scritto:
>>> But it's not whowing jobIDs nor users :(
>> That is really strange!  The pestat obtains username and jobid from the 
>> squeue command.  Do you get this information from "squeue -t running"?
> $ squeue -t running
>               JOBID PARTITION     NAME     USER ST       TIME  NODES 
>               34145        m3     bash cinzia.v  R      14:01      1 
> str957-mtx-21
>               34140        b5 laure.ca STUDENTI  R    1:00:10      1 
> str957-bl0-17
> [...]
> One of the problems I said earlier: we're mandated to use Active Directory 
> for auth, and there are 2 domains. Students are in domain STUDENTI that 
> happens to just fill the username column.
> Other tools allow for "parseable" option or format= (so I can enlarge the 
> username column to 40 characters).

The longer fields is the main reason why I switched from -o to -O formats.

I expect (but don't know for sure) that this command should show full 
UserName fields, among other things:

squeue -t RUNNING -h -O 'State: ,JobID: ,JobArrayID: ,UserName: 
,GroupName: ,StartTime: ,EndTime: ,TimeUsed: ,Partition: ,NumNodes: 
,tres-per-node: ,NodeList: ,Name:'

This -O format of course requires a newer version of Slurm than 18.08...


More information about the slurm-users mailing list