Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to analyze boot process using Bootchart

📅 2015-Jan-30 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

[caption id="attachment_5632" align="aligncenter" width="930"][Chart generated by Bootchart](https://codeyarns.files.wordpress.com/2015/01/20150130_bootchart.png) Chart generated by Bootchart[/caption]

Bootchart is a tool that can be used to visualize and analyze the boot process. It is a shell script that is run by the kernel in the background. It analyzes all the information and renders a chart that makes it easy to understand the CPU, disk and services that run at boot. This can be useful to understand your system or find bottlenecks that might be making your system to boot slowly.

Installing Bootchart is easy:

$ sudo apt install bootchart

That is it! It will automatically run every time the system is booted up. The chart it generates is stored in /var/log/bootchart as a PNG file.

Tried with: Bootchart 0.90.2 and Ubuntu 14.04