From: Naoki Kambe Date: Tue, 13 Mar 2012 04:34:51 +0000 (+0900) Subject: [1751] stats documents update X-Git-Tag: trac2351_base~226^2~116^2~100^2~12^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=20fb475bd5cf9051c6f92163e2c427bb782db60b;p=thirdparty%2Fkea.git [1751] stats documents update --- diff --git a/src/bin/stats/b10-stats.8 b/src/bin/stats/b10-stats.8 index 80fbb50759..e72ec0ecc1 100644 --- a/src/bin/stats/b10-stats.8 +++ b/src/bin/stats/b10-stats.8 @@ -59,23 +59,19 @@ command does not have any configurable settings\&. The configuration commands are: .PP - -\fBremove\fR -removes the named statistics name and data\&. -.PP - - -\fBreset\fR -will reset all statistics data to default values except for constant names\&. This may re\-add previously removed statistics names\&. -.PP - \fBset\fR +will set new statistics data specified in arguments\&. Statistics data to be set and the module name which owns statistics data are required in argument\&. Pid of the module in argument is optional\&. .PP \fBshow\fR will send the statistics data in JSON format\&. By default, it outputs all the statistics data it has collected\&. An optional item name may be specified to receive individual output\&. .PP +\fBshowschema\fR +will send the schema of the statistics data in JSON format\&. The output is equivalent to the statistics part of +stats\&.spec\&. +.PP + \fBshutdown\fR will shutdown the \fBb10\-stats\fR diff --git a/src/bin/stats/b10-stats.xml b/src/bin/stats/b10-stats.xml index 4599563595..b353f8f075 100644 --- a/src/bin/stats/b10-stats.xml +++ b/src/bin/stats/b10-stats.xml @@ -101,20 +101,10 @@ - - remove removes the named statistics name and data. - - - - - reset will reset all statistics data to - default values except for constant names. - This may re-add previously removed statistics names. - - - - set - + set will set new statistics data specified in + arguments. Statistics data to be set and the module name which owns + statistics data are required in argument. Pid of the module in argument + is optional. @@ -124,7 +114,11 @@ An optional item name may be specified to receive individual output. - + + showschema will send the schema of the statistics data + in JSON format. The output is equivalent to the statistics part + of stats.spec. + shutdown will shutdown the