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