Update systemctl.md; add page of systemd-analyze (#844)

waldyrious/alt-syntax
Responsible 2016-04-10 06:36:11 +08:00 committed by Waldir Pimenta
parent 87a46c30e7
commit 1bafef40fa
2 changed files with 17 additions and 2 deletions

View File

@ -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`

View File

@ -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`