mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
24 lines
954 B
Text
24 lines
954 B
Text
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).
|
|
|
|
This requires apache-ant, and you need the jdk package from /extra installed.
|
|
|
|
|
|
After installation, to run bootchartd;
|
|
a) if you run a huge kernel or custom kernel without initrd:
|
|
append the following boot option:
|
|
init=/sbin/bootchartd
|
|
|
|
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:
|
|
initrd /boot/initrd.chart.gz
|
|
|
|
Remember to run lilo after applying changes.
|