Skip to main content
Common Reference

trepctl servicetable

The trepctl servicetable command outputs a list of all the current services and current status information in a tabular format to make it easy to determine multi-service installations.

Usage
trepctl servicetable [ options ]

Where:

OptionDescriptionVersion
-c nUsed with the -r option to refresh the services display n number of times.7.0.2
-r nAuto-Refresh the output every n seconds, where n is an integer value in seconds. Refresh until CTRL+C is pressed

For example:

shell> trepctl servicetable
Processing servicetable command...
Service | Status | Role | &mas_cc;ConnectUri | SeqNo | Latency
-------------------- | ------------------------------ | ---------- | ------------------------------ | ---------- | ----------
alpha | ONLINE | &slv_lc; | thl://trfiltera:2112/ | 322 | 0.00
beta | ONLINE | &slv_lc; | thl://ubuntuheterosrc:2112/ | 12 | 4658.59
Finished servicetable command...

The information can be refreshed automatically, and continuously, using the -r option. Pass an integer value representing number of seconds between each refresh. To quit, press CTRL+C.

To only refresh for a specific number of iterations, the -c option can be include, for example, the following command will refresh every 5 seconds, for a total of 10 iterations:

shell> trepctl servicetable -r 5 -c 10

For more information on the fields displayed, see terminology-output-fields.