Linux #performance monitoring and analysis tool called conveniently perf.
perf provides access to the Performance Monitoring Unit in the CPU,
Applications that are consuming a high percentage of resources.
Tcpdump – Network Packet Analyzer.
Netstat – Network Statistics.
Htop – Linux Process Monitoring.
Iotop – Monitor Linux Disk I/O.
Iostat – Input/Output Statistics.
Top – Linux Process Monitoring.
VmStat – Virtual Memory Statistics.
Lsof – List Open Files.
ETC......
Iinstall :
yum update && yum install perf [Rhel/CentOS / Fedora]
perf list sw
perf stat dd if=/dev/zero of=test.iso bs=10M count=1
Display cycles event.
perf top -a
Display all cpu-clock related events.
perf top -e cpu-clock
Perf report
perf report formats the data collected in perf.
data above into a performance report:
sudo perf report
#linux kernel monitoring#perf
Ещё видео!