ockget.sh
Go to the script directory as a run user (for example, ockadmin).
1 | cd $OCK_HOME/ucache/$OCK_VERSION/linux-$(arch)/sbin |
- This script must be executed on the driver node.
- This command can be used only when the ZooKeeper security feature is disabled.
Function
- Queries the OmniShuffle status and memory usage of all compute nodes.
./ockget.sh -d nodes
- Obtains help information.
./ockget.sh -h
Example
- Query the OmniShuffle status and memory usage of all compute nodes.
./ockget.sh -d nodes
Command output:
[ockadmin@server sbin]# ./ockget.sh -d nodes Total Node Number:3 Id | Node Status | Total Mem Size | Used Mem Size | Start Time 0 | Online | 34357641216 | 10485760 | 2021-09-01 15:42:11 1 | Online | 34357641216 | 88621056 | 2021-08-30 17:19:23 2 | Online | 34357641216 | 125589504 | 2021-08-30 17:19:41
- Obtain help information.
./ockget.sh -h
Command output:
[ockadmin@server sbin]# sh ockget.sh -h Usage: ockget -d [SUBCOMMAND] -d [nodes] -h Command help.
Parent topic: OmniShuffle Script Files