xrestop(1)

okay so bestie, you opened xrestop(1) from the General Commands Manual, and it’s literally a whole tool for watching X11 clients’ server-side resource usage πŸ‘€βœ¨

πŸŽ€ NAME πŸŽ€

xrestop β€” monitor server resources used by X11 clients πŸ’…

🌸 SYNOPSIS 🌸

xrestop --help
xrestop [ --display display ] [ --batch ] [ --delay-time seconds ] [
--max-samples count ]

πŸ¦‹ DESCRIPTION πŸ¦‹

xrestop uses the X-Resource extension to give you 'top'-like statistics of each connected X11 client’s server-side resource usage. It’s intended as a developer tool to help with more efficient server resource usage and to debug server-side resource leakage 🫢

✨ OPTIONS ✨

  • --help, -h β€” show usage and exit, iconic behavior tbh πŸ’–
  • --version, -V β€” print version and exit, periodt ⭐
  • --display, -d <display> β€” specify the X11 display to monitor πŸ‘‘
  • --delay-time, -t <seconds> β€” time in seconds between taking samples. Default is 2 seconds ⏱️
  • --batch, -b β€” run in batch mode. Slightly more detailed infomation (yes, that’s the original spelling, bestie 😭) is streamed to stdout instead of the usual curses interface. This mode is intended for debugging a single client with something like:
xrestop -b | grep -A 14 appname
  • --max-samples, -m <count> β€” specify the number of times to gather and display results. Default is continuous, which can be set with 0 (zero) πŸ”

🌈 SEE ALSO 🌈

X(7), top(1).

πŸ’€ BUGS πŸ’€

The X-Resource extension may not be 100% accurate β€” so don’t treat it like absolute gospel, bestie 🫠

πŸ’œ AUTHOR πŸ’œ

xrestop was written by Matthew Allum <mallum@handhelds.org> 🫢


footer check: this is the xrestop(1) page from the General Commands Manual, with no extra date/version line to copy β€” so here’s your cute sign-off instead, bestie πŸ’–πŸŽ€