Fernando Cassia wrote:
Surely there' s a way to obtain the "window name" -which appears on the Window Manager' s Titlebar- for running processes, right?. Well, I can't find it...
wmctrl with the '-l -p' flags provides a list of windows with names and PIDs. It's in EPEL for CentOS 6, though not 5. It probably wouldn't be too hard to build for CentOS 5 if you needed it there.
Ron