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 |
< |
Thursday 20 May 2004 |
83 |
> |
Tuesday 26 April 2005 |
84 |
|
</h3> |
85 |
|
<p> |
86 |
< |
Version 0.10 of libstatgrab has been released.<br /> |
87 |
< |
Download it |
55 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.10.tar.gz"> |
56 |
< |
here</a>. |
86 |
> |
Official libstatgrab packages for Debian now |
87 |
> |
<a href="http://packages.debian.org/unstable/source/libstatgrab/">available</a>. |
88 |
|
</p> |
89 |
|
<p> |
90 |
< |
This release concentrates heavily on standardising the names |
91 |
< |
of functions and structures throughout libstatgrab. Although |
92 |
< |
this will mean changes for existing programs, in the long run |
93 |
< |
we hope it'll make things both clearer and easier. However, |
94 |
< |
for those who still need the old functions we have provided |
64 |
< |
compatibility wrappers. See the NEWS file for details. |
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> |
66 |
– |
<p> |
67 |
– |
The other main change in this release is a new function to |
68 |
– |
provide full details on currently running processes. See the |
69 |
– |
documentation for sg_get_process_stats for details. Along with |
70 |
– |
this there are compare functions for use with qsort for sorting |
71 |
– |
process, network, and disk io statistics. We've also introduced |
72 |
– |
error reporting functions that allow calling applications to |
73 |
– |
see why libstatgrab has returned a failure. See sg_get_error. |
74 |
– |
</p> |
75 |
– |
<p> |
76 |
– |
Finally, we've added support for NetBSD 2.0 and tidied up lots |
77 |
– |
of areas of the code. This release does not include the python |
78 |
– |
bindings - they're now available as their own project called |
79 |
– |
<a href="/pystatgrab/">pystatgrab</a>. |
80 |
– |
</p> |
96 |
|
<h3> |
97 |
< |
Sunday 21 March 2004 |
97 |
> |
Thursday 3 March 2005 |
98 |
|
</h3> |
99 |
|
<p> |
100 |
< |
pystatgrab, a new package containing a set of Python |
101 |
< |
bindings, has been released. Check out it's |
87 |
< |
<a href="/pystatgrab/">project page</a>. |
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> |
89 |
– |
<h3> |
90 |
– |
Wednesday 10 March 2004 |
91 |
– |
</h3> |
103 |
|
<p> |
104 |
< |
Version 0.9 of libstatgrab has been released.<br /> |
105 |
< |
Download it |
106 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.9.tar.gz"> |
107 |
< |
here</a>. |
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> |
98 |
– |
<p> |
99 |
– |
This release brings new features and new platforms. We've |
100 |
– |
added information about network interfaces (duplex, speed, |
101 |
– |
etc) along with further statistics such as i/o packets, i/o |
102 |
– |
errors, and collisions. Support has also been added for |
103 |
– |
OpenBSD and DragonFly BSD. Finally some work has been done |
104 |
– |
to reduce the platforms on which libstatgrab needs elevated |
105 |
– |
privileges. See the NEWS file for more information. |
106 |
– |
</p> |
110 |
|
<h3> |
111 |
< |
Wednesday 11 February 2004 |
111 |
> |
Friday 12 November 2004 |
112 |
|
</h3> |
113 |
|
<p> |
114 |
< |
Version 0.8.2 of libstatgrab has been released.<br /> |
115 |
< |
Download it |
113 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.8.2.tar.gz"> |
114 |
< |
here</a>. |
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 |
< |
The main focus of this release is adding support for |
119 |
< |
Solaris 6. We've also added Python bindings so you can use |
119 |
< |
libstatgrab directly from Python (see the extras |
120 |
< |
directory). Finally, we've tidied up a few bits of the |
121 |
< |
code. |
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 21 January 2004 |
122 |
> |
Wednesday 25 August 2004 |
123 |
|
</h3> |
124 |
|
<p> |
125 |
< |
Version 0.8.1 of libstatgrab has been released.<br /> |
126 |
< |
Download it |
129 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.8.1.tar.gz"> |
130 |
< |
here</a>. |
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 primarily fixes bugs. On Linux a file |
130 |
< |
descriptor leak was fixed. On Solaris some significant |
131 |
< |
speed increases were made to the disk mapping code, along |
136 |
< |
with some bug fixes for Solaris 7 platforms. Also, the |
137 |
< |
library part of libstatgrab (but not the tools) is now |
138 |
< |
released under the LGPL instead of the GPL. |
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 6 January 2004 |
134 |
> |
Tuesday 27 July 2004 |
135 |
|
</h3> |
136 |
|
<p> |
137 |
< |
Version 0.8 of libstatgrab has been released.<br /> |
138 |
< |
Download it |
146 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.8.tar.gz"> |
147 |
< |
here</a>. |
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 brings support for Linux 2.6 and partial |
142 |
< |
support for Cygwin. On Solaris libstatgrab now returns disk |
152 |
< |
names using cNtNdNsN names rather than the older sdN names. |
153 |
< |
There are also a bunch of fixes and optimisations in |
154 |
< |
various places. Finally, a new function has been added to |
155 |
< |
make it quicker to drop any elevated privileges libstatgrab |
156 |
< |
may require on some operating systems. |
141 |
> |
This release fixes a problem with the shared library |
142 |
> |
version number in the last release. |
143 |
|
</p> |
144 |
|
<h3> |
145 |
< |
Wednesday 22 October 2003 |
145 |
> |
Monday 26 July 2004 |
146 |
|
</h3> |
147 |
|
<p> |
148 |
< |
Version 0.7 of libstatgrab has been released.<br /> |
149 |
< |
Download it |
164 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.7.tar.gz"> |
165 |
< |
here</a>. |
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 |
< |
The most significant change in this release is support for |
153 |
< |
NetBSD 1.6.x. Parts of the FreeBSD code have been |
154 |
< |
optimised, and an initialise function has been added to |
155 |
< |
allow programs to drop any extra privileges libstatgrab |
156 |
< |
needs. The list of known file systems has been increased, |
157 |
< |
and libstatgrab has been tested on even more platforms. |
158 |
< |
Finally, saidar has been tweaked to work even if it can't |
159 |
< |
get all the statistics. |
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 |
< |
Saturday 18 October 2003 |
163 |
> |
Thursday 20 May 2004 |
164 |
|
</h3> |
165 |
|
<p> |
166 |
< |
Version 0.6.1 of libstatgrab has been released.<br /> |
167 |
< |
Download it |
183 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.6.1.tar.gz"> |
184 |
< |
here</a>. |
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 brings support for FreeBSD 5 on sparc 64, and |
171 |
< |
some bugfixes in FreeBSD memory statistics. Also, some |
172 |
< |
fixes to saidar, and statgrab. |
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> |
191 |
– |
<h3> |
192 |
– |
Friday 10 October 2003 |
193 |
– |
</h3> |
177 |
|
<p> |
178 |
< |
Version 0.6 of libstatgrab has been released.<br /> |
179 |
< |
You can download it from our mirror site |
180 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.6.tar.gz"> |
181 |
< |
here</a>. |
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 |
< |
This release includes some exciting new tools, support for |
188 |
< |
FreeBSD 5.1, and documentation in manpages. Plus some major |
189 |
< |
bugfixes and packaging enhancements. |
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 |
< |
Tuesday 09 September 2003 |
193 |
> |
Sunday 21 March 2004 |
194 |
|
</h3> |
195 |
|
<p> |
196 |
< |
We're pleased to announce a new release of |
197 |
< |
libstatgrab.<br /> |
198 |
< |
You can download version 0.5.1 from |
212 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.5.1.tar.gz"> |
213 |
< |
here</a>. |
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> |
215 |
– |
<h3> |
216 |
– |
Monday 25 August 2003 |
217 |
– |
</h3> |
218 |
– |
<p> |
219 |
– |
We're pleased to announce a new release of |
220 |
– |
libstatgrab.<br /> |
221 |
– |
You can download version 0.5 from |
222 |
– |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.5.tar.gz"> |
223 |
– |
here</a>. |
224 |
– |
</p> |
225 |
– |
<p> |
226 |
– |
This release provides both documentation and examples, |
227 |
– |
which we hope will make the package more useable. Stay |
228 |
– |
tuned for the next release with some useful tools. |
229 |
– |
</p> |
200 |
|
<h2> |
231 |
– |
<a id="what">What is libstatgrab?</a> |
232 |
– |
</h2> |
233 |
– |
<p> |
234 |
– |
libstatgrab is a library that provides cross platform |
235 |
– |
access to statistics about the system on which it's run. |
236 |
– |
It's written in C and presents a selection of useful |
237 |
– |
interfaces which can be used to access key system |
238 |
– |
statistics. The current list of statistics includes CPU |
239 |
– |
usage, memory utilisation, disk usage, process counts, |
240 |
– |
network traffic, disk I/O, and more. |
241 |
– |
</p> |
242 |
– |
<p> |
243 |
– |
The current list of platforms is Solaris 2.x, Linux |
244 |
– |
2.2/2.4/2.6, FreeBSD 4.x/5.x, NetBSD 1.6.x, OpenBSD 3.x, |
245 |
– |
DragonFly BSD 1.0, and Cygwin. The aim is to extend this to |
246 |
– |
include as many operating systems as possible. |
247 |
– |
</p> |
248 |
– |
<p> |
249 |
– |
The package also includes a couple of useful tools. The |
250 |
– |
first, <a href="#screenshot">saidar</a>, provides a |
251 |
– |
curses-based interface to viewing the current state of the |
252 |
– |
system. The second, statgrab, gives a sysctl-style |
253 |
– |
interface to the statistics gathered by libstatgrab. This |
254 |
– |
extends the use of libstatgrab to people writing scripts or |
255 |
– |
anything else that can't easily make C function calls. |
256 |
– |
Included with statgrab is a script to generate an |
257 |
– |
<a href="http://www.mrtg.org">MRTG</a> configuration file |
258 |
– |
to use statgrab. |
259 |
– |
</p> |
260 |
– |
<h2> |
201 |
|
<a id="download">Downloading</a> |
202 |
|
</h2> |
203 |
|
<p> |
204 |
|
The latest version of libstatgrab can be downloaded from |
205 |
< |
our primary download |
206 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/"> |
267 |
< |
mirror</a>. All downloads are pgp signed using our |
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. If you're using |
273 |
< |
<a href="http://www.freebsd.org">FreeBSD</a> you can make |
274 |
< |
use of the |
275 |
< |
<a href="http://www.freshports.org/devel/libstatgrab"> |
276 |
< |
devel/libstatgrab</a> port to install libstatgrab for you. |
211 |
> |
files contained within the archive. |
212 |
|
</p> |
213 |
|
<h2> |
214 |
|
<a id="bindings">Language Bindings</a> |
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&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> |