Linux Performance Tools
2017-02-10 01:47Z
Linux Ker
nel
Operating System
CPU
Inter
connect
Memory
Bus
CPU
1
DRAM
I/O Bus
Expander Inter
connect
Interface T
ransports
I/O Bridge
I/O Controller
Disk
Disk
Swap
Network Controller
P
ort
P
ort
V
arious, observability:
http://www
.br
endangr
egg.com/linuxperf.html 2017
P
ower
Supply
F
AN
Firmware
Applications
System Call Interface
VFS
File Systems
V
olume Manager
Block Dev
ice Int.
Sockets
TCP/UDP
IP
Ethernet
Scheduler
V
irtual
Memory
System Libr
aries
Dev
ice Drivers
Clocksource
lsof
pcstat
observability tools
style inspir
ed by r
eddit.com/u/r
edct
top htop ps pidstat
strace
perf trace
sysdig
pidstat -d
perf
ftrace
stap
lttng
bcc
(BPF)
iostat
iotop
blktrace
GPU
swapon -s
/proc/swaps
ethtool
ifconfig
snmpget
lldptool
nicstat
netstat
ip
tcpdump
netstat
iptraf-ng
perf
tiptop
vmstat
slabtop free
/proc/meminfo
numastat
tiptop
perf pcm
turbostat
rdmsr
mpstat
powertop
/proc/stat
ss
ltrace
sar -m FAN
Linux P
er
formance T
ools
Har
dwar
e
static performance tools
df -h
mdadm lvm
dmsetup
storcli
MegaCli
lsblk lsscsi blockdev
smartctl fdisk -l
lspci lsusb
ldd
/proc/cpuinfo
cpuid lscpu
lstopo
numactl
App Config
multipath
ip
route
iptables
/sys/...
sar /proc
dstat dmesg
V
arious, static:
sysctl /sys
dmesg lshw
journalctl
lsmod
opensnoop statsnoop
syncsnoop
perf-tools/bcc tracing tools
https://github.com/br
endangr
egg/perf-tools https://github.com/iovisor/bcc
cpudist execsnoop
runlat cpudist
offcputime
funccount
funclatency
stackcount
kprobe
uprobe
argdist
trace
profile
ext4slower
ext4dist
btrfs*
xfs*
zfs*
cachestat dcsnoop
filetop fileslower
mountsnoop
biotop biosnoop
biolatency bitesize
memleak oomkill
slabratetop
gethostlatency
tcptop tcplife
tcpconnect tcpaccept
tcpconnlat tcpretrans
mdflush
hardirqs
ttysnoop
intel_gpu_top
intel_gpu_time
intel_gpu_\
frequency
ipmitool
dmidecode
latencytop
llcstat
profile
V
arious, tracing:
capable
dmesg
schedtool
these can observe the state of the system at r
est, without load
ugc ucalls
mysqld_qslower, ...
Source:
http://www.brendangregg.com/linuxperf.html