Something like
sacctmgr show user withassoc -p user=USERNAME --noheader | awk -F'|' '{ print 

should give you what you want.

On Wed, 12 Oct 2016, Eggleston, Nicholas J. wrote:

I?ve got kind of a weird question for you all. I?m in a place where I need to 
know a list of all the partitions a given user can submit to while not being 
signed in as that user. It?d be great if there was a `scontrol show
user partitions` command or something like that but from all the documentation 
I?ve read the only way I can see that is to have the user sign in and have them 
run sinfo. Am I missing anything or does this sort of
functionality not actually exist?


Nick Eggleston

Missouri S&T

IT Research Support Services

Tom Payerle
4254 Stadium Dr                         (301) 405-6135
University of Maryland
College Park, MD 20742-4111

Reply via email to