Stop systemd-cgtop from ignoring your nested cgroup hierarchies

Process & Resource Monitoring (Top/Htop/Ps/Systemd)

Stop systemd-cgtop from ignoring your nested cgroup hierarchies

🧩 The Challenge

Dealing with a server running a dozen Docker containers that suddenly hit a performance wall is a nightmare when you can’t tell which sub-cgroup is eating the CPU. You stare at standard top and it tells you absolutely nothing about the actual container constraints.

💡 The Fix

Use systemd-cgtop to see exactly how your resources are carved up across your cgroups in real-time. It’s like htop, but it actually respects the process tree structure your orchestrator built.

systemd-cgtop -d 1

⚙️ Why It Works

This utility hooks directly into the kernel cgroup accounting, so it shows you the resource consumption by service and sub-cgroup rather than just flat process IDs. It finally gives you a hierarchy view that doesn’t lie to you about where the load is hiding.

🚀 Pro-Tip: Hit “k” to kill a process directly from the view if you find the actual culprit.

Linux Tips & Tricks | © ngelinux.com | 8/14/2026

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted