123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- '\" t
- .\" Title: b10-stats
- .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
- .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
- .\" Date: August 11, 2011
- .\" Manual: BIND10
- .\" Source: BIND10
- .\" Language: English
- .\"
- .TH "B10\-STATS" "8" "August 11, 2011" "BIND10" "BIND10"
- .\" -----------------------------------------------------------------
- .\" * set default formatting
- .\" -----------------------------------------------------------------
- .\" disable hyphenation
- .nh
- .\" disable justification (adjust text to left margin only)
- .ad l
- .\" -----------------------------------------------------------------
- .\" * MAIN CONTENT STARTS HERE *
- .\" -----------------------------------------------------------------
- .SH "NAME"
- b10-stats \- BIND 10 statistics module
- .SH "SYNOPSIS"
- .HP \w'\fBb10\-stats\fR\ 'u
- \fBb10\-stats\fR [\fB\-v\fR] [\fB\-\-verbose\fR]
- .SH "DESCRIPTION"
- .PP
- The
- \fBb10\-stats\fR
- is a daemon forked by
- \fBbind10\fR\&. Stats module collects statistics data from each module and reports statistics information via
- \fBbindctl\fR\&. It communicates by using the Command Channel by
- \fBb10\-msgq\fR
- with other modules like
- \fBbind10\fR,
- \fBb10\-auth\fR
- and so on\&. It waits for coming data from other modules, then other modules send data to stats module periodically\&. Other modules send stats data to stats module independently from implementation of stats module, so the frequency of sending data may not be constant\&. Stats module collects data and aggregates it\&.
- \fBb10\-stats\fR
- invokes an internal command for
- \fBbind10\fR
- after its initial starting because it\'s sure to collect statistics data from
- \fBbind10\fR\&.
- .SH "OPTIONS"
- .PP
- The arguments are as follows:
- .PP
- \fB\-v\fR, \fB\-\-verbose\fR
- .RS 4
- This
- \fBb10\-stats\fR
- switches to verbose mode\&. It sends verbose messages to STDOUT\&.
- .RE
- .SH "CONFIGURATION AND COMMANDS"
- .PP
- The
- \fBb10\-stats\fR
- command does not have any configurable settings\&.
- .PP
- 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
- .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
- \fBshutdown\fR
- will shutdown the
- \fBb10\-stats\fR
- process\&. (Note that the
- \fBbind10\fR
- parent may restart it\&.)
- .PP
- \fBstatus\fR
- simply indicates that the daemon is running\&.
- .SH "STATISTICS DATA"
- .PP
- The
- \fBb10\-stats\fR
- daemon contains these statistics:
- .PP
- report_time
- .RS 4
- The latest report date and time in ISO 8601 format\&.
- .RE
- .PP
- stats\&.boot_time
- .RS 4
- The date and time when this daemon was started in ISO 8601 format\&. This is a constant which can\'t be reset except by restarting
- \fBb10\-stats\fR\&.
- .RE
- .PP
- stats\&.last_update_time
- .RS 4
- The date and time (in ISO 8601 format) when this daemon last received data from another component\&.
- .RE
- .PP
- stats\&.lname
- .RS 4
- This is the name used for the
- \fBb10\-msgq\fR
- command\-control channel\&. (This is a constant which can\'t be reset except by restarting
- \fBb10\-stats\fR\&.)
- .RE
- .PP
- stats\&.start_time
- .RS 4
- This is the date and time (in ISO 8601 format) when this daemon started collecting data\&.
- .RE
- .PP
- stats\&.timestamp
- .RS 4
- The current date and time represented in seconds since UNIX epoch (1970\-01\-01T0 0:00:00Z) with precision (delimited with a period) up to one hundred thousandth of second\&.
- .RE
- .PP
- See other manual pages for explanations for their statistics that are kept track by
- \fBb10\-stats\fR\&.
- .SH "FILES"
- .PP
- /usr/local/share/bind10\-devel/stats\&.spec
- \(em This is a spec file for
- \fBb10\-stats\fR\&. It contains commands for
- \fBb10\-stats\fR\&. They can be invoked via
- bindctl(1)\&.
- .SH "SEE ALSO"
- .PP
- \fBb10-stats-httpd\fR(8),
- \fBbind10\fR(8),
- \fBbindctl\fR(1),
- \fBb10-auth\fR(8),
- BIND 10 Guide\&.
- .SH "HISTORY"
- .PP
- The
- \fBb10\-stats\fR
- daemon was initially designed and implemented by Naoki Kambe of JPRS in October 2010\&.
- .SH "COPYRIGHT"
- .br
- Copyright \(co 2010 Internet Systems Consortium, Inc. ("ISC")
- .br
|