注意:

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
 
(2 intermediate revisions by the same user not shown)
Line 16: Line 16:
###i## pybootchartgui</console>
###i## pybootchartgui</console>


{{file|name=/etc/boot.conf|desc=boot.conf file|body=
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
}
}}
<console>
###i## ego boot update && reboot
</console>
print currently running kernel parameters
print currently running kernel parameters
<console>
<console>
Line 21: 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