diff --git a/pages/linux/systemctl.md b/pages/linux/systemctl.md index b2018b1b9d..04db9aa21c 100644 --- a/pages/linux/systemctl.md +++ b/pages/linux/systemctl.md @@ -6,9 +6,9 @@ `systemctl --failed` -- Start/Stop/Restart a service: +- Start/Stop/Restart/Reload a service: -`systemctl start/stop/restart {{unit}}` +`systemctl start/stop/restart/reload {{unit}}` - Show the status of a unit: @@ -18,6 +18,10 @@ `systemctl enable/disable {{unit}}` +- Mask/Unmask a unit, prevent it to be started on bootup: + +`systemctl mask/unmask {{unit}}` + - Reload systemd, scanning for new or changed units: `systemctl daemon-reload` diff --git a/pages/linux/systemd-analyze.md b/pages/linux/systemd-analyze.md new file mode 100644 index 0000000000..b914d9a286 --- /dev/null +++ b/pages/linux/systemd-analyze.md @@ -0,0 +1,11 @@ +# systemd-analyze + +> Show timing details about the boot process of units (services, mount points, devices, sockets). + +- List time of each unit to start up: + +`systemd-analyze blame` + +- Print a tree of the time critical chain of units: + +`systemd-analyze critical-chain`