From 904ab06b090006a5c76a00404bb18e5822b0d92c Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Sat, 3 May 2025 19:07:08 +0100 Subject: [PATCH] Add systemd-analyze --- content/.obsidian/workspace.json | 22 ---------------------- content/notes/linux/index.md | 2 ++ 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/content/.obsidian/workspace.json b/content/.obsidian/workspace.json index 5ee7dc1..6cb6310 100644 --- a/content/.obsidian/workspace.json +++ b/content/.obsidian/workspace.json @@ -3,31 +3,9 @@ "id": "5324373015726ba8", "type": "split", "children": [ - { - "id": "e8837102b8bf49ad", - "type": "tabs", - "dimension": 48.44173441734417, - "children": [ - { - "id": "fc8813233e11f75b", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "notes/firewall.md", - "mode": "source", - "source": false - }, - "icon": "lucide-file", - "title": "firewall" - } - } - ] - }, { "id": "900961c3a85bfabb", "type": "tabs", - "dimension": 51.55826558265583, "children": [ { "id": "7f9bd58214dfcb4d", diff --git a/content/notes/linux/index.md b/content/notes/linux/index.md index 10569a5..166da18 100644 --- a/content/notes/linux/index.md +++ b/content/notes/linux/index.md @@ -415,6 +415,8 @@ A service is a unit file that specifies how to start, stop, reload and manage th Unit files are usually located under `/lib/systemd/system/` and `/etc/systemd/system/`. +To check how long each service takes to load, use: `systemd-analyze blame`. + ## GRUB GRUB allows the user to select which kernel to boot to, load kernel modules before the kernel starts, and is responsible for loading the initial RAM disk (initrd), and thus, starting the system.