我要评分
获取效率
正确性
完整性
易理解

ockget.sh

Go to the directory where the script is stored as the run user (for example, ockadmin).

1
cd $OCK_HOME/ucache/$OCK_VERSION/linux-$(arch)/sbin

This script must be executed on the meta node.

ockget.sh -d nodes

Function

Queries the OmniShuffle status and memory usage of all compute nodes.

Syntax

./ockget.sh -d nodes

Example

[ockadmin@master 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

ockget.sh -h

Function

Gets help information.

Syntax

./ockget.sh -h

Example

[ockadmin@master sbin]# sh ockget.sh -h
Usage: ockget -d [SUBCOMMAND] 
-d [nodes]
-h Command help.