Process ID and special processes

原创 2006年05月17日 14:51:00

Process ID and special processes

(From 8.2. Process Identifiers)


Process ID

1. Keywords: unique, reuse


2. "unique: "Because the process ID is the only well-known identifier of a process that is always unique, it is often used as a piece of other identifiers, to guarantee uniqueness."


3.reuse: Instant reuse? no. "Most UNIX systems implement algorithms to delay reuse so that newly created processes are assigned IDs different from those used by processes that terminated recently. This prevents a new process from being mistaken for the previous process to have used the same ID."


Special processes


1. NOTE: the details differ from implementation to implementation.

2. ALL:

0         swapper (scheduler process)       system process

1         init process                              user process                

2         pagedaemon                            kernel process (NOTE: on some virtual memory implementations of the UNIX System)


About swapper:

"No program on disk corresponds to this process, which is part of the kernel and is known as a system process."


About init process:

" Invoked by the kernel at the end of the bootstrap procedure. The program file for this process was /etc/init in older versions of the UNIX System and is /sbin/init in newer versions. This process is responsible for bringing up a UNIX system after the kernel has been bootstrapped. init usually reads the system-dependent initialization files (the /etc/rc* files or /etc/inittab and the files in /etc/init.d)and brings the system to a certain state, such as multiuser. The init process never dies. It is a normal user process, not a system process within the kernel, like the swapper, although it does run with superuser privileges. Later in this chapter, we'll see how init becomes the parent process of any orphaned child process."


About pagedaemon:

"This process is responsible for supporting the paging of the virtual memory system."


3. What is bootstrap?



4. Kernel processes provide operating system services, for example, pagedaemon.


Figure 1.1

Figure 1.2

关于 Dead Connection Detection, Resource Limits, V$SESSION, V$PROCESS and OS processes ( 601605.1)

Applies to: Oracle Database - Enterprise Edition - Version and later Oracle Net Services ...

threads, processes, process groups and sessions

主要是相关知识的初步整理。 session > process group > process > thread ps j可以查看进程的PID,PPID,PGID,SID信息...

Handle inter-process communication between PhantomJS and Golang processes via hixie-76 websockets

Although PhantomJS version 1.9 does have WebSocket support, that support is limited to the hixie-76 ...

说说Erlang的Special Process和SASL Error Logging

转载请注明,来自: 一、什么是Special Process 请看文档说明: Special Process is a...

Special Encryption- Functional /Attribute-based/ID-based

Special Encryption- Functional /Attribute-based/ID-based Functional

ZOJ 3806 Incircle and Circumcircle 【几何】【special judge】

浙大月赛 几何

Android 开发指南 翻译9: Processes and Threads

Android 开发指南 翻译9: Processes and Threads 进程和线程 When an application component starts and...

Google API 翻译:Processes and Threads


Android Guide Dev 之Processes and Threads

Processes and ThreadsWhen an application component starts and the application does not have any othe...

Creating Processes: Sessions and Integrity Levels

Changing Integrity Levels  There are times when you might want to create a process with a differen...
  • kaylc
  • kaylc
  • 2012年09月03日 16:46
  • 1113
您举报文章:Process ID and special processes