16 |
|
<div id="topnav"> |
17 |
|
<ul> |
18 |
|
<li> |
19 |
< |
<a href="#news">News</a> |
19 |
> |
<a href="#what">What is libstatgrab?</a> |
20 |
|
</li> |
21 |
|
<li> |
22 |
< |
<a href="#what">What is libstatgrab?</a> |
22 |
> |
<a href="#news">News</a> |
23 |
|
</li> |
24 |
|
<li> |
25 |
|
<a href="#download">Downloading</a> |
41 |
|
</li> |
42 |
|
</ul> |
43 |
|
</div> |
44 |
+ |
<!--#include virtual="/bannerad.inc" --> |
45 |
|
<h2> |
46 |
+ |
<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 |
|
<a id="news">News</a> |
77 |
|
</h2> |
78 |
|
<p> |
81 |
|
<a href="http://freshmeat.net/projects/libstatgrab/">freshmeat</a>? |
82 |
|
</p> |
83 |
|
<h3> |
84 |
+ |
Monday 8 January 2007 |
85 |
+ |
</h3> |
86 |
+ |
<p> |
87 |
+ |
Version 0.14 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 contains mainly bugfixes - see the NEWS file |
92 |
+ |
in the distribution for a full list. It also brings a new |
93 |
+ |
feature in saidar: colour support, which can be activated |
94 |
+ |
with the -c runtime flag. |
95 |
+ |
</p> |
96 |
+ |
<h3> |
97 |
+ |
Monday 20 March 2006 |
98 |
+ |
</h3> |
99 |
+ |
<p> |
100 |
+ |
Version 0.13 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 mainly includes a bunch of bug fixes, but |
105 |
+ |
also brings preliminary support for WIN32. We've also |
106 |
+ |
added a few lines to the header file to make C++ linking |
107 |
+ |
easier. Please see the NEWS file in the distribution for |
108 |
+ |
full details. |
109 |
+ |
</p> |
110 |
+ |
<h3> |
111 |
+ |
Sunday 31 July 2005 |
112 |
+ |
</h3> |
113 |
+ |
<p> |
114 |
+ |
Version 0.12 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 has some new features, bug fixes, and a minor |
119 |
+ |
API change. More details have been added to the file |
120 |
+ |
system statistics, linux partition detection has been |
121 |
+ |
reworked, and compile errors on Linux 2.6 have been fixed. |
122 |
+ |
Support has been added for Solaris 10 and FreeBSD 7. |
123 |
+ |
There are also manual pages for all the tools. |
124 |
+ |
</p> |
125 |
+ |
<p> |
126 |
+ |
The duplex value in the network interface statistics has |
127 |
+ |
changed name from "dup" to "duplex" - this breaks the API. |
128 |
+ |
We plan to stabilise the API for a 1.0 release. As before, |
129 |
+ |
the old name is available if SG_ENABLE_DEPRECATED is |
130 |
+ |
defined. |
131 |
+ |
</p> |
132 |
+ |
<h3> |
133 |
+ |
Tuesday 26 April 2005 |
134 |
+ |
</h3> |
135 |
+ |
<p> |
136 |
+ |
Official libstatgrab packages for Debian now |
137 |
+ |
<a href="http://packages.debian.org/unstable/source/libstatgrab">available</a>. |
138 |
+ |
</p> |
139 |
+ |
<p> |
140 |
+ |
Thanks to the work of |
141 |
+ |
<a href="mailto:fenio@debian.org">Bartosz Fenski</a> |
142 |
+ |
libstatgrab is now available on debian. This replaces our |
143 |
+ |
unofficial debian packages which will no longer be |
144 |
+ |
updated. |
145 |
+ |
</p> |
146 |
+ |
<h3> |
147 |
|
Thursday 3 March 2005 |
148 |
|
</h3> |
149 |
|
<p> |
244 |
|
</h3> |
245 |
|
<p> |
246 |
|
pystatgrab, a new package containing a set of Python |
247 |
< |
bindings, has been released. Check out it's |
247 |
> |
bindings, has been released. Check out its |
248 |
|
<a href="/pystatgrab/">project page</a>. |
249 |
|
</p> |
250 |
|
<h2> |
157 |
– |
<a id="what">What is libstatgrab?</a> |
158 |
– |
</h2> |
159 |
– |
<p> |
160 |
– |
libstatgrab is a library that provides cross platform |
161 |
– |
access to statistics about the system on which it's run. |
162 |
– |
It's written in C and presents a selection of useful |
163 |
– |
interfaces which can be used to access key system |
164 |
– |
statistics. The current list of statistics includes CPU |
165 |
– |
usage, memory utilisation, disk usage, process counts, |
166 |
– |
network traffic, disk I/O, and more. |
167 |
– |
</p> |
168 |
– |
<p> |
169 |
– |
The current list of platforms is Solaris 2.x, Linux |
170 |
– |
2.2/2.4/2.6, FreeBSD 4.x/5.x, NetBSD 1.6.x, OpenBSD 3.x, |
171 |
– |
DragonFly BSD 1.0, HP-UX, and Cygwin. The aim is to extend |
172 |
– |
this to include as many operating systems as possible. |
173 |
– |
</p> |
174 |
– |
<p> |
175 |
– |
The package also includes a couple of useful tools. The |
176 |
– |
first, <a href="#screenshot">saidar</a>, provides a |
177 |
– |
curses-based interface to viewing the current state of the |
178 |
– |
system. The second, statgrab, gives a sysctl-style |
179 |
– |
interface to the statistics gathered by libstatgrab. This |
180 |
– |
extends the use of libstatgrab to people writing scripts or |
181 |
– |
anything else that can't easily make C function calls. |
182 |
– |
Included with statgrab is a script to generate an |
183 |
– |
<a href="http://www.mrtg.org">MRTG</a> configuration file |
184 |
– |
to use statgrab. |
185 |
– |
</p> |
186 |
– |
<h2> |
251 |
|
<a id="download">Downloading</a> |
252 |
|
</h2> |
253 |
|
<p> |
278 |
|
Here are links to bindings for higher level languages |
279 |
|
that provide access to libstatgrab. If you've written |
280 |
|
a binding for another language, please get |
281 |
< |
<a href="mailto:dev@i-scream.org">in touch</a> so we |
281 |
> |
<a href="mailto:support@i-scream.org">in touch</a> so we |
282 |
|
can add a link here. |
283 |
|
</p> |
284 |
|
<h2> |
289 |
|
<a href="http://www.freebsd.org/cgi/ports.cgi?query=statgrab&stype=all">FreeBSD</a> |
290 |
|
</li> |
291 |
|
<li> |
292 |
< |
<a href="http://packages.gentoo.org/search/?sstring=statgrab">Gentoo Linux</a> |
292 |
> |
<a href="http://packages.gentoo.org/search/?sstring=libstatgrab">Gentoo Linux</a> |
293 |
|
</li> |
294 |
|
<li> |
295 |
|
<a href="http://www.blastwave.org/packages.php/libstatgrab">Solaris (Blastwave)</a> |
296 |
|
</li> |
297 |
|
<li> |
298 |
< |
<a href="http://ftp.i-scream.org/pub/i-scream/packages/debian/">Debian (unofficial)</a> |
298 |
> |
<a href="http://www.sunfreeware.com/">Solaris (SunFreeware)</a> |
299 |
|
</li> |
300 |
|
<li> |
301 |
+ |
<a href="http://packages.debian.org/unstable/source/libstatgrab">Debian</a> |
302 |
+ |
</li> |
303 |
+ |
<li> |
304 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/libstatgrab/README.html">NetBSD</a> |
305 |
|
</li> |
306 |
|
</ul> |
339 |
|
</h2> |
340 |
|
<p> |
341 |
|
The only online documentation we have at the moment is the |
342 |
< |
manual pages converted in to HTML format. It's probably |
343 |
< |
best to start with the overview manual page: |
342 |
> |
manual pages converted in to HTML format. First are the |
343 |
> |
manual pages for the command line tools: |
344 |
|
</p> |
345 |
|
<ul> |
346 |
|
<li> |
347 |
< |
<a href="statgrab.html">statgrab(3)</a> |
347 |
> |
<a href="docs/saidar.1.html">saidar(1)</a> |
348 |
|
</li> |
349 |
+ |
<li> |
350 |
+ |
<a href="docs/statgrab.1.html">statgrab(1)</a> |
351 |
+ |
</li> |
352 |
+ |
<li> |
353 |
+ |
<a href="docs/statgrab-make-mrtg-config.1.html">statgrab-make-mrtg-config(1)</a> |
354 |
+ |
</li> |
355 |
+ |
<li> |
356 |
+ |
<a href="docs/statgrab-make-mrtg-index.1.html">statgrab-make-mrtg-index(1)</a> |
357 |
+ |
</li> |
358 |
|
</ul> |
359 |
|
<p> |
360 |
+ |
We also have an overview page for the library: |
361 |
+ |
</p> |
362 |
+ |
<ul> |
363 |
+ |
<li> |
364 |
+ |
<a href="docs/statgrab.3.html">statgrab(3)</a> |
365 |
+ |
</li> |
366 |
+ |
</ul> |
367 |
+ |
<p> |
368 |
|
Then we have the manual pages for each function: |
369 |
|
</p> |
370 |
|
<ul> |
371 |
|
<li> |
372 |
< |
<a href="sg_get_cpu_stats.html">sg_get_cpu_stats(3)</a> |
372 |
> |
<a href="docs/sg_get_cpu_stats.3.html">sg_get_cpu_stats(3)</a> |
373 |
|
</li> |
374 |
|
<li> |
375 |
< |
<a href="sg_get_disk_io_stats.html">sg_get_disk_io_stats(3)</a> |
375 |
> |
<a href="docs/sg_get_disk_io_stats.3.html">sg_get_disk_io_stats(3)</a> |
376 |
|
</li> |
377 |
|
<li> |
378 |
< |
<a href="sg_get_fs_stats.html">sg_get_fs_stats(3)</a> |
378 |
> |
<a href="docs/sg_get_fs_stats.3.html">sg_get_fs_stats(3)</a> |
379 |
|
</li> |
380 |
|
<li> |
381 |
< |
<a href="sg_get_host_info.html">sg_get_host_info(3)</a> |
381 |
> |
<a href="docs/sg_get_host_info.3.html">sg_get_host_info(3)</a> |
382 |
|
</li> |
383 |
|
<li> |
384 |
< |
<a href="sg_get_load_stats.html">sg_get_load_stats(3)</a> |
384 |
> |
<a href="docs/sg_get_load_stats.3.html">sg_get_load_stats(3)</a> |
385 |
|
</li> |
386 |
|
<li> |
387 |
< |
<a href="sg_get_mem_stats.html">sg_get_mem_stats(3)</a> |
387 |
> |
<a href="docs/sg_get_mem_stats.3.html">sg_get_mem_stats(3)</a> |
388 |
|
</li> |
389 |
|
<li> |
390 |
< |
<a href="sg_get_network_iface_stats.html">sg_get_network_iface_stats(3)</a> |
390 |
> |
<a href="docs/sg_get_network_iface_stats.3.html">sg_get_network_iface_stats(3)</a> |
391 |
|
</li> |
392 |
|
<li> |
393 |
< |
<a href="sg_get_network_io_stats.html">sg_get_network_io_stats(3)</a> |
393 |
> |
<a href="docs/sg_get_network_io_stats.3.html">sg_get_network_io_stats(3)</a> |
394 |
|
</li> |
395 |
|
<li> |
396 |
< |
<a href="sg_get_page_stats.html">sg_get_page_stats(3)</a> |
396 |
> |
<a href="docs/sg_get_page_stats.3.html">sg_get_page_stats(3)</a> |
397 |
|
</li> |
398 |
|
<li> |
399 |
< |
<a href="sg_get_process_stats.html">sg_get_process_stats(3)</a> |
399 |
> |
<a href="docs/sg_get_process_stats.3.html">sg_get_process_stats(3)</a> |
400 |
|
</li> |
401 |
|
<li> |
402 |
< |
<a href="sg_get_user_stats.html">sg_get_user_stats(3)</a> |
402 |
> |
<a href="docs/sg_get_user_stats.3.html">sg_get_user_stats(3)</a> |
403 |
|
</li> |
404 |
|
</ul> |
405 |
|
<h2> |