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>.

Install

All systems
curl cmd.cat/systemd-cgtop.sh
Debian Debian
apt-get install systemd
Ubuntu
apt-get install systemd
Arch Arch Linux
pacman -S systemd
image/svg+xml Kali Linux
apt-get install systemd
CentOS
yum install systemd
Fedora
dnf install systemd
Windows (WSL2)
sudo apt-get update sudo apt-get install systemd
Raspbian
apt-get install systemd

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

© tl;dr; authors and contributors