Links

Find boot-up time in linux 🐧

Posted on 18 Oct, 2020
We can achieve this using the systemd service. Just run this
systemd-analyze
Demo:
Startup finished in 36.655s (kernel) + 58.030s (userspace) = 1min 34.685s
graphical.target reached after 57.709s in userspace
The graphical.target specifies how long it took to reach to the log-in screen.

Other tricks

  1. 1.
    You can also plot service initializations in a SVG graph.
systemd-analyze plot > demo.svg
  1. 1.
    Check which service takes most of the time.
systemd-analyze blame