Stop hunting for processes by scrolling through garbage in top

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

Stop hunting for processes by scrolling through garbage in top

🧩 The Challenge

Dealing with a production server where one process is eating all the memory is a nightmare when your terminal is clogged with a hundred other useless tasks. You’ve definitely spent way too much time staring at a flickering screen trying to manually spot the PID that’s spiking.

💡 The Fix

Use the interactive filtering features inside top to make the noise disappear. It saves you from having to filter the output yourself or guessing which process is actually the culprit.

While top is running, press 'o' (that's a lowercase O), type 'COMMAND=your_process_name', and hit enter.

⚙️ Why It Works

Setting a filter directly inside the process manager hides everything that doesn’t match your criteria, giving you a clean look at only the data you actually need. You’re essentially forcing the tool to perform a live grep on the process table.

🚀 Pro-Tip: Pressing ‘i’ while top is active will toggle off idle processes, which is a lifesaver when you’re looking for a needle in a haystack.

Linux Tips & Tricks | © ngelinux.com | 11/10/2026

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Newest
Oldest Most Voted