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.
trepctl servicetable [ -r
]
For example:
shell> trepctl servicetable
Processing servicetable command...
Service | Status | Role | MasterConnectUri | SeqNo | Latency
-------------------- | ------------------------------ | ---------- | ------------------------------ | ---------- | ----------
alpha | ONLINE | slave | thl://trfiltera:2112/ | 322 | 0.00
beta | ONLINE | slave | 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 Section E.2, “Generated Field Reference”.