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> |
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> |
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> |
80 |
|
<a href="http://freshmeat.net/projects/libstatgrab/">freshmeat</a>? |
81 |
|
</p> |
82 |
|
<h3> |
83 |
+ |
Sunday 31 July 2005 |
84 |
+ |
</h3> |
85 |
+ |
<p> |
86 |
+ |
Version 0.12 of libstatgrab has been released.<br /> |
87 |
+ |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
88 |
+ |
</p> |
89 |
+ |
<p> |
90 |
+ |
This release has some new features, bug fixes, and a minor |
91 |
+ |
API change. More details have been added to the file |
92 |
+ |
system statistics, linux partition detection has been |
93 |
+ |
reworked, and compile errors on Linux 2.6 have been fixed. |
94 |
+ |
Support has been added for Solaris 10 and FreeBSD 7. |
95 |
+ |
There are also manual pages for all the tools. |
96 |
+ |
</p> |
97 |
+ |
<p> |
98 |
+ |
The duplex value in the network interface statistics has |
99 |
+ |
changed name from "dup" to "duplex" - this breaks the API. |
100 |
+ |
We plan to stabilise the API for a 1.0 release. As before, |
101 |
+ |
the old name is available if SG_ENABLE_DEPRECATED is |
102 |
+ |
defined. |
103 |
+ |
</p> |
104 |
+ |
<h3> |
105 |
+ |
Tuesday 26 April 2005 |
106 |
+ |
</h3> |
107 |
+ |
<p> |
108 |
+ |
Official libstatgrab packages for Debian now |
109 |
+ |
<a href="http://packages.debian.org/unstable/source/libstatgrab">available</a>. |
110 |
+ |
</p> |
111 |
+ |
<p> |
112 |
+ |
Thanks to the work of |
113 |
+ |
<a href="mailto:fenio@debian.org">Bartosz Fenski</a> |
114 |
+ |
libstatgrab is now available on debian. This replaces our |
115 |
+ |
unofficial debian packages which will no longer be |
116 |
+ |
updated. |
117 |
+ |
</p> |
118 |
+ |
<h3> |
119 |
+ |
Thursday 3 March 2005 |
120 |
+ |
</h3> |
121 |
+ |
<p> |
122 |
+ |
Version 0.11.1 of libstatgrab has been released.<br /> |
123 |
+ |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
124 |
+ |
</p> |
125 |
+ |
<p> |
126 |
+ |
This release fixes a handful of minor bugs. Duplex |
127 |
+ |
settings were reported incorrectly on linux (half and |
128 |
+ |
full duplex were swapped), saidar displayed negative |
129 |
+ |
filesystem stats incorrectly, and NFS filesystems were |
130 |
+ |
ignored. These have all been fixed. |
131 |
+ |
</p> |
132 |
+ |
<h3> |
133 |
|
Friday 12 November 2004 |
134 |
|
</h3> |
135 |
|
<p> |
219 |
|
bindings, has been released. Check out it's |
220 |
|
<a href="/pystatgrab/">project page</a>. |
221 |
|
</p> |
139 |
– |
<h3> |
140 |
– |
Wednesday 10 March 2004 |
141 |
– |
</h3> |
142 |
– |
<p> |
143 |
– |
Version 0.9 of libstatgrab has been released.<br /> |
144 |
– |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
145 |
– |
</p> |
146 |
– |
<p> |
147 |
– |
This release brings new features and new platforms. We've |
148 |
– |
added information about network interfaces (duplex, speed, |
149 |
– |
etc) along with further statistics such as i/o packets, i/o |
150 |
– |
errors, and collisions. Support has also been added for |
151 |
– |
OpenBSD and DragonFly BSD. Finally some work has been done |
152 |
– |
to reduce the platforms on which libstatgrab needs elevated |
153 |
– |
privileges. See the NEWS file for more information. |
154 |
– |
</p> |
155 |
– |
<h3> |
156 |
– |
Wednesday 11 February 2004 |
157 |
– |
</h3> |
158 |
– |
<p> |
159 |
– |
Version 0.8.2 of libstatgrab has been released.<br /> |
160 |
– |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
161 |
– |
</p> |
162 |
– |
<p> |
163 |
– |
The main focus of this release is adding support for |
164 |
– |
Solaris 6. We've also added Python bindings so you can use |
165 |
– |
libstatgrab directly from Python (see the extras |
166 |
– |
directory). Finally, we've tidied up a few bits of the |
167 |
– |
code. |
168 |
– |
</p> |
169 |
– |
<h3> |
170 |
– |
Wednesday 21 January 2004 |
171 |
– |
</h3> |
172 |
– |
<p> |
173 |
– |
Version 0.8.1 of libstatgrab has been released.<br /> |
174 |
– |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
175 |
– |
</p> |
176 |
– |
<p> |
177 |
– |
This release primarily fixes bugs. On Linux a file |
178 |
– |
descriptor leak was fixed. On Solaris some significant |
179 |
– |
speed increases were made to the disk mapping code, along |
180 |
– |
with some bug fixes for Solaris 7 platforms. Also, the |
181 |
– |
library part of libstatgrab (but not the tools) is now |
182 |
– |
released under the LGPL instead of the GPL. |
183 |
– |
</p> |
184 |
– |
<h3> |
185 |
– |
Tuesday 6 January 2004 |
186 |
– |
</h3> |
187 |
– |
<p> |
188 |
– |
Version 0.8 of libstatgrab has been released.<br /> |
189 |
– |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
190 |
– |
</p> |
191 |
– |
<p> |
192 |
– |
This release brings support for Linux 2.6 and partial |
193 |
– |
support for Cygwin. On Solaris libstatgrab now returns disk |
194 |
– |
names using cNtNdNsN names rather than the older sdN names. |
195 |
– |
There are also a bunch of fixes and optimisations in |
196 |
– |
various places. Finally, a new function has been added to |
197 |
– |
make it quicker to drop any elevated privileges libstatgrab |
198 |
– |
may require on some operating systems. |
199 |
– |
</p> |
222 |
|
<h2> |
201 |
– |
<a id="what">What is libstatgrab?</a> |
202 |
– |
</h2> |
203 |
– |
<p> |
204 |
– |
libstatgrab is a library that provides cross platform |
205 |
– |
access to statistics about the system on which it's run. |
206 |
– |
It's written in C and presents a selection of useful |
207 |
– |
interfaces which can be used to access key system |
208 |
– |
statistics. The current list of statistics includes CPU |
209 |
– |
usage, memory utilisation, disk usage, process counts, |
210 |
– |
network traffic, disk I/O, and more. |
211 |
– |
</p> |
212 |
– |
<p> |
213 |
– |
The current list of platforms is Solaris 2.x, Linux |
214 |
– |
2.2/2.4/2.6, FreeBSD 4.x/5.x, NetBSD 1.6.x, OpenBSD 3.x, |
215 |
– |
DragonFly BSD 1.0, and Cygwin. The aim is to extend this to |
216 |
– |
include as many operating systems as possible. |
217 |
– |
</p> |
218 |
– |
<p> |
219 |
– |
The package also includes a couple of useful tools. The |
220 |
– |
first, <a href="#screenshot">saidar</a>, provides a |
221 |
– |
curses-based interface to viewing the current state of the |
222 |
– |
system. The second, statgrab, gives a sysctl-style |
223 |
– |
interface to the statistics gathered by libstatgrab. This |
224 |
– |
extends the use of libstatgrab to people writing scripts or |
225 |
– |
anything else that can't easily make C function calls. |
226 |
– |
Included with statgrab is a script to generate an |
227 |
– |
<a href="http://www.mrtg.org">MRTG</a> configuration file |
228 |
– |
to use statgrab. |
229 |
– |
</p> |
230 |
– |
<h2> |
223 |
|
<a id="download">Downloading</a> |
224 |
|
</h2> |
225 |
|
<p> |
230 |
|
</p> |
231 |
|
<p> |
232 |
|
For installation instructions see the README and INSTALL |
233 |
< |
files contained within the archive. If you're using |
242 |
< |
<a href="http://www.freebsd.org">FreeBSD</a> you can make |
243 |
< |
use of the |
244 |
< |
<a href="http://www.freshports.org/devel/libstatgrab"> |
245 |
< |
devel/libstatgrab</a> port to install libstatgrab for you. |
233 |
> |
files contained within the archive. |
234 |
|
</p> |
235 |
|
<h2> |
236 |
|
<a id="bindings">Language Bindings</a> |
250 |
|
Here are links to bindings for higher level languages |
251 |
|
that provide access to libstatgrab. If you've written |
252 |
|
a binding for another language, please get |
253 |
< |
<a href="mailto:dev@i-scream.org">in touch</a> so we |
253 |
> |
<a href="mailto:support@i-scream.org">in touch</a> so we |
254 |
|
can add a link here. |
255 |
+ |
</p> |
256 |
+ |
<h2> |
257 |
+ |
<a id="packages">Packages of libstatgrab</a> |
258 |
+ |
</h2> |
259 |
+ |
<ul> |
260 |
+ |
<li> |
261 |
+ |
<a href="http://www.freebsd.org/cgi/ports.cgi?query=statgrab&stype=all">FreeBSD</a> |
262 |
+ |
</li> |
263 |
+ |
<li> |
264 |
+ |
<a href="http://packages.gentoo.org/search/?sstring=statgrab">Gentoo Linux</a> |
265 |
+ |
</li> |
266 |
+ |
<li> |
267 |
+ |
<a href="http://www.blastwave.org/packages.php/libstatgrab">Solaris (Blastwave)</a> |
268 |
+ |
</li> |
269 |
+ |
<li> |
270 |
+ |
<a href="http://packages.debian.org/unstable/source/libstatgrab">Debian</a> |
271 |
+ |
</li> |
272 |
+ |
<li> |
273 |
+ |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/libstatgrab/README.html">NetBSD</a> |
274 |
+ |
</li> |
275 |
+ |
</ul> |
276 |
+ |
<p> |
277 |
+ |
These are various pre-packaged versions of libstatgrab |
278 |
+ |
that you can get for your favourite operating system. If |
279 |
+ |
we've missed any out, please let us know. |
280 |
+ |
</p> |
281 |
+ |
<p> |
282 |
+ |
We've noticed that google throws up some RPM's relating |
283 |
+ |
to Mandrake and Suse, but no webpage for them. |
284 |
+ |
</p> |
285 |
+ |
<p> |
286 |
+ |
Several attempts were made to submit a port to the |
287 |
+ |
OpenBSD folk, but they didn't seem interested in taking |
288 |
+ |
it. You can find it |
289 |
+ |
<a href="http://ftp.i-scream.org/pub/i-scream/tmp/libstatgrab-0.11-openbsd-port.tar.gz"> |
290 |
+ |
here</a>. |
291 |
|
</p> |
292 |
|
<h2> |
293 |
|
<a id="development">Development</a> |