TIL You can use `systemd-analyze plot > plot.svg` to plot the service startup time to find bottlenecks - eviltoast

Apparently the reason my computer has been taking 2 minutes to boot was a faulty network mount

  • qaz@lemmy.worldOP
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    No, there currently isn’t

    And it’s not as easy to add actually. Note that systemd only keeps units loaded as long as they are referenced by something else that is loaded, are running, have failed, or have a job queued. That means if a service is terminated at shutdown there’s a very good chance it is GC’ed away pretty quickly. Now, while systemd keeps timestamping info around for services that tell us how long a service was running, took to start or took to shut down all that info is lost the instant the unit is GC’ed away…

    Source