The trepctl status command provides status
information about the selected data service. The status information by
default is a generic status report containing the key fields of status
information. More detailed service information can be obtained by
specifying the status name with the
-name
parameter.
The format of the command is:
trepctl status [ -c
] [ -json
] [ -name
channel-assignments
| services
| shards
| stages
| stores
| tasks
| watches
] [ -r
]
Where:
Table 8.44. trepctl status Command Options
For example, to get the basic status information:
For more information on the field information output, see Section E.2, “Generated Field Reference”.
For convenience, the display can be set to refresh with a configured interval using the trepctl status -r 5 command.
The -c
can also be used with the
-r
option to limit the number of
refresh iterations, for exmaple trepctl status -r 5 -c 10
will refresh every 5 seconds for a total of 10 iterations