2010-05-12 23:33:21 +02:00
|
|
|
Bootchart provides a shell script to be run by the kernel in the init phase.
|
|
|
|
The script will run in background and collect process information, CPU
|
|
|
|
statistics and disk usage statistics from the /proc file system.
|
|
|
|
The performance data are stored in memory and are written to disk once the
|
|
|
|
boot process completes.
|
|
|
|
|
|
|
|
The boot log file is later processed using a Java application which builds
|
|
|
|
the process tree and renders a performance chart in different formats (png,
|
|
|
|
svg, eps).
|
|
|
|
|
2010-05-13 00:39:44 +02:00
|
|
|
After installation, to run bootchartd;
|
|
|
|
a) if you run a huge kernel or custom kernel without initrd:
|
|
|
|
append the following boot option:
|
2016-11-14 22:23:43 +01:00
|
|
|
init=/sbin/bootchartd
|
2010-05-13 00:39:44 +02:00
|
|
|
|
|
|
|
b) If you run a kernel using initrd:
|
|
|
|
Run the script mkchartd with proper options and append to lilo
|
|
|
|
configuration file a new entry for bootchart specifying:
|
2016-11-14 22:23:43 +01:00
|
|
|
initrd /boot/initrd.chart.gz
|
2010-05-13 00:39:44 +02:00
|
|
|
|
|
|
|
Remember to run lilo after applying changes.
|