report
Command Function
Displays historical reports or analyzes the differences between reports.
Syntax
1 | ./kspect report [-h] [-r REPORT] [-d DIFF [-t THRESHOLD]] [--diff_x86 DIFF_X86 [-t THRESHOLD]] |
Parameter Description
Example
- Display historical reports.
1./kspect -l 0 report -h
- The -h option displays the latest 10 reports. You can run the ./kspect report -r Report_SN command to view the report with the specified serial number.
- If no historical report is available, run the ./kspect all command to generate the first report, or move the existing reports to the output directory in the tool path. The moved reports must be named in the format of kspect-json-eight-digit number-six-digit number.json, for example, kspect-json-12345678-123456.json.
- Compare the latest historical report with the x86 report.
1./kspect report --diff_x86 1,/home/kspect/perfspect/localhost.localdomain3.0.0.json -t 90
- -t 90 indicates data items whose difference exceeds 90% are marked in red in the comparison report.
- If there is a value in the brackets and the difference exceeds the threshold, the value is displayed in red. [--] indicates that the threshold cannot be calculated and the value is also displayed in red.
- [arm] and [x86] indicate the unique Arm and x86 report data, respectively. [common] contains data shared by both. [same] indicates that the compared data is identical in the two reports.
Parent topic: Commands and Parameters