Rate This Document
Findability
Accuracy
Completeness
Readability

os

Command Function

Collects the OS name, system version, kernel version, and boot parameters.

Syntax

1
./kspect os [-h]

Parameter Description

Table 1 Parameters of the os command

Parameter

Description

None

Collects OS information, including the OS name, system version, kernel version, and boot parameters.

-h/--help

Obtains help information.

Example

Collect OS information.

1
./kspect os
Figure 1 OS information
Table 2 Report description

Item

Description

OS

Displays basic OS information.

Kernel

Displays OS kernel information.

OS Boot Parameters

Displays OS boot parameters.

SELinux

Displays whether SELinux is enabled.

JSON Report

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