大网数据广告活动
服务器运维问答

What is the best way to analyze data captured from sar?

· 52CE 我爱测

I've got some sysstat data that has been captured from servers with SAR, and I'm unsure what is the best way to analyze that data. I've found ksar, but it seems to be quite old and out of date. I'd prefer to be able to analyze in…

问题原文

原帖链接 · stonecrusher · CC BY-SA 3.0

I've got some sysstat data that has been captured from servers with SAR, and I'm unsure what is the best way to analyze that data.

I've found ksar, but it seems to be quite old and out of date. I'd prefer to be able to analyze in a graphical manner, but I can't seem to find any other useful tools for this.

已采纳解答

原帖链接 · BillThor · CC BY-SA 4.0

This kind of graphical analysis is usually done with tools that are designed to do so. I use munin, but there are several other tools that do similar tasks. They gather the data into a data store from which graphs can be readily generated. However, there are tools that can extract the data into formats that can be graphed.

I would use awk, perl, or python to extract the data to be graphed in tabular format starting with a timestamp. This data can then be converted to graphical format. gnuplot is one tool that can be used to do the conversion either interactively or to image files.

EDIT: As noted, there are a variety of tools that will report data reported by SAR. Some will store historical data and allow graphing of historical data. For a quick analysis of current status I use top. However, when I need to review recent past performance i use the storee sar data. The text format allows me to isolate the critical data quickly by slicing, dicing and comparing statistics.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-04-13)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。