SYSSTAT(Sysstat-11.7.1-1.x86_64.rpm)是一个软件包,包含监测系统性能及效率的一组工具,这些工具对于我们收集系统性能数据,比如 CPU 使用率、硬盘和网络吞吐数据,这些数据的收集和分析,有利于我们判断系统是否正常运行,是提高系统运行效率、安全运行服务器的得力助手。
SYSSTAT 是用于 Linux 的性能监视工具合集,包含监测系统性能及效率的一组工具,如 sar、sadf、mpstat、iostat、tapestat、pidstat、cifsiostat 和 sa tools 等 。这些工具对于我们收集系统性能数据,比如 CPU 使用率、硬盘和网络吞吐数据,这些数据的收集和分析,有利于我们判断系统是否正常运行,是提高系统运行效率、安全运行服务器的得力助手。
v11.7.1 包含有关 sar 的二进制数据文件格式以及 sar 如何工作的重大更改,其中:
-
A binary data file should take much less space on disk thanks to new optimizations on how values are stowed in memory. The space saved is estimated at least at 25% compared to previous format.
-
Structures are no longer statically allocated, meaning that the system can now register as many new devices (disks, network interfaces, etc.) as needed and you will find all of them saved in your saXX data file (provided that you have selected the corresponding activities to collect). Previous version could lead to some devices being ignored and going unnoticed if no free structures were left.
-
Sar (and sadf) will now be able to read a binary data file whatever its endianness is: Both big-endian and little-endian files can be read by the same sar or sadf executable.
-
More flexibility has been added to sar’s binary data file format. I cannot promise that the format won’t change again in the future but it should now be possible to add new metrics or activities without making the format unreadable by older sar versions (starting with version 11.7.1). Older versions will be able to read newer formats but will display only the metrics they currently know.
注意:由 sadf(参数 -c)提供的将旧数据文件转换为最新格式的功能已被暂时禁止,这个函数将在下一个 sysstat 版本(11.7.2)中再次启用。
∨ 展开