ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/docs/libstatgrab/statgrab.xml
(Generate patch)

Comparing projects/libstatgrab/docs/libstatgrab/statgrab.xml (file contents):
Revision 1.4 by ats, Mon Jan 5 17:27:29 2004 UTC vs.
Revision 1.6 by tdb, Sat Mar 6 23:35:20 2004 UTC

# Line 85 | Line 85
85        </funcprototype>
86  
87        <funcprototype>
88 +        <funcdef>network_iface_stat_t *<function>get_network_iface_stats</function></funcdef>
89 +        <paramdef>int *<parameter>entries</parameter></paramdef>
90 +      </funcprototype>
91 +
92 +      <funcprototype>
93          <funcdef>page_stat_t *<function>get_page_stats</function></funcdef>
94          <void/>
95        </funcprototype>
# Line 118 | Line 123
123        <function>statgrab_init</function> must be the first
124        function you call before you start to use libstatgrab; it performs all
125        the one-time initialisation operations that need setuid/setgid
126 <      privileges (for instance, on *BSD it opens a descriptor to be able to
126 >      privileges. For instance, on *BSD it opens a descriptor to be able to
127        read kernel structures later on, and on Solaris it reads the device
128 <      mappings that are only accessible by root). Once this has run,
129 <      the other libstatgrab functions no longer need elevated privileges.
130 <      It is therefore a good idea to call
128 >      mappings that in some cases are only accessible by root (machines with
129 >      a /dev/osa). Once this has run, the other libstatgrab functions no longer
130 >      need elevated privileges. It is therefore a good idea to call
131        <function>statgrab_drop_privileges</function>, which discards
132        setuid and setgid privileges, immediately after you call
133        <function>statgrab_init</function>, unless your application has
# Line 134 | Line 139
139        non-zero on failure.
140      </para>
141      <para>
142 <      The library was originally written to support the i-scream central
143 <      monitoring system, but has since become a standalone package. It
144 <      has been ported to work on Linux, NetBSD, FreeBSD, Solaris and Cygwin.
142 >      The library was originally written to support the i-scream
143 >      central monitoring system, but has since become a standalone
144 >      package. It has been ported to work on Linux, NetBSD, FreeBSD,
145 >      OpenBSD, DragonFly BSD, Solaris and Cygwin.
146      </para>
147    </refsect1>
148    
# Line 167 | Line 173
173          </citerefentry>
174          <citerefentry>
175            <refentrytitle>get_network_stats</refentrytitle>
176 +          <manvolnum>3</manvolnum>
177 +        </citerefentry>
178 +        <citerefentry>
179 +          <refentrytitle>get_network_iface_stats</refentrytitle>
180            <manvolnum>3</manvolnum>
181          </citerefentry>
182          <citerefentry>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines