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:
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:
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:
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:
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. |