2023-10-12 22:37:41 +02:00
|
|
|
# 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:
|
|
|
|
|
2025-05-11 14:00:42 +03:00
|
|
|
`systemd-cgtop {{[-i|--order]}} {{cpu|memory|path|tasks|io}}`
|
2023-10-12 22:37:41 +02:00
|
|
|
|
|
|
|
- Show the CPU usage by time instead of percentage:
|
|
|
|
|
2025-05-11 14:00:42 +03:00
|
|
|
`systemd-cgtop --cpu percentage`
|
2023-10-12 22:37:41 +02:00
|
|
|
|
|
|
|
- Change the update interval in seconds (or one of these time units: `ms`, `us`, `min`):
|
|
|
|
|
2025-05-04 10:20:26 +03:00
|
|
|
`systemd-cgtop {{[-d|--delay]}} {{interval}}`
|
2023-10-12 22:37:41 +02:00
|
|
|
|
|
|
|
- Only count userspace processes (without kernel threads):
|
|
|
|
|
|
|
|
`systemd-cgtop -P`
|