#A Linux Debug HUD overlay for the focused app (PID+ CPU +RSS + quick diagnosis)

3 messages · Page 1 of 1 (latest)

pine hatch
#

I built a small Linux debug overlay that just sits on top of your screen and tells you what your current app is doing. Basically:

  1. shows PID + app name
  2. CPU + memory (RSS)
  3. detects stuff like high CPU, memory growing, disk pressure, logs, etc.
  4. stays minimal when nothing’s happening
  5. expands only when something looks wrong

The main idea was i didnt want to keep switching to top or htop every time something feels off. So this just sits there like a small HUD and tells you:
“yeah something is wrong here, go check this”

It works with multi process apps like browsers too (tries to group them instead of showing useless child PIDs).

also many apps like chrome, cursor and heavy browsers and apps contain many child-process so what i have made it i have summed the memory it uses for each child process for the particular app and the %cpu it uses. You can diagnose the issue also when there is any abnormality

Built with:

  1. Python + Tkinter
  2. /proc
  3. xdotool
  4. journalctl

Still improving it (UI + better detection logic), but its already pretty usable for me.

try it here Repo: https://github.com/codeafridi/Debug-Overlay-App

If you are on Linux and constantly debugging random slowdowns this actually can help.

Also open to suggestions if something feels off in the approach.

pine hatch
#

This is X11 specific and might work as well work for any distros

#

It very useful when you work with k8s and kubectl