How to use Systemd to get information about user sessions on Fedora Linux.
How to use Systemd to get user information very easily. List user sessions.
Read MoreHow to use Systemd to get user information very easily. List user sessions.
Read MoreGetting 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 MoreA 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 MoreThe 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 MoreSystemd, by default waits a long time for some services to shutdown when switching off the machine. This can be annoying when you get a message in the console that a stop job is running for a certain service, and it is waiting for it to shutdown. But this can…
Read MoreThe 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 MoreThere 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 MoreThe 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 MoreThe 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 MoreUse 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