os
Command Function
Collects the OS name, system version, kernel version, and boot parameters.
Syntax
1
|
./kspect os [-h] |
Parameter Description
|
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
|
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. |
Parent topic: Commands and Parameters