From ecee31e62ad37003658277849774eb9a0712fe7a Mon Sep 17 00:00:00 2001 From: Daniel <33197631+dadav@users.noreply.github.com> Date: Thu, 12 Oct 2023 22:37:41 +0200 Subject: [PATCH] systemd-cgtop: add page (#10934) * systemd-cgtop: add page * Update pages/linux/systemd-cgtop.md Co-authored-by: K.B.Dharun Krishna * Update pages/linux/systemd-cgtop.md Co-authored-by: K.B.Dharun Krishna * Update pages/linux/systemd-cgtop.md Co-authored-by: K.B.Dharun Krishna --------- Co-authored-by: K.B.Dharun Krishna --- pages/linux/systemd-cgtop.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/linux/systemd-cgtop.md diff --git a/pages/linux/systemd-cgtop.md b/pages/linux/systemd-cgtop.md new file mode 100644 index 000000000..62b844e29 --- /dev/null +++ b/pages/linux/systemd-cgtop.md @@ -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: . + +- 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`