The number of used pty's as reported in /proc/sys/kernel/pty/nr is getting constantly larger on my 2.6.32 server.
How can I find out which processes are using the ptys, short of killing them one after another and checking if the usage count decreases?