How to analyze boot process using Bootchart

Chart generated by Bootchart
Chart generated by Bootchart

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

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.