When you power on your system, you wait for the manufacturer’s logo to come up, a few messages on the screen perhaps (booting in insecure mode), Grub screen, operating system loading screen and finally the login screen.
Did you check how long did it take? Perhaps not. Unless you really need to know, you won’t bother with the boot time details.
But what if you are curious to know long long your Linux system takes to boot? Running a stopwatch is one way to find that but in Linux, you have better and easier ways to find out your system’s start up time.
Checking boot time in Linux with systemd-analyze

Like it or not, systemd is running on most of the popular Linux distributions. The systemd has a number of utilities to manage your Linux system. One of those utilities is systemd-analyze.
The systemd-analyze command gives you a detail of how many services ran at the last start up and how long they took.
If you run the following command in the terminal:
systemd-analyze
You’ll get the total boot time along with the time taken by firmware, boot loader, kernel and the userspace:
Startup finished in 7.275s (firmware) + 13.136s (loader) + 2.803s (kernel) + 12.488s (userspace) = 35.704s
graphical.target reached after 12.408s in userspace
As you can see in the output above, it took about 35 seconds for my system to reach the screen where I could enter my password. I am using Dell XPS Ubuntu edition. It uses SSD storage and despite of that it takes this much time to start.
Not that impressive, is it? Why don’t you share your system’s boot time? Let’s compare.
You can further breakdown the boot time into each unit with the following command:
systemd-analyze blame
This will produce a huge output with all the services listed in the descending order of the time taken.
7.347s plymouth-quit-wait.service
6.198s NetworkManager-wait-online.service
3.602s plymouth-start.service
3.271s plymouth-read-write.service
2.120s apparmor.service
1.503s [email protected]
1.213s motd-news.service
908ms snapd.service
861ms keyboard-setup.service
739ms fwupd.service
702ms bolt.service
672ms dev-nvme0n1p3.device
608ms [email protected]:intel_backlight.service
539ms snap-core-7270.mount
504ms snap-midori-451.mount
463ms snap-screencloud-1.mount
446ms snapd.seeded.service
440ms snap-gtk\x2dcommon\x2dthemes-1313.mount
420ms snap-core18-1066.mount
416ms snap-scrcpy-133.mount
412ms snap-gnome\x2dcharacters-296.mount
Please keep in mind that the services run in parallel.
Bonus Tip: Improving boot time
If you look at this output, you can see that both network manager and plymouth take a huge bunch of boot time.
Plymouth is responsible for that boot splash screen you see before the login screen in Ubuntu and other distributions. Network manager is responsible for the internet connection and may be turned off to speed up boot time. Don’t worry, once you log in, you’ll have wifi working normally.
sudo systemctl disable NetworkManager-wait-online.service
If you want to revert the change, you can use this command:
sudo systemctl enable NetworkManager-wait-online.service
Now, please don’t go disabling various services on your own without knowing what it is used for. It may have dangerous consequences.
Similarly, you can also use systemd to investigate why your Linux system takes a long time to shut down.
Now that you know how to check the boot time of your Linux system, why not share your system’s boot time in the comment section?
Help!!!!!!
[email protected]:~$ systemd-analyze blame
30.970s man-db.service
22.385s udisks2.service
20.710s systemd-journal-flush.service
18.989s networkd-dispatcher.service
13.912s accounts-daemon.service
11.368s ubuntu-system-adjustments.service
10.282s NetworkManager.service
9.878s logrotate.service
9.804s dev-mapper-vgmintx2droot.device
9.504s NetworkManager-wait-online.service
9.360s polkit.service
8.601s avahi-daemon.service
8.601s bluetooth.service
8.199s thermald.service
8.193s systemd-logind.service
8.190s wpa_supplicant.service
5.475s gpu-manager.service
5.357s ufw.service
4.793s ModemManager.service
4.527s grub-initrd-fallback.service
4.356s systemd-udevd.service
4.190s grub-common.service
4.044s rsyslog.service
Startup finished in 5.071s (kernel) + 2.231s (userspace) = 7.302s
graphical.target reached after 2.212s in userspace
Running Linux Mint 20 XFCE Edition Dell Optiplex 760 Small Form Factor Computer With 8GB Ram 2 1TB Hard Drives One Mechanical for storage and one SSD For The Boot Drive
3 GHZ Core 2 Duo CPU
Computer Is Connected To A Vizio D Series 24 Inch Smart TV Via A Displayport To HDMI Adapter
The Boot Drive Is A Crucial BX500 1TB Solid State Drive Connected Via Esata with an Orico Hard Drive Docking Station
The Storage Drive Is A WD Black Performance Edition Hard Drive 7200RPM with a dual core CPU and 64MB Of Cache Ram i get sata 2 speeds out of both drives
the esata drive enclosure works at esata 2 speeds
This system is a Monster
everything is tweaked for maximum performance running the latest stable 5.9 Xanmod Performance Kernel with the PIE Network Queue Scheduler Turned on Plus Also Using OpenDNS
and Firefox Fully tweaked for performance for a way faster internet experience
apps load like lightning
and i,am totally lovin it
Linux Rocks
You guys are very useful. My first option to see anything about Linux.
Thanks for the apreciation :)
Startup finished in 3.435s (firmware) + 2.517s (loader) + 2.503s (kernel) + 1.920s (userspace) = 10.376s
graphical.target reached after 1.698s in userspace
Acer aspire 7, with i5 9300h on linux mint 20