How are processes created and deleted in UNIX Operating system?

1 answer

Answer

1118091

2026-03-05 01:10

+ Follow

In UNIX, processes are created using the fork() system call, which creates a new process by duplicating the calling process. The new process, known as the child process, can then execute a different program using the exec() family of functions. Processes are deleted when they complete their execution, or they can be terminated by another process using the kill() system call, which sends a signal to terminate the specified process. Once a process terminates, its resources are reclaimed by the operating system, though it may remain in a "zombie" state until its parent process retrieves its exit status.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.