Xrestop uses the X-Resource extension to provide top(1)-like statistics for 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 resource leakage.
xrestop requires the X-Resource extension, supported by XFree86 4.3 and above, and by the freedesktop.org X server.