Re: Where do I have to put my contribs? [message #44699 is a reply to message #44689] |
Thu, 22 December 2011 20:39  |
Felix
Messages: 3 Registered: December 2011
|
Junior Member |
|
|
Well, based on ``beanc.sh'' from Steven Broos, his syntaxe has approx same form:
Quote:
beanc.pl [-fiIn] [ show [VE] | brief [VE] | tiny [VE] | init | reset [VE [varname] ] ]
Where [VE] could be a VeID, a name, a hostname or a ip.
Cache are stored gzipped in /var/cache/beanc/cache.gz.
For each counter, a timestamp are stored to compute statistics (TODO).
-f force - Don't ask before resetting all variables
-n nocache - Display raw values without computing cache
-i IOACCT - Take IOACCT file too, but mark solicited counters with a plus sing (``+'') instead of a star (``*'') as for real fail-counters.
-I IOACCT Only - Don't compute UserBeanCounter, but only IOACCT Files.
I'ts a Perl script, inline doc could be displayed with
Nota: This script is a pré-version, not fully useable (no stats), some improvements are todo, but I would appreciate returns for new ideas or better code... or maybe if my way is wrong, I could even go back to work on other projects...
-
Attachment: beanc.pl
(Size: 16.00KB, Downloaded 256 times)
|
|
|