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 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 |
+ |
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 |
+ |
Tuesday 26 April 2005 |
121 |
+ |
</h3> |
122 |
+ |
<p> |
123 |
+ |
Official libstatgrab packages for Debian now |
124 |
+ |
<a href="http://packages.debian.org/unstable/source/libstatgrab">available</a>. |
125 |
+ |
</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 |
|
Thursday 3 March 2005 |
135 |
|
</h3> |
136 |
|
<p> |
235 |
|
<a href="/pystatgrab/">project page</a>. |
236 |
|
</p> |
237 |
|
<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> |
238 |
|
<a id="download">Downloading</a> |
239 |
|
</h2> |
240 |
|
<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 |
< |
<a href="mailto:dev@i-scream.org">in touch</a> so we |
268 |
> |
<a href="mailto:support@i-scream.org">in touch</a> so we |
269 |
|
can add a link here. |
270 |
|
</p> |
271 |
|
<h2> |
282 |
|
<a href="http://www.blastwave.org/packages.php/libstatgrab">Solaris (Blastwave)</a> |
283 |
|
</li> |
284 |
|
<li> |
285 |
< |
<a href="http://ftp.i-scream.org/pub/i-scream/packages/debian/">Debian (unofficial)</a> |
285 |
> |
<a href="http://www.sunfreeware.com/">Solaris (SunFreeware)</a> |
286 |
|
</li> |
287 |
|
<li> |
288 |
+ |
<a href="http://packages.debian.org/unstable/source/libstatgrab">Debian</a> |
289 |
+ |
</li> |
290 |
+ |
<li> |
291 |
|
<a href="ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/libstatgrab/README.html">NetBSD</a> |
292 |
|
</li> |
293 |
|
</ul> |
326 |
|
</h2> |
327 |
|
<p> |
328 |
|
The only online documentation we have at the moment is the |
329 |
< |
manual pages converted in to HTML format. It's probably |
330 |
< |
best to start with the overview manual page: |
329 |
> |
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="statgrab.html">statgrab(3)</a> |
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 |
+ |
</p> |
349 |
+ |
<ul> |
350 |
+ |
<li> |
351 |
+ |
<a href="docs/statgrab.3.html">statgrab(3)</a> |
352 |
+ |
</li> |
353 |
+ |
</ul> |
354 |
+ |
<p> |
355 |
|
Then we have the manual pages for each function: |
356 |
|
</p> |
357 |
|
<ul> |
358 |
|
<li> |
359 |
< |
<a href="sg_get_cpu_stats.html">sg_get_cpu_stats(3)</a> |
359 |
> |
<a href="docs/sg_get_cpu_stats.3.html">sg_get_cpu_stats(3)</a> |
360 |
|
</li> |
361 |
|
<li> |
362 |
< |
<a href="sg_get_disk_io_stats.html">sg_get_disk_io_stats(3)</a> |
362 |
> |
<a href="docs/sg_get_disk_io_stats.3.html">sg_get_disk_io_stats(3)</a> |
363 |
|
</li> |
364 |
|
<li> |
365 |
< |
<a href="sg_get_fs_stats.html">sg_get_fs_stats(3)</a> |
365 |
> |
<a href="docs/sg_get_fs_stats.3.html">sg_get_fs_stats(3)</a> |
366 |
|
</li> |
367 |
|
<li> |
368 |
< |
<a href="sg_get_host_info.html">sg_get_host_info(3)</a> |
368 |
> |
<a href="docs/sg_get_host_info.3.html">sg_get_host_info(3)</a> |
369 |
|
</li> |
370 |
|
<li> |
371 |
< |
<a href="sg_get_load_stats.html">sg_get_load_stats(3)</a> |
371 |
> |
<a href="docs/sg_get_load_stats.3.html">sg_get_load_stats(3)</a> |
372 |
|
</li> |
373 |
|
<li> |
374 |
< |
<a href="sg_get_mem_stats.html">sg_get_mem_stats(3)</a> |
374 |
> |
<a href="docs/sg_get_mem_stats.3.html">sg_get_mem_stats(3)</a> |
375 |
|
</li> |
376 |
|
<li> |
377 |
< |
<a href="sg_get_network_iface_stats.html">sg_get_network_iface_stats(3)</a> |
377 |
> |
<a href="docs/sg_get_network_iface_stats.3.html">sg_get_network_iface_stats(3)</a> |
378 |
|
</li> |
379 |
|
<li> |
380 |
< |
<a href="sg_get_network_io_stats.html">sg_get_network_io_stats(3)</a> |
380 |
> |
<a href="docs/sg_get_network_io_stats.3.html">sg_get_network_io_stats(3)</a> |
381 |
|
</li> |
382 |
|
<li> |
383 |
< |
<a href="sg_get_page_stats.html">sg_get_page_stats(3)</a> |
383 |
> |
<a href="docs/sg_get_page_stats.3.html">sg_get_page_stats(3)</a> |
384 |
|
</li> |
385 |
|
<li> |
386 |
< |
<a href="sg_get_process_stats.html">sg_get_process_stats(3)</a> |
386 |
> |
<a href="docs/sg_get_process_stats.3.html">sg_get_process_stats(3)</a> |
387 |
|
</li> |
388 |
|
<li> |
389 |
< |
<a href="sg_get_user_stats.html">sg_get_user_stats(3)</a> |
389 |
> |
<a href="docs/sg_get_user_stats.3.html">sg_get_user_stats(3)</a> |
390 |
|
</li> |
391 |
|
</ul> |
392 |
|
<h2> |