LKBEN11495: Show startup times of all services on a linux system


Symptom

You need to know the boot times of all the services on your system

Cause

This information can be used to deactivate unneeded services or tune them to boot up faster

Solution

To find the total boot time of your system you can use the systemd-analyze commend.

systemd-analyze

This will show something like:

Startup finished in 4.492s (kernel) + 17.338s (userspace) = 21.831s

If you want to know the exact time of all your services you can use:

systemd-analyze blame

This will show you every service and the time it needed to startup.

The following screenshot gives you an impressen of the output.

Have fun.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.

Latest update: 14-01-2021 | Comment: