Loris, What if you did the following with a large top count?
$ sreport user top start=2017-07-24 end=2017-07-24 topcount=10 -T mem I presume R has a "groupby" function similar to Pandas. - Barry On Tue, Jul 25, 2017 at 4:02 AM, Loris Bennett <[email protected]> wrote: > > Hi, > > I can do the following: > > $ sreport job sizesbyaccount -T mem -t hours start=2017-07-24 > end=2017-07-24 grouping=18,42,90 > ------------------------------------------------------------ > -------------------- > Job Sizes 2017-07-24T00:00:00 - 2017-07-24T00:59:59 (3600 secs) > TRES type is mem > Time reported in Hours > ------------------------------------------------------------ > -------------------- > Cluster Account 0-17 TRES 18-41 TRES 42-89 TRES >= 90 > TRES % of cluster > --------- --------- ------------- ------------- ------------- > ------------- ------------ > cluster dept01 1281631 19200 122880 > 0 58.30% > cluster dept02 70000 0 0 > 0 2.87% > cluster dept03 849353 0 0 > 0 34.78% > cluster dept04 88752 0 0 > 0 3.63% > cluster dept05 10240 0 0 > 0 0.42% > > However I'd really just like to have the sums for the various TRES > groups over all departments (and then compare this with the values for > other time periods). > > I'm going to read the data into R, so I can do the roll-up there, but I > wondered whether I can get the information directly from Slurm. > > Cheers, > > Loris > > -- > Dr. Loris Bennett (Mr.) > ZEDAT, Freie Universität Berlin Email [email protected] > -- Barry E Moore II, PhD E-mail: [email protected] Assistant Research Professor Center for Simulation and Modeling University of Pittsburgh Pittsburgh, PA 15260
