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

software

Command Function

Collects software information, including GCC, glibc, Binutils, Python, KVM, and Docker.

Syntax

1
./kspect software [-h] [-s | -k | -d]

Parameter Description

Table 1 Parameters of the software command

Parameter

Description

None

Collects software information, including the BIOS, OS, and software versions.

-h/--help/-H

Obtains help information.

-s/--software_version

Displays the software version.

-k/--kvm

Displays the KVM information.

-d/--docker

Displays the Docker information.

Example

Collect all software information.
1
./kspect software
Figure 1 Software information

If a -- is not displayed in red in the report, the related data is either unavailable or cannot be collected.

Table 2 Report description

Item

Description

Software Version

Displays software version information, including GCC, GLIBC, Binutils, Python, Java, and OpenSSL.

KVM Info

Displays VM information, including the version and quantity.

KVM Table

Displays VM details, including the name, status, number of CPUs, total memory, memory usage, and storage path.

Docker Info

Displays Docker information, including the version and quantity.

Docker Table

Displays Docker details, including the name, status, image name, CPU limit, memory limit, memory usage, and storage usage.

JSON Report

The generated report is saved in the Tool_installation_path/output/kspect-software-YYYYMMDD-HHMMSS and the file name is kspect-software-YYYYMMDD-HHMMSS.json.