Reference
show info
Display information about the load balancer process.
Description Jump to heading
The show info command displays information about the load balancer process, such as its software version, number of threads, uptime, and process ID.
You can format the data as:
- Default format, one field and value per line
- Typed
- JSON
Version differences
- 
Starting with version 2.4r1, you can append the optionalfloatparameter to output certain fields, normally integers, as floats to improve accuracy.
- 
Starting with version 3.1r1, theshow infocommand displays the current and total number of streams with output variablesCurrStreamsandCumStreams, respectively. They can quickly help detect whether a slowdown is caused on the client side or server side and facilitate the export of activity metrics.
Examples Jump to heading
In the following examples, we call show info to see information about the load balancer process, with each example showing the different output formats.
Default format Jump to heading
The default format for the data shows one field and value per line. Fields and their values are separated by a colon:
nix
nix
outputtext
outputtext
Add the desc parameter to the command to append a description of each line:
nix
nix
outputtext
outputtext
Typed format Jump to heading
Specify the typed parameter to enable the typed format. Similar to the default format, each field is on its own line, but it uses a different way to categorize fields.
nix
nix
outputtext
outputtext
Each line begins with a dot-delimited value (e.g. 0.Name.1) that has these fields:
- the numeric position of the field in the list starting at zero
- the field name
- the process number starting at 1
The rest of the values are separated by colons. They break down as follows:
- three letters that correspond to the field’s origin, nature, and scope of the variable:
| Parameter | Letter | Meaning | 
|---|---|---|
| Origin | M | Metric | 
| S | Status | |
| K | Key | |
| C | Config | |
| P | Product | |
| Nature | G | Gauge | 
| L | limit | |
| m | min | |
| M | max | |
| R | rate | |
| C | counter | |
| D | duration | |
| A | age | |
| T | time | |
| N | name | |
| O | output | |
| a | average | |
| Scope | P | process | 
| S | service | |
| s | system | |
| C | cluster | 
- the field’s type (e.g. strfor string and u32 for unsigned 32-bit integer).
- the value itself.
For example:
| Field position | Field name | Process number | Origin, nature, and scope | Field type | Field Value | 
|---|---|---|---|---|---|
| 3 | Nbthread | 1 | CGS | u32 | 2 | 
Add the desc parameter to the command to append a description of each line:
nix
nix
outputtext
outputtext
JSON format Jump to heading
Specify the json parameter to enable the JSON format. To make it human-readable, pipe the result to a JSON formatting tool, such as Python’s json.tool.
nix
nix
outputjson
outputjson
The format of the JSON document is described in a schema, which you can get by calling show schema json.
See also Jump to heading
Do you have any suggestions on how we can improve the content of this page?