Rate This Document
Findability
Accuracy
Completeness
Readability

ockget -d nodes

This command can be used only when the ZooKeeper security feature is disabled.

Function

Queries the cluster status.

Syntax

./ockget -d nodes

Example

Run the following command to query the cluster status:

./ockget -d nodes

Command output:

Hostname     | Id      | Ip                 | Node Status  | Total Mem Size | Used Mem Size | Start Time
agent01      | 0       | 192.168.1.201      | Online       | 53684731904    | 5987756032    | 2022-09-21 16:39:51
agent02      | 1       | 192.168.1.202      | Online       | 53684731904    | 5868101632    | 2022-09-21 16:34:54
agent03      | 2       | 192.168.1.203      | Online       | 53684731904    | 5882796032    | 2022-09-21 16:38:42
Online Node Number: 3