How to analyze Linux system boot time with Systemd – Guide
Systemd is a system and session manager responsible for managing all services running on the system during the entire computer operating time, from start up to shutdown process. Processes are always started in parallel (as far as possible) to keep the startup process as short as possible. But how to know which process took how long to boot your system, well for that we can use Systemd too.
Let’s look at Systemd commands to analyze Linux boot time
The steps provided below can be used for Ubuntu, Linux Mint, CentOS, RHEL, Kali Linux, Debian, MX Linux, Rocky Linux and other systems booted using Systemd.
Systemd-analyse
systemd-analyse is, as the name suggests, a command-line tool of systemd, with which the system, especially the boot process, can be analyzed. The knowledge gained in this way can then be used, for example, to carry out optimizations. So to use it, just open your command terminal and immediately check and display the startup processes running: systemd-analyse If the operating system is installed on a UEFI-enabled computer, the UEFI start time (firmware) will also be displayed. The boot loader start time is then issued (loader). Start times of the components related to the system (kernel) and the user environment are also specified. Systemd-analyses guilt For a more accurate list of data for all services started at system startup, use the blame option. Output data will be sorted according to its start time. With this, the user finds services that delay the start of the system. Therefore, the most accurate output can be obtained with the command systemd-analyze blame Please share this article if you like it!
Final note
I hope you like the guide How to analyze Linux system boot time with Systemd. In case if you have any query regards this article you may ask us. Also, please share your love by sharing this article with your friends.