LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2010, 07:44 PM   #1
GrubbySeismic
Member
 
Registered: Jan 2010
Location: Twickenham, UK
Distribution: OpenSolaris2009.06x86 || Linpus Lite 1.2 ||Debian (Lenny kernel 2.6 && Gnome 2)
Posts: 43

Rep: Reputation: 15
Question MAN page on Mount (8): translation for explanation of "current process"


As both UID and GID maintain they must have an associated value to function, that is the ID of the "current process" by default. Ok, I got that down.

Now: all the process ID's I can observe (through System Monitor) have ID-numbers in the thousands. The group number of root is zero and that of "users" is one-hundred. The GID of /windows (on my system) is 46. Why?

I'm assuming that the number is meant to be in octal, but is there a list that I pull up?...

Last edited by GrubbySeismic; 02-04-2010 at 07:45 PM. Reason: Typo
 
Old 02-04-2010, 08:18 PM   #2
adamben
Member
 
Registered: Feb 2007
Distribution: slackware,gentoo,ubuntu
Posts: 50

Rep: Reputation: 17
System groups are usually below 100 - Anything >= 100 are typically your groups for random purposes.

See here:
http://www.yolinux.com/TUTORIALS/Lin...ingGroups.html
 
1 members found this post helpful.
Old 02-04-2010, 10:15 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,389

Rep: Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774
I think you are confusing different 'IDs'.

Every user on a system must have a UID - user id (see /etc/passwd) and a GID - group id (see /etc/passwd & /etc/group).
root user is always UID = 0, GID = 0.

Every process on a system must have a PID - process id; dynamically generated by the kernel (PID 1 is the init process and never changes).
PIDs (apart from init = 1) are recyled (re-used) when the kernel reached PID 9999, assuming the 'next' PID is not currently being used.

Note that UIDs, GIDs and PIDs are separate lists or number-spaces, so the same value can appear in all of those lists, but do not interfere with each other.

Think of 3 different streets, all numbered the same; there's no house confusion because they are on different streets.
(Actually, there's no PID=0, but you get the point).


BTW, all these nums are decimal.
 
1 members found this post helpful.
  


Reply


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
Can' open any "man page" arnuld Linux - Desktop 8 01-22-2009 01:53 AM
use of "man [page] | col -b" with popen(); mk27 Linux - General 0 09-26-2008 01:36 PM
LXer: The "Baby" Man Page: More Linux and Unix Jokes LXer Syndicated Linux News 1 09-20-2008 10:43 PM
"Man page"-ERROR preeth45 Slackware 3 03-06-2007 07:33 AM
Man Page "Standards" or Writing Guides? TGWDNGHN Programming 3 11-25-2005 08:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:12 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
Open Source Consulting | Domain Registration