cpu
Command Function
Collects CPU information, including the CPU model and list.
Syntax
1 | ./kspect cpu [-h] (-G | -c CPU) |
Parameter Description
Parameter |
Option |
Description |
|---|---|---|
-h/--help |
- |
Obtains help information. |
-G/--general |
- |
Displays all CPU information. |
-c/--cpu |
|
Displays detailed information about a specified CPU core. The number of CPU cores is dynamically displayed based on the actual environment. The following provides an example of parameters:
|
Example
- Collect all CPU information.
1./kspect cpu -G
- Collect information about CPU cores 0 to 3.
1./kspect cpu -c 0-3
Parent topic: Commands and Parameters