Elucidate on the different IDs used in the UNIX process.

devquora
devquora

Posted On: Feb 22, 2018

 

The Process ID is a special number that UNIX uses to distinguish each procedure. The procedure executes to start different procedures and is known as the parent procedure and its ID is characterized as PPID (Parent Process ID).

getppid() – Is to recover PPID 

Each procedure is related to a particular client and is known as the owner of the procedure. The owner has every one of the benefits over the procedure. The owner is likewise the client who executes the procedure. The ID for a client is User ID. The procedure likewise connected with Effective User ID, which decides the entrance benefits to getting to assets like documents.

getpid() – Retrieve process id 
getuid() – Retrieve client id 
geteuid() – Retrieve powerful client id

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Unix Interview Questions

    What do you understand by the term filters?

    The term “filters” is frequently used to allude to any program, which can take inputs from standard inputs..

    Unix Interview Questions

    Differentiate between paging and swapping?

    Only the required memory pages are moved to the primary memory for execution...

    Unix Interview Questions

    List some of the frequent shells used in Unix along with their indicators

    Some of the frequently used shells in UNIX include the following:..