7

Is there a command to list systemd services that run on startup in the order in which they run? I'm using 18.04

Raffa
  • 34,963
John
  • 83

1 Answers1

7

Yes,

Run in the terminal:

systemd-analyze dump > ~/SystemdAnalyzeDump.txt

and to view it, run in the terminal:

gedit ~/SystemdAnalyzeDump.txt

or if you prefer a graphical representation, run in the terminal:

systemd-analyze plot > ~/SystemdAnalyzePlot.svg

and to view it, run in the terminal:

eog ~/SystemdAnalyzePlot.svg

Notice that the --user option can be used with the above commands like systemd-analyze --user dump ... and systemd-analyze --user plot ... to show user units instead.

Raffa
  • 34,963