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

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

541


What is fork()?

599


Explain linking across directories?

536


Explain what are the system calls used for process management?

512


What is the very first process created by kernel?

592






What is daemon?

532


Which ipc is faster?

565


Max relax-able permission value with out giving write permission to others?

566


Tell me set-user-id is related to (in unix)?

547


What is unix ipc?

551


Explain how do you execute one program from within another?

529


Please describe the initial process sequence while the system boots up?

575


What are the various schemes available in ipc?

553


What is ln(linking)?

581


What are the various schemes available?

543