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

Type

Description

OS

Displays basic OS information.

Kernel

Displays OS kernel information.

OS Boot Parameters

Displays OS boot parameters.

SELinux

Displays whether SELinux is enabled.

Printk Loglevel

Displays the kernel log printing level, which can be set to console (current level in the console), default (printk default), min (minimum level in the console), or boot (boot default).

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.