1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
9 | <!ENTITY libgtop-md5sum "b006baa3bd486005411a03534b45708e">
|
---|
10 | <!ENTITY libgtop-size "750 KB">
|
---|
11 | <!ENTITY libgtop-buildsize "14 MB">
|
---|
12 | <!ENTITY libgtop-time "0.3 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libgtop" xreflabel="LibGTop-&libgtop-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="libgtop.html"?>
|
---|
21 | <title>LibGTop-&libgtop-version;</title>
|
---|
22 |
|
---|
23 | <sect2>
|
---|
24 | <title>Introduction to <application>LibGTop</application></title>
|
---|
25 |
|
---|
26 | <para>The <application>LibGTop</application> package contains the
|
---|
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>
|
---|
35 | <listitem><para>Download MD5 sum: &libgtop-md5sum;</para></listitem>
|
---|
36 | <listitem><para>Download size: &libgtop-size;</para></listitem>
|
---|
37 | <listitem><para>Estimated disk space required:
|
---|
38 | &libgtop-buildsize;</para></listitem>
|
---|
39 | <listitem><para>Estimated build time:
|
---|
40 | &libgtop-time;</para></listitem></itemizedlist>
|
---|
41 | </sect3>
|
---|
42 |
|
---|
43 | <sect3><title><application>LibGTop</application> dependencies</title>
|
---|
44 | <sect4><title>Required</title>
|
---|
45 | <para><xref linkend="glib2"/></para>
|
---|
46 | </sect4>
|
---|
47 |
|
---|
48 | <sect4><title>Optional</title>
|
---|
49 | <para><xref linkend="popt"/>,
|
---|
50 | <xref linkend="gdbm"/> and
|
---|
51 | X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
|
---|
52 | </sect4>
|
---|
53 | </sect3>
|
---|
54 |
|
---|
55 | </sect2>
|
---|
56 |
|
---|
57 | <sect2>
|
---|
58 | <title>Installation of <application>LibGTop</application></title>
|
---|
59 |
|
---|
60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../without-gnome.xml"/>
|
---|
61 |
|
---|
62 | <para>Install <application>LibGTop</application> by running the following
|
---|
63 | commands:</para>
|
---|
64 |
|
---|
65 | <screen><userinput><command>./configure --prefix=`pkg-config --variable=prefix ORBit-2.0` \
|
---|
66 | --infodir=$GNOME_PREFIX/share/info &&
|
---|
67 | make</command></userinput></screen>
|
---|
68 |
|
---|
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>
|
---|
82 | </sect2>
|
---|
83 |
|
---|
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 |
|
---|
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 |
|
---|
115 | </sect2>
|
---|
116 |
|
---|
117 | <sect2>
|
---|
118 | <title>Contents</title>
|
---|
119 |
|
---|
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>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <sect2><title>Description</title>
|
---|
128 |
|
---|
129 | <sect3><title>libgtop-2.0 library</title>
|
---|
130 | <para><filename class="libraryfile">libgtop-2.0</filename> contains the
|
---|
131 | functions that allow access to system performance data.</para></sect3>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 | </sect1>
|
---|