Break signaled
Command exited with non-zero status 255
Command being timed: "7za b"
User time (seconds): 26.41
System time (seconds): 0.16
Percent of CPU this job got: 344%
Elapsed (wall clock) time (h:mm:ss or m:ss): 0:07.71
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 120140
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 0
Minor (reclaiming a frame) page faults: 5847
Voluntary context switches: 8434
Involuntary context switches: 5924
Swaps: 0
File system inputs: 0
File system outputs: 0
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 255
此类统计信息可以通过 time 命令获得。
这里你确实不能说8个核心25%或4个核心50%或2个100%,但一般来说你可以判断负载
发射
7za 程序的输出
时间命令的输出
在这里您可以看到该程序耗尽了所有核心(我有 4 个)该作业获得的 CPU 百分比:344%
这可以使用top命令来完成
运行命令时,按数字1
还可以使用u 查看特定用户的进程