Get the username , memoery size and thread count for a given PID
I need to get some useful information about process.
my question is,
1. How to get the UID from PID?
2. How to get the process size from PID?
3. How to get the Thread count for a PID?
Please help me on this matter.