
To install botchart type in console: sudo apt-get install bootchart
Bootchart collects various statistics from /proc utilising a shell script which collects the info. After the next boot you will find detailed performance chart created by java application showing your boot in /var/log/bootchart directory and also a tarball containing logs.

At first use your favourite editor to edit crontab:
To edit crontab with nano:
sudo crontab -e
To edit crontab with vi:
export EDITOR=vi; sudo crontab -e
Add this line to root crontab if you want to delete files older than 30 days:
@reboot /usr/bin/find /var/log/bootchart -type f -mtime +30 -exec rm {} \;
To find out more about bootchart - check the bootchart web at http://www.bootchart.org/
No comments:
Post a Comment