Identified cause of duplicate PIDs as outlined in Issue #61
Identified cause of duplicate PIDs as outlined in Issue #61

http://code.google.com/p/psutil/issues/detail?id=61

The KERN_PROC_ALL directive for sysctl includes all visible kernel threads, so 
there are duplicate PIDs for some. Switching to KERN_PROC_PROC which is 
processes only avoids this: 

KERN_PROC_ALL
  all processes and kernel visible threads
KERN_PROC_PROC
  all processes, without threads 



git-svn-id: 9f18dd852162ff6c59c5533c0914e9cf81af9e7c@522 d8a29897-7e4b-0410-a74a-8bb4c295346f

elventear/psutil,elventear/psutil