Talk:Bootchart

From ArchWiki
Revision as of 15:10, 9 November 2012 by Sa1 (Talk | contribs) (systemd to launch and stop bootchart)

Jump to: navigation, search

Troubleshooting /var/log/bootchart.tgz not found SSD solution

if this error message is displayed:

/var/log/bootchart.tgz not found

and you have a SSD and optimized it in fstab like me


tmpfs /tmp tmpfs nodev,nosuid 0 0

tmpfs /dev/shm tmpfs nodev,nosuid 0 0

tmpfs /var/tmp tmpfs defaults 0 0

tmpfs /var/log tmpfs nodev,nosuid 0 0

tmpfs /var/cache/apt/archives tmpfs defaults 0 0


there is the problem that all in /var/log is deleted after reboot because it's in the RAM

so all you have to do is just add this line

tmpfs /var/log/bootchart tmpfs nodev,nosuid 0 0

so the folder is being created and the files are copied after a few seconds.

Out of date

There is now a new tool with the same name in the official repos. I propose we rewrite this page to be entirely about the new tool as the original one is seemingly no longer maintained. The important point is that in order to use the new tool one would have to append "init=/usr/bin/bootchartd" to the kernel commandline (notice that this is no longer /sbin/bootchartd). See https://bugs.archlinux.org/task/29155. If no one objects and no one does it for me, I'll probably get around to doing this at some point myself :-) --Tomegun 09:47, 31 March 2012 (EDT)

systemd to launch and stop bootchart

Just installed bootchart2-git on an up-to-date Arch with systemd installed.

Out of curiosity I checked about a possible way to activate and stop bootchart with systemd, and it seems to be feasible (like for all new stuff, just didn't think about this way before):

$ ls  /usr/lib/systemd/system/bootchart
bootchart-done.service  bootchart-done.timer    bootchart.service
# systemctl is-enabled bootchart.service 
disabled
# systemctl enable bootchart.service 
ln -s '/usr/lib/systemd/system/bootchart.service' '/etc/systemd/system/default.target.wants/bootchart.service'
# systemctl is-enabled bootchart.service 
enabled

Note: e4rat not yet present. --kozaki (talk) 16:05, 16 September 2012 (UTC)

Where did bootchart2-git disappear? It would be so convenient to use systemd instead of changing init to bootchartd.--Sa1 (talk) 15:10, 9 November 2012 (UTC)