Hello all.

I'm going to change (a lot!) our cluster config, including accounting
weights.
Since keeping historic data would cause a mess, how can I reset usage
for all accounts/users ?

I already tried the obvious:
# sacctmgr modify account set rawusage=0
You didn't set any conditions with 'WHERE'.
Are you sure you want to continue? (You have 30 seconds to decide)
(N/y): y
sacctmgr: error: An association name is required to remove usage

Should I iterate all the accounts or is there a better/faster method?

TIA!

-- 
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