bootchart--检测linux启动性能的软件
来源:互联网 发布:技术支持 恒久网络 编辑:程序博客网 时间:2024/06/10 05:31
摘自http://www-128.ibm.com/developerworks/library/l-boot-faster/index.html?ca=dgr-lnxw01FC-FastLinuxBoot,
Parallelize applications for faster Linux booting ,有兴趣的可以去读原文.也可以直接从http://www.bootchart.org/下载软件.
bootchartd作为一个deamon在init中初始化,然后把控制权交还给init进程.bootchartd每隔一段时间对系统环境采样一次,默认是200ms,包括CPU,I/O,空闲时间,磁盘使用,并通过proc得到各个活动进程的信息,把这些数据存储在/var/log/bootchar.tgz,以便后来的数据分析.
Monitoring init performance with bootchart
As you change the landscape of the system boot process, it's useful to understand what changed and how it affects the overall time to boot. Ziga Mahkovec has built a very useful tool called bootchart
to visualize the makeup of the boot process. This tool consists of several elements, including a data logger utility and a visualization utility.
The data logger (bootchartd
) runs in the place of the init
process (usually, specified in the grub or lilo.conf files). After bootchartd
has initialized, it surrenders control back to the real init
process (typically, /sbin/init). Bootchartd
is essentially a profiler that samples the environment at a periodic interval (by default, once every 200 ms). By sampling the environment, I mean that it reads the current CPU statistics, I/O and idle times, disk usage, and information about every active process (through the proc
file system). This data is stored in a temporary file (/var/log/bootchart.tgz) for later post-processing.
Bootchart
then uses a post-processing tool to transform the raw data into a boot chart. This process can occur locally using a Java™ application (part of the bootchart
distribution), but an easier method is through a Web form located at the bootchart
home page. An example piece of a boot chart is shown in Figure 2. Note that these charts tend to be quite large (depending on the services and applications started). For links to complete examples, see Resources.
Figure 2. Snippet of a boot chart created by bootchartd
- bootchart--检测linux启动性能的软件
- bootchart--检测linux启动性能的软件
- 记录Linux启动流程的工具bootchart
- 使用 Bootchart 分析 Linux 启动过程
- bootchart 系统启动速度检测
- Linux系统下开机启动时间检测工具bootchart
- android性能测试bootchart篇
- Android性能优化工具 bootchart
- 用Bootchart测试你的ubuntu Linux 系统启动时间
- Bootchart分析Android启动时间
- bootchart 分析从内核启动后,到用户登录前的启动过程
- BootChart
- bootchart
- bootchart
- Linux性能检测
- Linux 性能检测
- Linux系统性能检测
- Linux 性能检测
- jsp中forward和sendRedirect的区别
- ERP销售要略
- 河南网络招聘竞争升级 人才网站面临洗牌
- Jan Goyvaerts正则表达式(一)
- Jan Goyvaerts正则表达式(二)
- bootchart--检测linux启动性能的软件
- 钱
- 音视频编码技术与格式大全
- 软件过程与度量Software Process
- 矩阵转置程序
- ASP.NET验证码源代码
- 金山词霸2006常规窗口不见了!只能看到最大化的的原因
- 视频格式与质量
- C#实现UDP打洞