Stop guessing what systemd services are hogging your memory

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

Stop guessing what systemd services are hogging your memory

🧩 The Challenge

You know that feeling when the server starts swapping and you know it’s a specific service, but systemd is just telling you the total memory load instead of breaking it down? I’ve spent way too long trying to map cgroups to pids manually when the box is already crawling.

💡 The Fix

Use systemd-cgtop to see exactly how much memory each slice and service is grabbing in real time, just like you would with top for individual processes. It saves you from digging through cgroup hierarchies when everything is on fire.

systemd-cgtop

⚙️ Why It Works

This utility hooks directly into the control group tree managed by systemd, giving you a live, sorted dashboard of resource usage organized by service rather than scattered process IDs. It turns a chaotic investigation into a simple glance.

🚀 Pro-Tip: Hit ‘k’ to change the sorting column while it’s running so you can jump between CPU and memory pressure instantly.

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

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted