Bootchart

From CBLFS
Jump to: navigation, search
Download Source: http://prdownloads.sourceforge.net/bootchart/bootchart-0.9.tar.bz2

Contents

Introduction to Bootchart

Bootchart is a tool for performance analysis and visualization of the GNU/Linux boot process. Bootchart may also be used to profile a running system or a specific application.

Project Homepage: http://www.bootchart.org/index.html

Caution.png

Note

See the CLFS Hints Wiki for [tips] on using bootchart.

Dependencies

Optional

  • Apache Ant to build the Java renderer
  • Grubby to automatically create an appropriate menu.lst entry

Non-Multilib or Multilib

Install the package:

./install.sh

If you have Apache Ant installed and wish to build the Java renderer, execute the following:

ant 

Configuring

Add or modify an existing entry in your menu.lst to execute bootchartd during the boot process. For example,

title CLFS 1.0.0 (Multilib 2.6.19.1-SMP-20080105)
       root (hd0,0)
       kernel /clfs/clfskernel-2.6.19.1-SMP-20080105 ro root=/dev/hdb6 VGA=791 init=/sbin/bootchartd
       savedefault

If you have BSD process accounting enabled in your kernel and accton from the GNU accounting utilities, enable process accounting in bootchart:

sed -i 's@PROCESS_ACCOUNTING="no"@PROCESS_ACCOUNTING="yes"@' /etc/bootchartd.conf

Contents

Installed Directories: None
Installed Programs: bootchartd
Installed Libraries: None

Short Descriptions

bootchartd is a script that runs during the boot process for performance analysis.
Personal tools