| Mercury Monitor Reference Manual |
|---|
MONCLIENTmonclient — Command-line consumer client |
monclient [[-C file] | [--config file]] [[-V] | [--version]] [[-a method] | [--auth method]] [[-c count] | [--count count]] [[-e expr] | [--expr expr]] [[-f freq] | [--freqency freq]] [[-h] | [--help]] {[-n metric] | [--name metric]} [[-o file] | [--output file]] [[-p name=value] | [--param name=value]...] [[-r] | [--raw]] [[-t sec] | [--timeout sec]] [[-v] | [--verbose]] [[-w layer] | [--wrap layer]...] URL
| [-C file] | [--config file] | Use the specified configuration file instead of @sysconfdir@/libmonp.conf |
| [-V] | [--version] | Print the version number and exit. |
| [-a method] | [--auth method] | The authentication method to use. If not specified, the strongest method supported by both the producer and the consumer will be used. |
| [-c count] | [--count count] | Receive number of values specified (default is 1) and then exit. If set to negative the program runs until stopped by pressing Ctrl-C (sending SIGINT). |
| [-e expression] | [-expr expression] | Evaluate the expression on every data and print the result. |
| [-f freq] | [--frequency freq] | Specify measurement frequency in seconds. |
| [-h] | [--help] | Print a short help message on parameters and usage. |
| [-n metric] | [--name metric] | Specify the metric name to be queried. This option is mandatory. |
| [-o file] | [--output file] | Output file name to save data into. |
| [-p name=value] | [--param name=value] | Specify metric parameters. Each occurance of this option adds a parameter to the list. |
| [-r] | [--raw] | Output raw data. If given, the -o option must also be specified. This option cannot be used together with the -e option. |
| [-t sec] | [--timeout sec] | Abort if a command does not complete within the specified time. If the value given is not positive, there will be no timeout (this is also the default). |
| [-v] | [--verbose] | Verbose output, some additional control information is printed as well. |
| [-w layer] | [--wrap layer] | Use the specified I/O layer. |
| URL | URL of the monitoring system to connect to. |
| << User Programs | MONEXEC >> |