The tool bootchart that records the Linux boot process

  
        

/********************************************** *********************** * Author : Samson * Date : 04/28/2014 * Test platform: * 3.11.0-12-generic #19- Ubuntu * GNU bash, version 4.2.45 * **************************************** ***************************/

Because most of the online descriptions of Chinese bootchart tools are outdated, Therefore, there is also the generation of this log.

Bootchart is a handy tool for analyzing the Linux boot process. The results from this tool can be used as a reference for optimizing the startup speed. This tool will be installed directly after installing the package in a newer release. When the secondary system starts, it generates a graph of the time taken by each component to start when the system starts. This chart is located in the /var/log/bootchart directory. The default format is .png format. For example, Mint Linux:

Install:

sudo apt-get install bootchart

After rebooting the system, you can view the /var/log/bootchart directory to see how long it takes to start each part of the system;

Copyright © Windows knowledge All Rights Reserved