Difference between revisions of "Talk:Bootchart"

From ArchWiki
Jump to: navigation, search
(systemd to launch and stop bootchart: new section)
(systemd to launch and stop bootchart)
Line 41: Line 41:
Note: e4rat not yet present.
Note: e4rat not yet present.
--[[User:Kozaki|kozaki]] ([[User talk:Kozaki|talk]]) 16:05, 16 September 2012 (UTC)

Revision as of 16:05, 16 September 2012

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

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