linux性能监控工具sysstat介绍
所属分类 linux
浏览量 1475
sysstat提供了Linux性能监控的工具集,包括sar、sadf、mpstat、iostat、pidstat等
iostat 提供CPU统计,存储I/O统计(磁盘设备,分区及网络文件系统)
mpstat 提供单个或组合CPU相关统计
pidstat 提供进程级别统计:I/O、CPU、内存等
sar 收集、报告、保存系统活动信息:CPU、内存、磁盘、中断、网络接口、TTY、内核等
sadc 系统活动数据收集器,作为sar后端使用
sa1 收集系统活动日常数据,并二进制格式存储,它作为sadc的工具的前端,可通过cron来调用
sa2 生成系统每日活动报告,同样可作为sadc的工具的前端,可通过cron来调用
sadf 可以以CSV、XML格式等显示sar收集的性能数据,方便的将系统数据导入到数据库中,或导入到Excel中来生成图表
nfsiostat-sysstat 提供NFS I/O统计
cifsiostat 提供CIFS统计
https://github.com/sysstat/sysstat
sudo yum install sysstat
sar collects, reports and saves system activity information
sadc is the system activity data collector, used as a backend for sar.
System statistics collected by sar:
Input / Output and transfer rate statistics (global, per device, per partition and per network filesystem)
CPU statistics (global and per CPU), including support for virtualization architectures
Memory, hugepages and swap space utilization statistics
Virtual memory, paging and fault statistics
Process creation activity
Interrupt statistics (global, per CPU and per interrupt, including potential APIC interrupt sources, hardware and software interrupts)
Extensive network statistics: network interface activity (number of packets and kB received and transmitted per second, etc.) including failures from network devices; network traffic statistics for IP, TCP, ICMP and UDP protocols based on SNMPv2 standards; support for IPv6-related protocols
Fibre Channel traffic statistics
Software-based network processing (softnet) statistics
NFS server and client activity
Sockets statistics
Run queue and system load statistics
Kernel internal tables utilization statistics
Swapping statistics
TTY devices activity
Power management statistics (instantaneous and average CPU clock frequency, fans speed, devices temperature, voltage inputs)
USB devices plugged into the system
Filesystems utilization (inodes and blocks)
上一篇
下一篇
linux性能测试工具sysbench简单使用
top命令使用
多核cpu使用查看
vim颜色及行号设置
prometheus job 和 instance
rate与irate的区别