Analyse the boot process with bootchart

November 30, 2008 · Posted in Gentoo, Linux 

Its sunday today. It a blogging day :P.

Most of you already know the bootchart program. But for those who dont , Im gonna show them how to view their system start up procedure.

If you are a gentoo user , first emerge app-benchmark/bootchart

Then, open /etc/bootchartd.conf and edit the following lines

AUTO_RENDER=”yes”

AUTO_RENDER_FORMAT=”png” ( replace png with svg or eps if you want )

AUTO_RENDER_DIR=”/var/log”
These are the default options , but make sure  that are configured fine on your machine.

Then, open /boot/grub/grub.conf and add

init=/sbin/bootchartd on kernel options like the example below

title=Gentoo Linux

root (hd0,0)

kernel /boot/vmlinuz-2.6.26-gentoo-r3 root=/dev/sda3 init=/sbin/bootchartd quiet

Reboot your machine , and you will find under /var/log/ and image named bootchart.png picturing your boot process  :)

Have a nice day

Comments

2 Responses to “Analyse the boot process with bootchart”

  1. comzeradd on November 30th, 2008 6:31 pm

    looking at your boot time, i think it’s time to migrate to openrc ;)

  2. Markos on December 1st, 2008 12:32 am

    I am already using openrc and baselayout 2 :P

Leave a Reply




GreekBloggers.com
Patras Wireless Metropolitan Network
Planet Hellug
iloog
forum hellug