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?

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 8.0.3.0 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

转载请注明,来自:http://blog.csdn.net/skyman_2001 一、什么是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系统就会为该程序启动一个新的Linux进程,该进程只有一条执行线程。同一程序的所有组件都默认在这条线程(称为”主线程”)中运行。当启动一...

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
举报原因:
原因补充:

(最多只允许输入30个字)