systemd-cgtop: add page (#10934)

* systemd-cgtop: add page

* Update pages/linux/systemd-cgtop.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* Update pages/linux/systemd-cgtop.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* Update pages/linux/systemd-cgtop.md

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
Daniel 2023-10-12 22:37:41 +02:00 committed by GitHub
parent 3f8e621609
commit ecee31e62a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,25 @@
# 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`