1998-10-12 Martin Baulig <martin@home-of-linux.org> * Makefile.am: New file. We are now using automake here. * libgtopConf.sh: Removed. Since libgtop-docu now requires LibGTop to be installed we use the installed version of this file. * Makefile: Removed.
188 lines
5.1 KiB
Plaintext
188 lines
5.1 KiB
Plaintext
<!-- $Id$ -->
|
|
|
|
<!doctype book PUBLIC "-//Davenport//DTD DocBook V3.0//EN" [
|
|
<!-- Site-specific entities, change them if you want to copy this
|
|
document somewhere else. -->
|
|
<!entity home-of-linux "http://www.home-of-linux.org/">
|
|
|
|
<!-- Some general entities -->
|
|
|
|
<!entity libgtop "<productname>libgtop</productname>">
|
|
|
|
<!-- Some abbreviations for often used filenames and functions. -->
|
|
|
|
<!entity gnome-libgtop-check.m4 "<filename>macros/gnome-libgtop-check.m4</filename>">
|
|
<!entity libgtopConf.sh "<filename>libgtopConf.sh</filename>">
|
|
<!entity glibtop-free "<function>glibtop_free ()</function>">
|
|
<!entity glibtop-get-procmem "<function>glibtop_get_proc_mem ()</function>">
|
|
<!entity mmap "<function>mmap ()</function>">
|
|
<!entity MAP-SHARED "<parameter>MAP_SHARED</parameter>">
|
|
<!entity MAP-PRIVATE "<parameter>MAP_PRIVATE</parameter>">
|
|
<!entity pmem-vsize "<structfield>procmem.vsize</structfield>">
|
|
<!entity pmem-size "<structfield>procmem.size</structfield>">
|
|
<!entity pmem-resident "<structfield>procmem.resident</structfield>">
|
|
<!entity pmem-shared "<structfield>procmem.shared</structfield>">
|
|
<!entity pmem-rss "<structfield>procmem.rss</structfield>">
|
|
|
|
<!-- This will include a sample `libgtopConf.sh'. -->
|
|
|
|
<!entity example-libgtopConf-sh SYSTEM "libgtopConf.sh">
|
|
|
|
<!-- Some entities to include other files. -->
|
|
|
|
<!entity include-autoconf.sgml SYSTEM "autoconf.sgml">
|
|
<!entity include-reference.sgml SYSTEM "reference.sgml">
|
|
|
|
<!-- The following entities are used in the automatically generated
|
|
`reference.sgml' to include custom descriptions of the features.
|
|
-->
|
|
|
|
<!entity include-cpu.sgml "">
|
|
<!entity include-mem.sgml "">
|
|
<!entity include-swap.sgml "">
|
|
<!entity include-uptime.sgml SYSTEM "features/uptime.sgml">
|
|
<!entity include-loadavg.sgml "">
|
|
<!entity include-shm-limits.sgml "">
|
|
<!entity include-msg-limits.sgml "">
|
|
<!entity include-sem-limits.sgml "">
|
|
<!entity include-proclist.sgml SYSTEM "features/proclist.sgml">
|
|
<!entity include-proc-state.sgml "">
|
|
<!entity include-proc-uid.sgml "">
|
|
<!entity include-proc-mem.sgml SYSTEM "features/procmem.sgml">
|
|
<!entity include-proc-time.sgml "">
|
|
<!entity include-proc-signal.sgml "">
|
|
<!entity include-proc-kernel.sgml "">
|
|
<!entity include-proc-segment.sgml "">
|
|
<!entity include-proc-map.sgml "">
|
|
<!entity include-mountlist.sgml "">
|
|
<!entity include-fsusage.sgml "">
|
|
|
|
<!entity include-uptime.txt SYSTEM "features/uptime.txt">
|
|
]>
|
|
<book>
|
|
<bookinfo>
|
|
<title>Using Libgtop in the Gnome Project</title>
|
|
<authorgroup>
|
|
<author>
|
|
<firstname>Martin</firstname>
|
|
<surname>Baulig</surname>
|
|
<affiliation>
|
|
<address>
|
|
<email>martin@home-of-linux.org</email>
|
|
</address>
|
|
</affiliation>
|
|
</author>
|
|
</authorgroup>
|
|
<copyright>
|
|
<year>1998</year>
|
|
<holder>Martin Baulig</holder>
|
|
</copyright>
|
|
|
|
<legalnotice>
|
|
|
|
<para>
|
|
This documentation is free software; you can redistribute
|
|
it and/or modify it under the terms of the GNU General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2 of the License, or (at your option) any later
|
|
version.
|
|
|
|
<para>
|
|
This library is distributed in the hope that it will be
|
|
useful, but WITHOUT ANY WARRANTY; without even the implied
|
|
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
PURPOSE. See the GNU General Public License for more
|
|
details.
|
|
|
|
<para>
|
|
You should have received a copy of the GNU General Public
|
|
License along with this program; if not, write to the Free
|
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
MA 02111-1307 USA
|
|
|
|
<para>
|
|
For more details see the file COPYING in the source
|
|
distribution of &libgtop;.</para>
|
|
|
|
</legalnotice>
|
|
|
|
<abstract>
|
|
<para>
|
|
<literal>
|
|
$Id$
|
|
</literal>
|
|
|
|
<para>
|
|
This is a short introduction in how to use
|
|
<productname>libgtop</productname> in the GNOME project.
|
|
It describes the additional options <filename>configure</filename>
|
|
takes and the information stored in the automatically generated
|
|
<filename>libgtopConf.sh</filename> configuration script.
|
|
|
|
<note>
|
|
<para>
|
|
Documentation about the new <function>table ()</function>
|
|
function can be found here:
|
|
|
|
<itemizedlist>
|
|
<listitem><para>
|
|
<ulink url="&home-of-linux;kernel/table/">
|
|
&home-of-linux;kernel/table/
|
|
</ulink>
|
|
</itemizedlist>
|
|
</note>
|
|
|
|
</abstract>
|
|
|
|
</bookinfo>
|
|
|
|
<toc></toc>
|
|
|
|
<chapter id="autoconf-automake">
|
|
<title>Configuration</title>
|
|
|
|
&include-autoconf.sgml;
|
|
|
|
</chapter>
|
|
|
|
<chapter id="functions">
|
|
<title>Function Reference List</title>
|
|
|
|
&include-reference.sgml;
|
|
|
|
</chapter>
|
|
|
|
<chapter id="porting-libgtop">
|
|
<title>Porting &libgtop; to other systems</title>
|
|
|
|
<para>
|
|
Here are some comments for people porting &libgtop; to other systems.
|
|
|
|
<sect1>
|
|
<title>&glibtop-get-procmem; - Process Memory information</title>
|
|
|
|
<para>
|
|
This section is copied here from the description of
|
|
&glibtop-get-procmem;.
|
|
</para>
|
|
|
|
&include-proc-mem.sgml;
|
|
|
|
</sect1>
|
|
|
|
</chapter>
|
|
|
|
</book>
|
|
|
|
<!--
|
|
Local Variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:2
|
|
sgml-indent-data: t
|
|
End:
|
|
-->
|