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 NODELIST(REASON) 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).

I wonder which version you have of awk/gawk and bash?
GNU Awk 4.2.1, GNU bash, versione 5.0.3(1)-release .

The job timings are printed by pestat if you use the -S, -E and -T options.  See help info by "pestat -h".
I'll have another look on monday for further testing (I started quite early this morning :) ).
Tks a lot for now.

--
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786

Reply via email to