LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices



Reply
 
Search this Thread
Old 10-29-2007, 03:34 AM   #1
sanjaykhuntia
LQ Newbie
 
Registered: Oct 2007
Posts: 14

Rep: Reputation: 0
uid and gid fileds from /proc/pid/status


hi,

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.

do reply back.

thanks,
sanjay
 
Old 10-29-2007, 11:47 PM   #2
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
You have asked the same question basically 4 or 5 times now.. Please stick with a single thread and try to explain a little better what exactly you are trying to figure out..

If you don't get a response, please don't post the same questions (all about /proc/pid anyway...) over and over in new threads..

http://www.ncsa.uiuc.edu/UserInfo/Re...files/proc.htm

Last edited by farslayer; 10-29-2007 at 11:54 PM.
 
Old 02-11-2011, 02:35 PM   #3
sieler
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Rep: Reputation: 0
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
 
  


Reply

Tags
contents


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is uid and gid rmanocha Linux - Software 9 08-19-2008 12:03 AM
uid,gid from proc sanjaykhuntia Linux - Enterprise 1 10-28-2007 08:50 PM
cifs not using uid and gid mattd7591 Linux - General 10 07-19-2007 12:30 PM
VmSize : Regarding /proc/<pid>/status shivaligupta Programming 0 04-06-2006 05:33 AM
What is my uid/gid? Jeebizz Slackware 2 11-22-2005 12:39 PM


All times are GMT -5. The time now is 03:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration