-
-
Notifications
You must be signed in to change notification settings - Fork 1
Linux systemd cgtop Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to systemd-cgtop on Linux, covering Arch Linux, CachyOS, and other distributions including control group monitoring, resource usage, and system resource tracking.
systemd-cgtop monitors control groups.
Uses:
- Monitor cgroups: Watch control groups
- Resource usage: See resource usage
- System monitoring: Monitor system resources
- Performance tracking: Track performance
Why it matters:
- Resource monitoring: Monitor resource usage
- cgroup tracking: Track control groups
- System analysis: Analyze system resources
Basic usage:
# Start monitoring
systemd-cgtop
# Shows control group resource usageQuit:
# Press 'q' to quit
# Or Ctrl+CSort by resource:
# In systemd-cgtop:
# Press 'c' to sort by CPU
# Press 'm' to sort by memory
# Press 't' to sort by tasksUpdate interval:
# Start with refresh rate
systemd-cgtop -d 2
# -d = delay (2 seconds)Filter cgroups:
# Filter by path
systemd-cgtop /system.slice
# Shows only specified pathHierarchical view:
# Tree format
systemd-cgtop --raw
# Shows raw cgroup treeCheck systemd:
# systemd-cgtop is part of systemd
# Usually pre-installed on systemd systems
# Check systemd
systemctl --versionThis guide covered systemd-cgtop usage, control group monitoring, and resource tracking for Arch Linux, CachyOS, and other distributions.
- htop Guide - Process monitoring
- System Monitoring - System monitoring
- Process Management - Process management
-
systemd-cgtop Documentation:
man systemd-cgtop
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.