注意:

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Package:Bootchart2"

From Funtoo
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 36: Line 36:
kernel kernel[-v]
kernel kernel[-v]
initrd initramfs[-v]
initrd initramfs[-v]
params += initcall_debug printk.time=y init=/sbin/bootchartd real_root=auto rootfstype=auto
params += initcall_debug printk.time=y real_init=/sbin/bootchartd real_root=auto rootfstype=auto
}
}


Line 47: Line 47:


<console>
<console>
###i## ego boot update
###i## ego boot update && reboot
</console>
</console>
print currently running kernel parameters
print currently running kernel parameters
Line 54: Line 54:
</console>
</console>


<console>
###i## pybootchartgui
</console>
now you will find a bootchart @ /var/log/bootchart.png
<console>
###i## pybootchartgui -o $HOME/Pictures
</console>
to print to your users pictures folder
{{EbuildFooter}}
{{EbuildFooter}}

Latest revision as of 12:45, November 29, 2022

Bootchart2

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

bootchart2 is a boot benchmark application

Install

root # emerge app-benchmarks/bootchart2

Configuration

root # rc-update add bootchart2 default
root # pybootchartgui
   /etc/boot.conf - boot.conf file
boot {
	generate grub
	default "Funtoo Linux"
	timeout 3
}

display {
gfxmode 1920x1080
}

"Funtoo Linux" {
	kernel kernel[-v]
	initrd initramfs[-v]
	params += real_root=auto rootfstype=auto
}

"Funtoo Linux bootchart" {
	kernel kernel[-v]
	initrd initramfs[-v]
	params += initcall_debug printk.time=y real_init=/sbin/bootchartd real_root=auto rootfstype=auto
}

"Funtoo Linux (nomodeset)" {
	kernel kernel[-v]
	initrd initramfs[-v]
	params += real_root=auto rootfstype=auto nomodeset
}
root # ego boot update && reboot

print currently running kernel parameters

root # cat /proc/cmdline
root # pybootchartgui

now you will find a bootchart @ /var/log/bootchart.png

root # pybootchartgui -o $HOME/Pictures

to print to your users pictures folder