Resources » Articles/Knowledge Sharing » Computer & Technology

Unix process management

Updated: Category: Computer & Technology
Author: Member Level: GoldPoints: 5

Every process has a process identification number that is used as the index to the process table. The Unix operating system provides a number of system calls for process management. The fork system call is used to create an identical copy of a process. The created process is called the child process and the original process is called as the parent process.

The exit( ) system call is called by a process that wants to terminate itself and leave a status to its parent. Inter-process synchronization can be achieved as follows. A parent process can get blocked using the wait system call until the termination of one of its child process. Signals are used to inform a process about the occurrence of an event. The kernel handles the signals in the context of the process that receive the signal by executing a routine called as the signal handler. The exec system call and its variation are used to execute another program by passing the arguments and environmental variables. The nice system call can be used by a process to control their scheduling priority. The following system calls allocreg, attachreg, growreg, loadreg, freereg, detachreg are used for memory management.

Did you like this resource? Share it with your friends and show your love!

Responses to "Unix process management"

No responses found. Be the first to respond...


Post Comment:

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:   Sign In to fill automatically.
    Email: (Will not be published, but required to validate comment)

    Type the numbers and letters shown on the left.

    Submit Article     Return to Article Index
    Awards & Gifts
    Top Contributors
    TodayLast 7 Daysmore...

    Online Members

    ISC Technologies, Kochi - India. © All Rights Reserved.