Am 03.04.2013 um 01:24 schrieb Brian McNally:

> We rotate our GE accounting files because in some circumstances they can get 
> very large and cause problems with scheduling. When I run
> 
> qacct -o

NB: You can feed older logfiles into `qacct` with the "-f" option:

$ qacct -o -f <(zcat accounting.0.gz)


> It reports usage, but only based on the most recently rotated accounting 
> file. Is share tree and half life decay information coming from usage out of 
> the accounting file or is there some other database that GE uses for storing 
> this data?

This is stored internally, hence it's important to avoid any auto-deletion of 
the user entries (setting "delete_time" in `qconf -suser <user>`). In case the 
users are created automatically, there is the setting "auto_user_delete_time" 
in `qconf -sconf` which defines it, but setting "enforce_user true" instead of 
"enforce_user auto" would be more appropriate anyway in your case and creating 
the user manually.

To reset the usage by intention, there is the command:

$ qconf -clearusage

-- Reuti


> If rotating our accounting file looses usage information we'll probably 
> reconsider rotating so often.
> 
> Thanks,
> 
> --
> Brian McNally
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to