<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <!--Converted with LaTeX2HTML 96.1-c (Feb 29, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --> <HTML> <HEAD> <TITLE>10.4 Process information and control</TITLE> <META NAME="description" CONTENT="10.4 Process information and control"> <META NAME="keywords" CONTENT="lpg"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <LINK REL=STYLESHEET HREF="lpg.css"> </HEAD> <BODY LANG="EN"> <A NAME="tex2html2132" HREF="node145.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="/icons//next_motif.gif"></A> <A NAME="tex2html2130" HREF="node136.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="/icons//up_motif.gif"></A> <A NAME="tex2html2124" HREF="node143.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="/icons//previous_motif.gif"></A> <A NAME="tex2html2134" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="/icons//contents_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html2133" HREF="node145.html">10.4.1 kvm routines</A> <B>Up:</B> <A NAME="tex2html2131" HREF="node136.html">10 Porting Applications to </A> <B> Previous:</B> <A NAME="tex2html2125" HREF="node143.html">10.3 Terminal I/O</A> <BR> <P> <H1><A NAME="SECTION001140000000000000000">10.4 Process information and control</A></H1> <P> Programs such as <EM>ps</EM>, <EM>top</EM>, and <TT>free</TT> 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. <P> <BR> <HR> <UL> <LI> <A NAME="tex2html2135" HREF="node145.html#SECTION001141000000000000000">10.4.1 <EM>kvm</EM> routines</A> <LI> <A NAME="tex2html2136" HREF="node146.html#SECTION001142000000000000000">10.4.2 <EM>ptrace</EM> and the <EM>/proc</EM> filesystem</A> <LI> <A NAME="tex2html2137" HREF="node147.html#SECTION001143000000000000000">10.4.3 Process control under Linux</A> </UL> <BR> <HR> <P><ADDRESS> <I>Converted on: <BR> Fri Mar 29 14:43:04 EST 1996</I> </ADDRESS> </BODY> </HTML>