System boot statistics or Linux system boot time is the time that is counted from the start of the system boot to the display of the desktop with all its attributes.On Linux systems, there is a built-in systemd-analyze utility that allows you to analyze the performance of the system boot process from the point of view of systemd.
What is Systemd? Systemd is a daemon that initiates other Linux daemons.
A daemon is a computer program in UNIX-class systems that is run by the system itself and runs in the background without direct user interaction. Daemons are usually run at boot time.
So, in order to determine the system boot time from turning on the computer to full system boot, we can use the antiquated method – the usual chronometer/stopwatch. But the systemd-analyze terminal utility makes it faster and more accurate already on a loaded/running system.
Open a terminal, copy and execute this command:
Of course, the system boot depends not only on the system itself, but also on other factors, such as: features of hardware and daemons that you installed additionally in the startup distribution.
In the screenshot above, this is the boot time on the virtual test machine.
Naturally, if your system is installed on a removable SSD-drive (Solid State Drive), the system will be booted much faster. As a rule, booting the system to the SSD-disk takes 5 seconds or less. Almost instantaneous.
And also, as mentioned above, if you have connected to the system startup additional applications: Conky, weather widgets, etc. programs, the system should load them, because in this case they become demons.
To see a list of all running blocks sorted by the time taken to initialize (the maximum time at the top), use the blame utility for this purpose.
In order to reduce the boot time of the system, do not try to include a lot of additional applications in the startup (it is better to activate them as necessary after booting the system) and let free from loading those applications that you do not need in the system.
As a rule, not all running processes are displayed by default in the Startup of a particular distribution. This was done for that purpose. to prevent an inexperienced user from disabling the basic processes that affect the default system load. Otherwise, the system will not start.
To display the entire list of processes in the startup, run the following command in the terminal (You must be careful not to break the system!):
systemd-analyze can also be used to find other system state and trace information. For more information, see the man output in the terminal: