3.2. Showing Compute Cluster Details and Overview

3.2.1. vinfra service compute show

Display compute cluster details:

usage: vinfra service compute show

Example:

# vinfra service compute show
+--------------+-------------------------------------+
| Field        | Value                               |
+--------------+-------------------------------------+
| capabilities | cpu_models:                         |
|              | - Nehalem                           |
|              | - Nehalem-IBRS                      |
|              | - SandyBridge                       |
|              | - SandyBridge-IBRS                  |
|              | - IvyBridge                         |
|              | - IvyBridge-IBRS                    |
|              | - Haswell                           |
|              | - Haswell-IBRS                      |
|              | - Haswell-noTSX                     |
|              | - Haswell-noTSX-IBRS                |
|              | - Broadwell                         |
|              | - Broadwell-IBRS                    |
|              | - Broadwell-noTSX                   |
|              | - Broadwell-noTSX-IBRS              |
|              | - Skylake-Client                    |
|              | - Skylake-Client-IBRS               |
|              | - Skylake-Server                    |
|              | - Skylake-Server-IBRS               |
|              | - HostPassthrough                   |
|              | os_distributions:                   |
|              | - id: linux                         |
|              |   os_type: linux                    |
|              |   title: Generic Linux              |
|              | - id: centos8                       |
|              |   os_type: linux                    |
|              |   title: CentOS 8                   |
|              | - id: centos7                       |
|              |   os_type: linux                    |
|              |   title: CentOS 7                   |
|              | - id: centos6                       |
|              |   os_type: linux                    |
|              |   title: CentOS 6                   |
|              | - id: rhel8                         |
|              |   os_type: linux                    |
|              |   title: Red Hat Enterprise Linux 8 |
|              | - id: rhel7                         |
|              |   os_type: linux                    |
|              |   title: Red Hat Enterprise Linux 7 |
|              | - id: ubuntu20.04                   |
|              |   os_type: linux                    |
|              |   title: Ubuntu 20.04               |
|              | - id: ubuntu18.04                   |
|              |   os_type: linux                    |
|              |   title: Ubuntu 18.04               |
|              | - id: ubuntu16.04                   |
|              |   os_type: linux                    |
|              |   title: Ubuntu 16.04               |
|              | - id: debian9                       |
|              |   os_type: linux                    |
|              |   title: Debian 9                   |
|              | - id: windows                       |
|              |   os_type: windows                  |
|              |   title: Generic Windows            |
|              | - id: win2k19                       |
|              |   os_type: windows                  |
|              |   title: Windows Server 2019        |
|              | - id: win2k16                       |
|              |   os_type: windows                  |
|              |   title: Windows Server 2016        |
|              | - id: win2k12r2                     |
|              |   os_type: windows                  |
|              |   title: Windows Server 2012 R2     |
|              | - id: win2k12                       |
|              |   os_type: windows                  |
|              |   title: Windows Server 2012        |
|              | - id: win2k8r2                      |
|              |   os_type: windows                  |
|              |   title: Windows Server 2008 R2     |
|              | - id: win2k8                        |
|              |   os_type: windows                  |
|              |   title: Windows Server 2008        |
|              | - id: win10                         |
|              |   os_type: windows                  |
|              |   title: Windows 10                 |
|              | - id: win8.1                        |
|              |   os_type: windows                  |
|              |   title: Windows 8.1                |
|              | - id: win7                          |
|              |   os_type: windows                  |
|              |   title: Windows 7                  |
| options      | cpu_model: null                     |
| status       | active                              |
+--------------+-------------------------------------+

This command shows the status and capabilities of the compute cluster.

3.2.2. vinfra service compute stat

Display compute cluster statistics:

usage: vinfra service compute stat

Example:

# vinfra service compute stat
+----------+-------------------------------+
| Field    | Value                         |
+----------+-------------------------------+
| compute  | block_capacity: 0             |
|          | block_usage: 0                |
|          | cpu_usage: 0.0                |
|          | mem_total: 0                  |
|          | mem_usage: 0                  |
|          | vcpus: 0                      |
| datetime | 2018-09-11T15:50:18.758258    |
| physical | block_capacity: 1099511627776 |
|          | block_free: 1099498911464     |
|          | cpu_cores: 10                 |
|          | mem_total: 41006247936        |
| reserved | cpus: 5                       |
|          | memory: 17721982976           |
| servers  | count: 0                      |
|          | error: 0                      |
|          | in_progress: 0                |
|          | running: 0                    |
|          | stopped: 0                    |
|          | top:                          |
|          |   disk: []                    |
|          |   memory: []                  |
|          |   vcpus: []                   |
+----------+-------------------------------+

This command shows the overview of the compute cluster.