ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/web/www/libstatgrab/index.xhtml
Revision: 1.38
Committed: Tue Apr 26 10:25:51 2005 UTC (19 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.37: +15 -1 lines
Log Message:
Official debian packages now available.

File Contents

# Content
1 <!--#include virtual="/doctype.inc" -->
2 <head>
3 <title>
4 i-scream libstatgrab homepage
5 </title>
6 <!--#include virtual="/style.inc" -->
7 </head>
8 <body>
9 <div id="container">
10 <div id="main">
11 <!--#include virtual="/header.inc" -->
12 <div id="contents">
13 <h1 class="top">
14 i-scream libstatgrab homepage
15 </h1>
16 <div id="topnav">
17 <ul>
18 <li>
19 <a href="#what">What is libstatgrab?</a>
20 </li>
21 <li>
22 <a href="#news">News</a>
23 </li>
24 <li>
25 <a href="#download">Downloading</a>
26 </li>
27 <li>
28 <a href="#bindings">Language Bindings</a>
29 </li>
30 <li>
31 <a href="#packages">Packages</a>
32 </li>
33 <li>
34 <a href="#development">Development</a>
35 </li>
36 <li>
37 <a href="#documentation">Documentation</a>
38 </li>
39 <li>
40 <a href="#screenshot">Screenshot</a>
41 </li>
42 </ul>
43 </div>
44 <h2>
45 <a id="what">What is libstatgrab?</a>
46 </h2>
47 <p>
48 libstatgrab is a library that provides cross platform
49 access to statistics about the system on which it's run.
50 It's written in C and presents a selection of useful
51 interfaces which can be used to access key system
52 statistics. The current list of statistics includes CPU
53 usage, memory utilisation, disk usage, process counts,
54 network traffic, disk I/O, and more.
55 </p>
56 <p>
57 The current list of platforms is Solaris 2.x, Linux
58 2.2/2.4/2.6, FreeBSD 4.x/5.x, NetBSD 1.6.x, OpenBSD 3.x,
59 DragonFly BSD 1.0, HP-UX, and Cygwin. The aim is to extend
60 this to include as many operating systems as possible.
61 </p>
62 <p>
63 The package also includes a couple of useful tools. The
64 first, <a href="#screenshot">saidar</a>, provides a
65 curses-based interface to viewing the current state of the
66 system. The second, statgrab, gives a sysctl-style
67 interface to the statistics gathered by libstatgrab. This
68 extends the use of libstatgrab to people writing scripts or
69 anything else that can't easily make C function calls.
70 Included with statgrab is a script to generate an
71 <a href="http://www.mrtg.org">MRTG</a> configuration file
72 to use statgrab.
73 </p>
74 <h2>
75 <a id="news">News</a>
76 </h2>
77 <p>
78 To get notifications of new libstatgrab releases why not
79 subscribe to our project over on
80 <a href="http://freshmeat.net/projects/libstatgrab/">freshmeat</a>?
81 </p>
82 <h3>
83 Tuesday 26 April 2005
84 </h3>
85 <p>
86 Official libstatgrab packages for Debian now
87 <a href="http://packages.debian.org/unstable/source/libstatgrab/">available</a>.
88 </p>
89 <p>
90 Thanks to the work of
91 <a href="mailto:fenio@debian.org">Bartosz Fenski</a>
92 libstatgrab is now available on debian. This replaces our
93 unofficial debian packages which will no longer be
94 updated.
95 </p>
96 <h3>
97 Thursday 3 March 2005
98 </h3>
99 <p>
100 Version 0.11.1 of libstatgrab has been released.<br />
101 Download it from one of our <a href="/mirrors.xhtml">mirrors</a>.
102 </p>
103 <p>
104 This release fixes a handful of minor bugs. Duplex
105 settings were reported incorrectly on linux (half and
106 full duplex were swapped), saidar displayed negative
107 filesystem stats incorrectly, and NFS filesystems were
108 ignored. These have all been fixed.
109 </p>
110 <h3>
111 Friday 12 November 2004
112 </h3>
113 <p>
114 Version 0.11 of libstatgrab has been released.<br />
115 Download it from one of our <a href="/mirrors.xhtml">mirrors</a>.
116 </p>
117 <p>
118 This release brings support for HP-UX (version 11.11), and
119 also fixes a few other minor issues.
120 </p>
121 <h3>
122 Wednesday 25 August 2004
123 </h3>
124 <p>
125 Version 0.10.3 of libstatgrab has been released.<br />
126 Download it from one of our <a href="/mirrors.xhtml">mirrors</a>.
127 </p>
128 <p>
129 This release adds a handful of new features to statgrab, and
130 adds support for FreeBSD 6.0-CURRENT. See the NEWS file in
131 the tarball for more details.
132 </p>
133 <h3>
134 Tuesday 27 July 2004
135 </h3>
136 <p>
137 Version 0.10.2 of libstatgrab has been released.<br />
138 Download it from one of our <a href="/mirrors.xhtml">mirrors</a>.
139 </p>
140 <p>
141 This release fixes a problem with the shared library
142 version number in the last release.
143 </p>
144 <h3>
145 Monday 26 July 2004
146 </h3>
147 <p>
148 Version 0.10.1 of libstatgrab has been released.<br />
149 Download it from one of our <a href="/mirrors.xhtml">mirrors</a>.
150 </p>
151 <p>
152 This release consists almost entirely of bugfixes.
153 We've fixed compile-time errors for recent OpenBSD and
154 NetBSD platforms, and also a minor bug in statgrab
155 that broke network statistics on Solaris. New
156 variables have been added to the pkg-config file to
157 suggest ownership and permissions of binaries, and
158 we've added error reporting functions that store errno
159 values. There's also other minor fixes detailed in the
160 NEWS file.
161 </p>
162 <h3>
163 Thursday 20 May 2004
164 </h3>
165 <p>
166 Version 0.10 of libstatgrab has been released.<br />
167 Download it from one of our <a href="/mirrors.xhtml">mirrors</a>.
168 </p>
169 <p>
170 This release concentrates heavily on standardising the names
171 of functions and structures throughout libstatgrab. Although
172 this will mean changes for existing programs, in the long run
173 we hope it'll make things both clearer and easier. However,
174 for those who still need the old functions we have provided
175 compatibility wrappers. See the NEWS file for details.
176 </p>
177 <p>
178 The other main change in this release is a new function to
179 provide full details on currently running processes. See the
180 documentation for sg_get_process_stats for details. Along with
181 this there are compare functions for use with qsort for sorting
182 process, network, and disk io statistics. We've also introduced
183 error reporting functions that allow calling applications to
184 see why libstatgrab has returned a failure. See sg_get_error.
185 </p>
186 <p>
187 Finally, we've added support for NetBSD 2.0 and tidied up lots
188 of areas of the code. This release does not include the python
189 bindings - they're now available as their own project called
190 <a href="/pystatgrab/">pystatgrab</a>.
191 </p>
192 <h3>
193 Sunday 21 March 2004
194 </h3>
195 <p>
196 pystatgrab, a new package containing a set of Python
197 bindings, has been released. Check out it's
198 <a href="/pystatgrab/">project page</a>.
199 </p>
200 <h2>
201 <a id="download">Downloading</a>
202 </h2>
203 <p>
204 The latest version of libstatgrab can be downloaded from
205 our <a href="/mirrors.xhtml">mirror sites</a>.
206 All downloads are pgp signed using our
207 <a href="/pgpkey.xhtml">PGP Key</a>.
208 </p>
209 <p>
210 For installation instructions see the README and INSTALL
211 files contained within the archive.
212 </p>
213 <h2>
214 <a id="bindings">Language Bindings</a>
215 </h2>
216 <ul>
217 <li>
218 <a href="/pystatgrab/">Python</a>
219 </li>
220 <li>
221 <a href="http://pecl.php.net/statgrab/">PHP (external)</a>
222 </li>
223 <li>
224 <a href="http://search.cpan.org/dist/Unix-Statgrab/">Perl (external)</a>
225 </li>
226 </ul>
227 <p>
228 Here are links to bindings for higher level languages
229 that provide access to libstatgrab. If you've written
230 a binding for another language, please get
231 <a href="mailto:dev@i-scream.org">in touch</a> so we
232 can add a link here.
233 </p>
234 <h2>
235 <a id="packages">Packages of libstatgrab</a>
236 </h2>
237 <ul>
238 <li>
239 <a href="http://www.freebsd.org/cgi/ports.cgi?query=statgrab&amp;stype=all">FreeBSD</a>
240 </li>
241 <li>
242 <a href="http://packages.gentoo.org/search/?sstring=statgrab">Gentoo Linux</a>
243 </li>
244 <li>
245 <a href="http://www.blastwave.org/packages.php/libstatgrab">Solaris (Blastwave)</a>
246 </li>
247 <li>
248 <a href="http://packages.debian.org/unstable/source/libstatgrab/">Debian</a>
249 </li>
250 <li>
251 <a href="ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/libstatgrab/README.html">NetBSD</a>
252 </li>
253 </ul>
254 <p>
255 These are various pre-packaged versions of libstatgrab
256 that you can get for your favourite operating system. If
257 we've missed any out, please let us know.
258 </p>
259 <p>
260 We've noticed that google throws up some RPM's relating
261 to Mandrake and Suse, but no webpage for them.
262 </p>
263 <p>
264 Several attempts were made to submit a port to the
265 OpenBSD folk, but they didn't seem interested in taking
266 it. You can find it
267 <a href="http://ftp.i-scream.org/pub/i-scream/tmp/libstatgrab-0.11-openbsd-port.tar.gz">
268 here</a>.
269 </p>
270 <h2>
271 <a id="development">Development</a>
272 </h2>
273 <ul>
274 <li>
275 <a href="/cgi-bin/cvslog.cgi?period=thisweek&amp;module=projects/libstatgrab">Commits this week</a>
276 </li>
277 </ul>
278 <p>
279 We develop libstatgrab using the CVS revision control system.
280 Using this link you can see what changes we've made this week.
281 For more information on our CVS setup see our
282 <a href="/cvs.xhtml">CVS page</a>.
283 </p>
284 <h2>
285 <a id="documentation">Documentation</a>
286 </h2>
287 <p>
288 The only online documentation we have at the moment is the
289 manual pages converted in to HTML format. It's probably
290 best to start with the overview manual page:
291 </p>
292 <ul>
293 <li>
294 <a href="statgrab.html">statgrab(3)</a>
295 </li>
296 </ul>
297 <p>
298 Then we have the manual pages for each function:
299 </p>
300 <ul>
301 <li>
302 <a href="sg_get_cpu_stats.html">sg_get_cpu_stats(3)</a>
303 </li>
304 <li>
305 <a href="sg_get_disk_io_stats.html">sg_get_disk_io_stats(3)</a>
306 </li>
307 <li>
308 <a href="sg_get_fs_stats.html">sg_get_fs_stats(3)</a>
309 </li>
310 <li>
311 <a href="sg_get_host_info.html">sg_get_host_info(3)</a>
312 </li>
313 <li>
314 <a href="sg_get_load_stats.html">sg_get_load_stats(3)</a>
315 </li>
316 <li>
317 <a href="sg_get_mem_stats.html">sg_get_mem_stats(3)</a>
318 </li>
319 <li>
320 <a href="sg_get_network_iface_stats.html">sg_get_network_iface_stats(3)</a>
321 </li>
322 <li>
323 <a href="sg_get_network_io_stats.html">sg_get_network_io_stats(3)</a>
324 </li>
325 <li>
326 <a href="sg_get_page_stats.html">sg_get_page_stats(3)</a>
327 </li>
328 <li>
329 <a href="sg_get_process_stats.html">sg_get_process_stats(3)</a>
330 </li>
331 <li>
332 <a href="sg_get_user_stats.html">sg_get_user_stats(3)</a>
333 </li>
334 </ul>
335 <h2>
336 <a id="screenshot">Screenshot</a>
337 </h2>
338 <p>
339 Here's what saidar looks like when it's running:
340 </p>
341 <p>
342 <img src="saidar.png" alt="saidar screenshot" />
343 </p>
344 </div>
345 <!--#include virtual="/footer.inc" -->
346 </div>
347 <!--#include virtual="/menu.inc" -->
348 </div>
349 </body>
350 </html>