摘要:
进程是操作系统的一个核心概念。每个进程都有自己唯一的标识:进程ID,也有自己的生命周期。一个典型的进程的生命周期如图4-1所示。 进程都有父进程,父进程也有父进程,这就形成了一个以init进程为根的家族树。除此以外,进程还有其他层次关系:进程、进程组和会话。 进程组和会话在进程之间形成了两级的层次: 阅读全文
摘要:
What is the purpose of the controlling terminal? Say that I have opened some program from the terminal, and I have redirected its stdin and stdout and 阅读全文