Sunday, October 25, 2015

How to capture system performance graph during boot up in Ubuntu or other GNU+Linux Distro

  



  In this tutorial, I'm going to share on how to capture system performance graph during boot up in Ubuntu or other GNU+Linux Distro .

What will be covered in this tutorial

  1. Install Bootchart .
  2. Run and View boot up graph .
  3. Disable Bootchart in Grub version 2 .

STEPS

1) Install Bootchart .
1.1)  Open the terminal and install bootchart .


Install Bootchart

2) Run and view the graph .
2.1) Reboot your system .
Reboot the system

2.2 ) Once rebooted, the graph is generated and stored in "var/log/bootchart"

Graph Stored Location

Go to the folder and view the graph by clicking the photo (png file).
Click Photo to view the graph


Bootchart graph example 
 The chart shows the total time taken to boot along the vertical axis, and beneath it shows the time taken by each startup services
to complete .

3) Disable bootchart in Grub version 2 .
3.1) Edit "/etc/dedault/grub"  file .
Edit "/etc/default/grub" file

3.2) Edit  grub and save the file . add  bootchart=disable on the file as below .

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash bootchart=disable"

Add bootchart=disable 

3.3) Update grub configuration for it to take effect .


update grub configuration.




3.4) Reboot the system !


Read Previous : How to remove old kernel in Ubuntu using Ubuntu Tweak

No comments:

Post a Comment