How fast is my boot? (Linux)
PROBLEM: SSH is disconnecting after a short time!
SOLUTION: Edit SSH server configuration and increase timeout.
[?] Boot what?
https://www.computerhope.com/jargon/b/boot.htm
It is good to reboot the machine and run these 3 commands to understand what is happening during boot and how fast it was.
This will show kernel and userspace boot start time.
1 |
root@server:~# systemd-analyze |
OUTPUT:
1 2 |
Startup finished in <strong>3.972s</strong> (kernel) + <strong>9.259s</strong> (userspace) = <strong>13.232s</strong> graphical.target reached after 7.717s in userspace |
Show services startup order:
1 |
root@server:~# systemd-analyze blame |
And to show very detailed report run:
1 |
root@server:~# dmesg |
And now you should determine what is slowing down your boot!