trepctl clients
The trepctl clients command outputs a list of the clients that have been connected to the primary service since it went
online. If a replica service goes offline or is stopped, it will still be reported by this command.
Usage
trepctl [ common-options ] clients [ options ]
Where:
| Option | Description | Version |
|---|---|---|
-json | Output the information as JSON. |
The command outputs the list of clients and the management port on which they can be reached:
shell> trepctl clients
Processing clients command...
host4:10000
host2:10000
host3:10000
Finished clients command...
A JSON version of the output is available when using the -json option:
shell> trepctl clients -json
[
{
"rmiPort": "10000",
"rmiHost": "host4"
},
{
"rmiPort": "10000",
"rmiHost": "host2"
},
{
"rmiPort": "10000",
"rmiHost": "host3"
}
]
The information is divided first by host, and then by the RMI management port.