Linux下系统资源监控工具Collectl基本介绍
2012-11-12 14:06
549 查看
Collectl 是一个轻量级的性能监控工具,可监控包括 CPU、磁盘、带宽、内存、网络、NFS、进程等等信息。
对系统资源的监控,是系统管理员的一个必备的任务,我们经常需要监控系统资源以便解决相应的系统问题。Linux系统也自带很多的监控工具,如top、vmstat、iostat、sar等,对这些工具的熟练使用时非常重要的,但是这些工具太散了,有时候我们可能会需要看一些更全面地数据,Collectl就是一个这样的超级工具。之前我已经介绍过IBM的监控工具nmon了,nmon监控也是非常全面的,而且可视化做的也非常好,但是相对nmon的话,collectl是支持socket发送数据,对于很多机器的监控,nmon得开很多的窗口,而collectl只需在一个窗口就能看到所有机器的数据,所以必须要推荐之!
开源网址:http://collectl.sourceforge.net/
Unlike most monitoring tools that eitherfocus on a small set of statistics, format their output in only one way, runeither interatively or as a daemon but not both, collectl tries to do it all.You can choose to monitor any of a broad set of subsystems which
currentlyinclude buddyinfo, cpu, disk, inodes, infiniband, lustre, memory, network, nfs,processes, quadrics, slabs, sockets and tcp.
不同于大多数的监控工具那样集中于一小部分数据的统计,然后以一种方式格式化输出数据,以交互的方式或作为一个守护进程后台运行,但是不能同时支持两种方式,collectl尝试实现以上所有的功能。你可以选择监控任何一个广大子系统的一个子集,这些子系统包括buddyinfo,
cpu, disk, inodes, infiniband, lustre,memory, network, nfs, processes, quadrics, slabs, sockets and tcp信息。
下面的框图显示,collectl是远远超过一个工具,从/ proc中读取数据,将其结果写入到一个文件中,或在终端上。花几分钟的时间研究这个图可以帮助更好地了解不同的方式,你可能会更有效地使用collectl。正如你可以看到,有一个数据可以按照不同的路径和哪些需要取决于你所选择的选项。
Interactive Mode
This is the default and in this mode datais read from /proc and passes throughanalyze. It is really nothing morethan a function that looks at the change between the current and previousvalues. It then divides by the duration of the interval (unless
you specicify-on) and produces the rate, for those values that are indeed rate based. Thisfunction is also responsible for formatting/disposing the output. More on thatin a little while.
交互模式
这是默认的模式,在这种模式下数据从/ proc读取并且分析。这实在是没有什么特殊的功能,就是着眼于当前和之前值之间的变化。此功能,负责格式化/配置输出。
Record Mode
Data passes from /proc the same way as InteractiveMode but instead of going through theAnalyze function it written itto a file. By eliminating the calculations and formatting, this is the mostefficient path the data can take and is why
collectl it so light-weight whenrun in this way.
录制模式
数据的收集同交互模式一样通过/proc目录,但是该模式会通过分析把结果写入到一个文件之中。通过排除计算和格式化的输出,这是最有效的方法收集数据并且为什么collectl通过此种方式运行时是如此轻量级的。
Playback Mode
Here collectl works virtually identical to InteractiveMode except instead of reading data from /proc it reads it from a file.This means all the switches that control data formatting still apply. There arealso a couple of switches that allow you
to select the time period from whichyou want to play back data.
回放模式
这个模式同互动模式类似,只是该软件获取数据的途径不是从/proc文件系统,而是从一个文件中获取数据。这意味着所有的选项都是依然可以应用的。这儿也有一个开关可以允许你选择查看数据的时间段回放。
转载链接:http://blog.csdn.net/kumu_linux/article/details/8145396
其他关于collectl工具介绍的链接:
http://blog.csdn.net/zhangxinrun/article/details/5626055
对系统资源的监控,是系统管理员的一个必备的任务,我们经常需要监控系统资源以便解决相应的系统问题。Linux系统也自带很多的监控工具,如top、vmstat、iostat、sar等,对这些工具的熟练使用时非常重要的,但是这些工具太散了,有时候我们可能会需要看一些更全面地数据,Collectl就是一个这样的超级工具。之前我已经介绍过IBM的监控工具nmon了,nmon监控也是非常全面的,而且可视化做的也非常好,但是相对nmon的话,collectl是支持socket发送数据,对于很多机器的监控,nmon得开很多的窗口,而collectl只需在一个窗口就能看到所有机器的数据,所以必须要推荐之!
开源网址:http://collectl.sourceforge.net/
Unlike most monitoring tools that eitherfocus on a small set of statistics, format their output in only one way, runeither interatively or as a daemon but not both, collectl tries to do it all.You can choose to monitor any of a broad set of subsystems which
currentlyinclude buddyinfo, cpu, disk, inodes, infiniband, lustre, memory, network, nfs,processes, quadrics, slabs, sockets and tcp.
不同于大多数的监控工具那样集中于一小部分数据的统计,然后以一种方式格式化输出数据,以交互的方式或作为一个守护进程后台运行,但是不能同时支持两种方式,collectl尝试实现以上所有的功能。你可以选择监控任何一个广大子系统的一个子集,这些子系统包括buddyinfo,
cpu, disk, inodes, infiniband, lustre,memory, network, nfs, processes, quadrics, slabs, sockets and tcp信息。
下面的框图显示,collectl是远远超过一个工具,从/ proc中读取数据,将其结果写入到一个文件中,或在终端上。花几分钟的时间研究这个图可以帮助更好地了解不同的方式,你可能会更有效地使用collectl。正如你可以看到,有一个数据可以按照不同的路径和哪些需要取决于你所选择的选项。
Interactive Mode
This is the default and in this mode datais read from /proc and passes throughanalyze. It is really nothing morethan a function that looks at the change between the current and previousvalues. It then divides by the duration of the interval (unless
you specicify-on) and produces the rate, for those values that are indeed rate based. Thisfunction is also responsible for formatting/disposing the output. More on thatin a little while.
交互模式
这是默认的模式,在这种模式下数据从/ proc读取并且分析。这实在是没有什么特殊的功能,就是着眼于当前和之前值之间的变化。此功能,负责格式化/配置输出。
Record Mode
Data passes from /proc the same way as InteractiveMode but instead of going through theAnalyze function it written itto a file. By eliminating the calculations and formatting, this is the mostefficient path the data can take and is why
collectl it so light-weight whenrun in this way.
录制模式
数据的收集同交互模式一样通过/proc目录,但是该模式会通过分析把结果写入到一个文件之中。通过排除计算和格式化的输出,这是最有效的方法收集数据并且为什么collectl通过此种方式运行时是如此轻量级的。
Playback Mode
Here collectl works virtually identical to InteractiveMode except instead of reading data from /proc it reads it from a file.This means all the switches that control data formatting still apply. There arealso a couple of switches that allow you
to select the time period from whichyou want to play back data.
回放模式
这个模式同互动模式类似,只是该软件获取数据的途径不是从/proc文件系统,而是从一个文件中获取数据。这意味着所有的选项都是依然可以应用的。这儿也有一个开关可以允许你选择查看数据的时间段回放。
转载链接:http://blog.csdn.net/kumu_linux/article/details/8145396
其他关于collectl工具介绍的链接:
http://blog.csdn.net/zhangxinrun/article/details/5626055
相关文章推荐
- Linux下系统资源监控工具Collectl基本介绍
- Linux下系统资源监控工具Collectl基本介绍
- Linux下系统资源监控工具Collectl基本介绍
- atop就是一款用于监控Linux系统资源与进程的工具
- linux性能监控工具-(显示系统整体资源使用情况-top命令)
- 6个监控linux系统资源的快速工具
- Linux系统资源常用监控工具 推荐
- 6个监控linux系统资源的快速工具
- 6个监控linux系统资源的快速工具
- 6个实用的Linux系统资源监控工具
- Linux ---CentOS系统资源常用监控工具
- linux 6个监控linux系统资源的快速工具
- 6个实用的Linux系统资源监控工具
- Linux 三个强大的系统资源监控工具
- linux下CPU、内存、IO、网络的压力测试,硬盘读写速度测试,Linux三个系统资源监控工具
- linux实时监控或查看系统资源使用情况的工具——TOP
- 用 Logwatch 工具监控 Linux 系统 Log 日志
- 使用 shell 脚本对 Linux 系统和进程资源进行监控
- linux web监控服务器资源工具 netdata
- 20个命令行工具监控 Linux 系统性能