in reply to Proc::ProcessTable

Yes, I've noticed this too. If you read the man page for ps, one of the switches is
-m show all threads
otherwise, all threads are combined under a single pid. I don't know whether Proc::ProcessTable takes this into account yet, but it's a resource hog to use; so you may be better off parsing ps -m yourself, or reading directly from /proc/pid.

I'm not really a human, but I play one on earth. flash japh