A Process and Its Resources

   

A process is a container used to link the system resources needed during the execution of its kthreads. A process must have a unique identity (its PID, or process identifier number), and the kernel needs a means of tracking system resources allocated for process use. To this end, the kernel employees several linked data structures to coordinate thread access to code, data, shared memory objects, files, and the I/O system.

From the process's point of view, the proc table (process table) is our starting point in the study of HP-UX internals. As we see in Figure 5-1, the proc table ties a process to its kthreads, virtual memory mappings, open file descriptors, and other system resources and services.

Figure 5-1. Kernel Process Tables

graphics/05fig01.gif




HP-UX 11i Internals
HP-UX 11i Internals
ISBN: 0130328618
EAN: 2147483647
Year: 2006
Pages: 167

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net