How to know the boot time (kernel + init) in Alpine using openRC?
1
vote
1
answer
1771
views
I made a bit of research on the matter and also asked ChatGPT, but there doesn't seem to be a way to measure full boot time of an alpine distribution with OpenRC.
Using
dmesg
, I can see the last message [ 0.689037] Run /sbin/init as init process
But I want to know how much time it took to "complete" the init process. My use case is boot time sensitive, that's why I'm asking.
Note I was able to boot an ubuntu 22.04 with systemd in 1s including kernel boot. In systemd, systemd-analyze
is very useful. So I hope there is an equivalent (or a way) in openRC.
Asked by Abdellah Stands with Gaza
(131 rep)
Jun 14, 2023, 03:40 PM
Last activity: Jun 15, 2023, 06:50 AM
Last activity: Jun 15, 2023, 06:50 AM