Package xrestop

X Resource Monitor

http://www.freedesktop.org/Software/xrestop

A utility to monitor application usage of X resources in the X Server, and
display them in a manner similar to 'top'. This is a very useful utility
for tracking down application X resource usage leaks.

Version: 0.6

General Commands

xrestop monitor server resources used by X11 clients