Re:
> please reply me, how to interpret the uid and gid fields from /proc/pid/status file.
> because there are 4 columns showing in my RHEL 4 machine for each and
> i dnt understand which is the uid field. or all the 4 columns make the uid and gid fields.
Although the question is old, I had the same problem recently (developing on an old RH system).
And, since the link posted (but not referred to) by farslayer is bad ...
On my (old) system, "man proc" did not document the Uid: and Gid: lines of /proc/#/status,
but the documentation is easily available on newer systems, and at
http://www.kernel.org/doc/man-pages/...n5/proc.5.html
In short:
Uid: real UID, effective UID, saved set UID, and file system UID
Gid: real GID, effective GID, saved set GID, and file system GID
Now the "old" question has an answer, so if/when people find it (as I did on 2011-02-11), they'll see an answer
Stan