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 |
|---|---|---|
|
None |
- |
Collects all CPU information. |
|
-h/--help |
- |
Obtains help information. |
|
-G/--general |
- |
Displays basic 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
1
|
./kspect cpu |
- If a -- is not displayed in red in the report, the related data is either unavailable or cannot be collected.
- If the message is displayed in CPU Table indicating that the current CPU frequency is the frequency expected by the software, the current CPU frequency is obtained from sys/devices/system/cpu/cpu{}/cpufreq/scaling_cur_freq.
|
Item |
Description |
|---|---|
|
CPU |
Displays basic CPU information, including the name, architecture, mode, step, basic frequency, maximum frequency, number of cores, hyper-threading status, number of slots, number of NUMA nodes, NUMA queue list, L1/L2/L3 cache, and number of memory channels. |
|
CPU Table |
Displays details about each CPU core, including the CPU ID, physical core ID, logical core ID, slot, NUMA node, frequency, minimum performance percentage, mode, 3-level cache, forcible latency, EPB, and CPU cluster. |
|
JSON Report |
The generated report is saved in the Tool_installation_path/output/kspect-cpu-YYYYMMDD-HHMMSS directory and the file name is kspect-cpu-YYYYMMDD-HHMMSS.json. |