[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[67d0fc3b] | 7 | <!ENTITY libgtop-download-http "http://ftp.gnome.org/pub/GNOME/sources/libgtop/&gnome-version;/libgtop-&libgtop-version;.tar.bz2">
|
---|
| 8 | <!ENTITY libgtop-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/libgtop/&gnome-version;/libgtop-&libgtop-version;.tar.bz2">
|
---|
[dd535a0] | 9 | <!ENTITY libgtop-md5sum "b006baa3bd486005411a03534b45708e">
|
---|
| 10 | <!ENTITY libgtop-size "750 KB">
|
---|
| 11 | <!ENTITY libgtop-buildsize "14 MB">
|
---|
| 12 | <!ENTITY libgtop-time "0.3 SBU">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[dd535a0] | 15 | <sect1 id="libgtop" xreflabel="LibGTop-&libgtop-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[dd3f20f0] | 20 | <?dbhtml filename="libgtop.html"?>
|
---|
[dd535a0] | 21 | <title>LibGTop-&libgtop-version;</title>
|
---|
[ad45d1a] | 22 |
|
---|
[fdca4266] | 23 | <sect2>
|
---|
[dd535a0] | 24 | <title>Introduction to <application>LibGTop</application></title>
|
---|
[fdca4266] | 25 |
|
---|
[dd535a0] | 26 | <para>The <application>LibGTop</application> package contains the
|
---|
[fdca4266] | 27 | <application><acronym>GNOME</acronym></application> top libraries.</para>
|
---|
| 28 |
|
---|
| 29 | <sect3><title>Package information</title>
|
---|
| 30 | <itemizedlist spacing='compact'>
|
---|
| 31 | <listitem><para>Download (HTTP): <ulink
|
---|
| 32 | url="&libgtop-download-http;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download (FTP): <ulink
|
---|
| 34 | url="&libgtop-download-ftp;"/></para></listitem>
|
---|
[67d0fc3b] | 35 | <listitem><para>Download MD5 sum: &libgtop-md5sum;</para></listitem>
|
---|
[fdca4266] | 36 | <listitem><para>Download size: &libgtop-size;</para></listitem>
|
---|
[67d0fc3b] | 37 | <listitem><para>Estimated disk space required:
|
---|
[fdca4266] | 38 | &libgtop-buildsize;</para></listitem>
|
---|
| 39 | <listitem><para>Estimated build time:
|
---|
| 40 | &libgtop-time;</para></listitem></itemizedlist>
|
---|
| 41 | </sect3>
|
---|
| 42 |
|
---|
[dd535a0] | 43 | <sect3><title><application>LibGTop</application> dependencies</title>
|
---|
[fdca4266] | 44 | <sect4><title>Required</title>
|
---|
[7c461b3] | 45 | <para><xref linkend="glib2"/></para>
|
---|
[67d0fc3b] | 46 | </sect4>
|
---|
| 47 |
|
---|
[fdca4266] | 48 | <sect4><title>Optional</title>
|
---|
[dd535a0] | 49 | <para><xref linkend="popt"/>,
|
---|
| 50 | <xref linkend="gdbm"/> and
|
---|
[67d0fc3b] | 51 | X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
|
---|
| 52 | </sect4>
|
---|
[fdca4266] | 53 | </sect3>
|
---|
| 54 |
|
---|
| 55 | </sect2>
|
---|
| 56 |
|
---|
| 57 | <sect2>
|
---|
[dd535a0] | 58 | <title>Installation of <application>LibGTop</application></title>
|
---|
[fdca4266] | 59 |
|
---|
[29590dda] | 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../without-gnome.xml"/>
|
---|
| 61 |
|
---|
[dd535a0] | 62 | <para>Install <application>LibGTop</application> by running the following
|
---|
[67d0fc3b] | 63 | commands:</para>
|
---|
[fdca4266] | 64 |
|
---|
[29590dda] | 65 | <screen><userinput><command>./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` \
|
---|
[67d0fc3b] | 66 | --infodir=$GNOME_PREFIX/share/info &&
|
---|
[dd535a0] | 67 | make</command></userinput></screen>
|
---|
[fdca4266] | 68 |
|
---|
[dd535a0] | 69 | <para>This package does not come with a test suite.</para>
|
---|
| 70 |
|
---|
| 71 | <para>Now, as the root user:</para>
|
---|
| 72 |
|
---|
| 73 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
| 74 |
|
---|
| 75 | <para>If you passed <option>--with-libgtop-examples</option> to the
|
---|
| 76 | <command>configure</command> script to build the example programs, install
|
---|
| 77 | them using the following commands as the root user:</para>
|
---|
| 78 |
|
---|
| 79 | <screen><userinput role='root'><command>install -v -m755 -d $GNOME_PREFIX/share/libgtop-&libgtop-version;/examples &&
|
---|
| 80 | install -v -m755 examples/.libs/* \
|
---|
| 81 | $GNOME_PREFIX/share/libgtop-&libgtop-version;/examples</command></userinput></screen>
|
---|
[fdca4266] | 82 | </sect2>
|
---|
| 83 |
|
---|
[67d0fc3b] | 84 | <sect2>
|
---|
| 85 | <title>Command explanations</title>
|
---|
| 86 |
|
---|
| 87 | <para><parameter>--infodir=$GNOME_PREFIX/share/info</parameter>: This switch
|
---|
| 88 | installs the info documentation in
|
---|
| 89 | <filename class='directory'>$GNOME_PREFIX/share/info</filename> instead of
|
---|
| 90 | <filename class='directory'>$GNOME_PREFIX/info</filename>.</para>
|
---|
| 91 |
|
---|
[dd535a0] | 92 | <para><option>--with-libgtop-examples</option>: Adding this parameter to
|
---|
| 93 | the <command>configure</command> script will build numerous example
|
---|
| 94 | programs.</para>
|
---|
| 95 |
|
---|
| 96 | <para><option>--with-libgtop-inodedb</option>: Add this parameter to the
|
---|
| 97 | <command>configure</command> script if you have
|
---|
| 98 | <application>GDBM</application> installed and wish to build the inodedb
|
---|
| 99 | programs.</para>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2>
|
---|
| 104 | <title>Configuring <application>LibGTop</application></title>
|
---|
| 105 |
|
---|
| 106 | <sect3><title>Configuration information</title>
|
---|
| 107 | <para>If <envar>$GNOME_PREFIX</envar> is anything other than
|
---|
| 108 | <filename class='directory'>/usr</filename>, update the
|
---|
| 109 | <envar>INFOPATH</envar> environment variable by adding the following
|
---|
| 110 | to your system-wide or personal profile:</para>
|
---|
| 111 |
|
---|
| 112 | <screen><literal>export INFOPATH=/usr/share/info:$GNOME_PREFIX/share/info</literal></screen>
|
---|
| 113 | </sect3>
|
---|
| 114 |
|
---|
[67d0fc3b] | 115 | </sect2>
|
---|
| 116 |
|
---|
[fdca4266] | 117 | <sect2>
|
---|
| 118 | <title>Contents</title>
|
---|
| 119 |
|
---|
[dd535a0] | 120 | <para>The <application>LibGTop</application> package contains the
|
---|
| 121 | <filename class="libraryfile">libgtop-2.0</filename> library and
|
---|
| 122 | optionally, <command>file_by_inode2</command>,
|
---|
| 123 | <command>mkinodedb2</command> and numerous example programs.</para>
|
---|
[fdca4266] | 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2><title>Description</title>
|
---|
| 128 |
|
---|
[dd535a0] | 129 | <sect3><title>libgtop-2.0 library</title>
|
---|
| 130 | <para><filename class="libraryfile">libgtop-2.0</filename> contains the
|
---|
[67d0fc3b] | 131 | functions that allow access to system performance data.</para></sect3>
|
---|
[fdca4266] | 132 |
|
---|
| 133 | </sect2>
|
---|
[ad45d1a] | 134 |
|
---|
| 135 | </sect1>
|
---|