How to get good information about your Linux boot up easily.

Getting information about the boot process of your PC when running Linux is very easy. The Systemd framework can easily help with this. The systemd-analyze command prints the time that is taken by the operating system to reach a usable state. This would be better on a faster SSD. But…

Read More

New root exploit found for Linux machines.

A new Linux exploit has been found for Linux machines. This involves the FUSE filesystem framework and can crash Systemd after executing a program as a normal user. This is CVE-2021-33910, Denial of service (stack exhaustion) in Systemd (PID 1). More information about this exploit may be found here: https://www.openwall.com/lists/oss-security/2021/07/20/2….

Read More

Get information about running services with Systemd on Ubuntu.

The Systemd framework in Ubuntu may be used to get good information about running services on your machine. This is very easy. To list all active services on your Ubuntu machine, use this command. jason@jason-desktop:~/Videos$ systemctl list-units –type=service –state=activejason@jason-desktop:~/Videos$ systemctl list-units –type=service –state=active Or this command which is a fast…

Read More

get information about running processes using Systemd.

The sudo systemctl status command will show a tree view of all running processes on your Linux machine. This is quite comprehensive and very useful output. Here is a sample. 4.4 Mon Mar 04 jason@Yog-Sothoth 1: $ sudo systemctl status ● Yog-Sothoth State: running Jobs: 0 queued Failed: 0 units…

Read More

How to optimize boot up times on Ubuntu 18.04.

There are quite a few services running on Ubuntu, they can slow down bootup times and be very annoying. One of the best ways to find out which is to use this command. The systemd-analyze blame command. This will print out a list of the services started on boot. Here…

Read More

Get the startup time of your Linux machine with systemd.

The systemd-analyze command will print the time taken for the system to boot up. This separates the time for the kernel and the userspace environment. root@darkstar:~# systemd-analyze Startup finished in 4.728s (kernel) + 28.339s (userspace) = 33.068sroot@darkstar:~# systemd-analyze Startup finished in 4.728s (kernel) + 28.339s (userspace) = 33.068s This command…

Read More

How to get information about your Linux services with systemd.

The systemd init system may be used to get information about your running services. Here I am getting information about the openvpn service. jason@eyjafjallajkull:~$ systemctl -a status openvpn.service ● openvpn.service – LSB: Openvpn VPN service Loaded: loaded (/etc/init.d/openvpn) Active: active (running) since Mon 2015-04-13 14:57:18 AEST; 5h 2min ago Docs:…

Read More

How to change your hostname on Linux the easy way.

Use the sudo hostnamectl set-hostname HOSTNAME to set a new hostname for your machine. This command does all of the steps in one go and takes the worry out of this task. Just close the terminal after entering this command and reopen it and the new hostname will be visible….

Read More