What are the system calls used for process management:

Answers were Sorted based on User's Feedback



What are the system calls used for process management:..

Answer / chandrasekhar kar

The system calls for process management are
Fork() > create child process
Vfork() > create child process (copy-on-write only)
exec() > exec to do a different task
wait() > wait for a process to complete execution
kill() > to send a signal to a process
signal() > to handle a signal
sigaction() > handle signal
exit() > exit from a process execution
_exit() > same as exit() but with out clean up

and many more ................

Is This Answer Correct ?    32 Yes 4 No

What are the system calls used for process management:..

Answer / 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

What are the system calls used for process management:..

Answer / guest

The system calles for process management are fork() which
will create a process
wait() will wait for exit status of all child processes.

Is This Answer Correct ?    13 Yes 6 No

What are the system calls used for process management:..

Answer / prashanth

The system calls for process management are fork() and vfork
() which will create a process.

Is This Answer Correct ?    10 Yes 5 No

What are the system calls used for process management:..

Answer / marimuthu

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

and etc

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More Unix IPC Interview Questions

Explain how do you execute one program from within another?

0 Answers  


Explain the system calls used for process management?

0 Answers  


What is ipc in unix?

0 Answers  


Which ipc is faster?

0 Answers  


What is ln(linking)?

0 Answers  






Please explain fork() system call?

0 Answers  


What are the various schemes available?

0 Answers  


How to write the program on full-duplex communication using 2 FIFOs

0 Answers  


What are various IDs associated with a process?

4 Answers  


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

2 Answers   Infosys,


What is an advantage of executing a process in background?

2 Answers  


How can a parent and child process communicate?

3 Answers   TCS,


Categories