Krishna Logo
qa training in canada now
Divied
Call: Anusha @ 1 (877) 864-8462

 

Latest News
Home Navigation Divied
INTERVIEW Navigation Divied UNIX INTERVIEW QUESTIONS Navigation Divied What are various IDs associated with a process?
What Are Various IDs Associated With A Process?
What are various IDs associated with a process?

Ans: Unix identifies each process with a unique integer called ProcessID. The process that executes the request for creation of a process is called the 'parent process' whose PID is 'Parent Process ID'. Every process is associated with a particular user called the 'owner' who has privileges over the process. The identification for the user is 'UserID'. Owner is the user who executes the process. Process also has 'Effective User ID' which determines the access privileges for accessing resources like files.
Getpid () -process id
Getppid () -parent process id
Getuid () -user id
Geteuid () -effective user id


Shadow Bottom
 
 
© 2005 -