Keywords: lpg

Next: 10.4.1 kvm routines Up: 10 Porting Applications to Previous: 10.3 Terminal I/O

# 10.4 Process information and control

Programs such as ps, top, and `free` must have some way to obtain information from the kernel about a processes and system resources. Similarly, debuggers and other like tools need the ability to control and inspect a running process. These features have been provided by a number of interfaces by different versions of UNIX, and nearly all of them are either machine-specific or tied to a particular kernel design. So far, there has been no universally-accepted interface for this kind of process-kernel interaction.

- 10.4.1 kvm routines
- 10.4.2 ptrace and the /proc filesystem
- 10.4.3 Process control under Linux