Vincec's Dimension

Linux CPU 压力测试

Word count: 229 / Reading time: 1 min
2018/06/27 Share

CPU信息和总频率查看

Terminal Way

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#CPU所有核心信息
cat /proc/cpuinfo

#CPU架构信息
lscpu

#每一秒读取CPU总频率
watch -n 1 "lscpu"

#每一秒读取目前CPU频率
watch -n 1 "cat /proc/cpuinfo | grep MHz"

#温度检测
## install sensors
sudo apt-get install lm-sensors
yes | sudo sensors-detect
## 检测
sensors

CPUG

CPU Details Viewer

lbench

Multi-Threaded Benchmarking tool

dstat

Versatile resource statistics tool

压力测试软件

cpuburn

1
2
3
4
5
6
7
8
9
10
11
12
13
sudo pacman -S cpuburn

#For Intel
burnP5
burnP6 # better than P5
burnMMX # supports AMD
burnBX # a CPU cache memory related test


# For AMD
burnK6
burnK7
burnMMX

systester

1
2
3
4
sudo pacman -S systester

# Run
systester

Reference

CATALOG
  1. 1. CPU信息和总频率查看
    1. 1.1. Terminal Way
    2. 1.2. CPUG
    3. 1.3. lbench
    4. 1.4. dstat
  2. 2. 压力测试软件
    1. 2.1. cpuburn
    2. 2.2. systester
  3. 3. Reference