type TProcessCpuUsage = record private FLastUsed, FLastTime: Int64; FCpuCount:Integer; public class function Create: TProcessCpuUsage; static; function Current: Single; end; var ProcessCpuUsage: TProcessCpuUsage = (FLastUsed: 0; FL…
1.Linux 环境下查看 CPU 信息 1.1.查看 CPU 详细信息 通过 cat /proc/cpuinfo 命令,可以查看 CPU 相关的信息: [root@rh ~]$ cat /proc/cpuinfo processor : vendor_id : GenuineIntel cpu family : model : model name : Intel(R) Xeon(R) CPU E5620 @ .40GHz stepping : cpu MHz : 1596.000 cache…