Viewing Host Information

A host is discovered by having a Grid Service Agent running on it.

To view host information:

List all hosts

Command:

gs.{sh/bat} host list

Description:

Lists all the host machines.

Input Example:

<GS_HOME>/bin/gs host list

Output Example:

Parameters and Options:

None

List containers per host

Command:

gs.{sh/bat} host info --containers <name>

Description:

Lists all the containers on a specific host machine.

Input Example:

<GS_HOME>/bin/gs host info --containers localhost

Output Example:

Parameters and Options:

Item Name Description
Parameter name Provide the name (or IP address) of the host for which you want to see the list of containers.

List host operating system information

Command:

gs.{sh/bat} host info --os <name>

Description:

Lists all the operating system and related host machine details for a specific host machine, such as OS type, host architecture, OS version, etc.

Input Example:

<GS_HOME>/bin/gs host info --os localhost

Output Example:

Parameters and Options:

Item Name Description
Parameter name Name (or IP address) of the host for which you want to see the operating system information.

List host operating system statistics

Command:

gs.{sh/bat} host info --os-stats <name>

Description:

Lists several operating system statistics for a specific host machine, such as free physical memory, memory used, and free swap space.

Input Example:

<GS_HOME>/bin/gs host info --os-stats localhost

Output Example:

Parameters and Options:

Item Name Description
Parameter name Name (or IP address) of the host for which you want to see the operating system statistics.