What are the system calls used for process management:

Answer Posted / k.sri ganesh

fork() - To Duplicate the Process
exec() - Family of Functions Replace the calling process
image with new process image

getpid() - To get process id
getppid() - To get the parent process id
getpgrp() - To get the process group


wait() - To wait the calling process to get child's exit status
sleep() - To suspend the execution of the process for some
seconds
kill() - To send signal to a process
exit()-terminate the calling process
brk()-change data segment size
signal()-ANSI c signal handler
nice()-run a program with modified scheduling priority

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are two different models of ipc differentiate both?

573


What is the very first process created by kernel?

586


Explain linking across directories?

532


How to get or set an environment variable from a program?

538


What is ln(linking)?

578






Which ipc is faster?

563


Explain the advantage of executing a process in background?

505


Explain the system calls used for process management?

540


What is daemon?

526


Which ipc is the fastest in unix?

543


How to write the program on full-duplex communication on bidirectional(e.g using two pipes)?

582


What is ipc port?

557


Please explain fork() system call?

553


Explain the initial process sequence while the system boots up?

545


What are the various schemes available in ipc?

549