Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

30
linux/systemd-cgtop Normal file
View File

@@ -0,0 +1,30 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# systemd-cgtop
> Show the top control groups of the local Linux control group hierarchy, ordered by their CPU, memory, or disk I/O load.
> See also: `top`.
> More information: <https://www.freedesktop.org/software/systemd/man/systemd-cgtop.html>.
- Start an interactive view:
`systemd-cgtop`
- Change the sort order:
`systemd-cgtop --order={{cpu|memory|path|tasks|io}}`
- Show the CPU usage by time instead of percentage:
`systemd-cgtop --cpu=percentage`
- Change the update interval in seconds (or one of these time units: `ms`, `us`, `min`):
`systemd-cgtop --delay={{interval}}`
- Only count userspace processes (without kernel threads):
`systemd-cgtop -P`