Show the cgroup tree

Show the systemd cgroup hierarchy as a tree, with the processes in each group.

systemd-cgls

tool
linux133 commands
tags
linuxkernelcgroups

More linux commands

  • find /var/log -name '*.log' -exec wc -l {} + | sort -rn | head -20

    Find the 20 biggest log files by line count.

  • tail -f /var/log/syslog /var/log/auth.log

    Follow several log files at once in one terminal.

  • zgrep -i 'error' /var/log/syslog.*.gz

    Search inside .gz files without unpacking them first.

  • logrotate -f /etc/logrotate.conf

    Force log rotation without waiting for the schedule.

  • for u in $(cut -f1 -d: /etc/passwd); do crontab -l -u $u 2>/dev/null | grep -v '^#' | sed "s|^|$u: |"; done

    Print the active crontab lines of every user, skipping comments.

all 133 linux commands