Xrestop uses the X-Resource extension to provide 'top' like statistics of each connected X11 client's server side resource usage. It is intended as a developer tool to aid more efficient server resource usage and debug server side leakage.

It should work with any server supporting the X-Resource extension, including the Xorg server and XFree86 4.3+. "xdpyinfo | grep Resource" should tell you if your server supports this extension.



The XRes extension in XFree86 and older Xorg releases under estimates total pixmap memory used nor does it report win background pixmap usage. However it is still very useful for detecting server side leaks. See https://bugs.freedesktop.org/show_bug.cgi?id=2029 for more info and a patch that improves things a little.


xrestop was written by Matthew Allum.


git Source Repos