linux - How to get grub load/boot statistics? -
is possible know how time grub takes load files /boot
(vmlinuz
, initrd
) ram?
as far know, boot
command loads , jumps kernel according previous linux
, initrd
commands without option retrieve stats processing.
reading source code of commands in grub's repo, found testspeed
gives load stats wanted given file memory:
grub> testspeed /vmlinuz file size: 3.40mib elapsed time: 1.571 s speed: 2.16mib/s grub> testspeed /initrd.img file size: 48.80mib elapsed time: 8.762 s speed: 5.57mib/s
Comments
Post a Comment