1 |
|
<!--#include virtual="/doctype.inc" --> |
2 |
|
<head> |
3 |
|
<title> |
4 |
< |
i-scream libstatgrab homepage |
4 |
> |
libstatgrab homepage |
5 |
|
</title> |
6 |
|
<!--#include virtual="/style.inc" --> |
7 |
|
</head> |
11 |
|
<!--#include virtual="/header.inc" --> |
12 |
|
<div id="contents"> |
13 |
|
<h1 class="top"> |
14 |
< |
i-scream libstatgrab homepage |
14 |
> |
libstatgrab homepage |
15 |
|
</h1> |
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="news">News</a> |
45 |
> |
<a id="what">What is libstatgrab?</a> |
46 |
|
</h2> |
47 |
|
<p> |
48 |
< |
To get notifications of new libstatgrab releases why not |
49 |
< |
subscribe to our project over on |
50 |
< |
<a href="http://freshmeat.net/projects/libstatgrab/">freshmeat</a>? |
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 supported and tested platforms |
58 |
+ |
includes FreeBSD, Linux, NetBSD, OpenBSD, Solaris, |
59 |
+ |
DragonFly BSD, HP-UX and AIX. We are always happy to |
60 |
+ |
accept patches to extend support to other operating |
61 |
+ |
systems. |
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 |
|
<h3> |
79 |
< |
Tuesday 27 July 2004 |
79 |
> |
Thursday 8 August 2013 |
80 |
|
</h3> |
81 |
|
<p> |
82 |
< |
Version 0.10.2 of libstatgrab has been released.<br /> |
83 |
< |
Download it |
55 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.10.2.tar.gz"> |
56 |
< |
here</a>. |
82 |
> |
Version 0.90 of libstatgrab has been released.<br /> |
83 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
84 |
|
</p> |
85 |
|
<p> |
86 |
< |
This release fixes a problem with the shared library |
87 |
< |
version number in the last release. |
86 |
> |
Please note that the API in 0.90 has changed, so |
87 |
> |
applications using libstatgrab will need to be updated to |
88 |
> |
support the changes. |
89 |
|
</p> |
90 |
+ |
<p> |
91 |
+ |
There are a large number of changes in this version of |
92 |
+ |
libstatgrab. Here is an overview: |
93 |
+ |
</p> |
94 |
+ |
<ul> |
95 |
+ |
<li>Thread safety and reentrant functions.</li> |
96 |
+ |
<li>API unification (every stats call is now able to |
97 |
+ |
return multiple entries).</li> |
98 |
+ |
<li>Complete rewrite of internal memory management (eases |
99 |
+ |
future extensions).</li> |
100 |
+ |
<li>Add experimental support for tracing using log4cplus.</li> |
101 |
+ |
<li>Complete the ports for AIX, HP-UX and most of the |
102 |
+ |
widely used BSD-based operating systems.</li> |
103 |
+ |
<li>Complete the port for Darwin/MacOS X including basic |
104 |
+ |
Mach.</li> |
105 |
+ |
<li>Clean up the FreeBSD and Solaris implementations.</li> |
106 |
+ |
<li>Clean up the FreeBSD and Solaris implementations.</li> |
107 |
+ |
</ul> |
108 |
+ |
<p> |
109 |
+ |
This release is the result of a significant amount of work |
110 |
+ |
by the newest member of the libstatgrab team - Jens |
111 |
+ |
Rehsack. Welcome to the team Jens! |
112 |
+ |
</p> |
113 |
+ |
<p> |
114 |
+ |
If you find any bugs in the release please report them |
115 |
+ |
over at our |
116 |
+ |
<a href="https://github.com/i-scream/libstatgrab/issues">Issue |
117 |
+ |
Tracker</a> on GitHub. |
118 |
+ |
</p> |
119 |
|
<h3> |
120 |
< |
Monday 26 July 2004 |
120 |
> |
Sunday 21 February 2010 |
121 |
|
</h3> |
122 |
|
<p> |
123 |
< |
Version 0.10.1 of libstatgrab has been released.<br /> |
124 |
< |
Download it |
68 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.10.1.tar.gz"> |
69 |
< |
here</a>. |
123 |
> |
Version 0.17 of libstatgrab has been released.<br /> |
124 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
125 |
|
</p> |
126 |
|
<p> |
127 |
< |
This release consists almost entirely of bugfixes. |
128 |
< |
We've fixed compile-time errors for recent OpenBSD and |
129 |
< |
NetBSD platforms, and also a minor bug in statgrab |
130 |
< |
that broke network statistics on Solaris. New |
131 |
< |
variables have been added to the pkg-config file to |
132 |
< |
suggest ownership and permissions of binaries, and |
78 |
< |
we've added error reporting functions that store errno |
79 |
< |
values. There's also other minor fixes detailed in the |
80 |
< |
NEWS file. |
127 |
> |
This release adds support for FreeBSD 9 and other systems |
128 |
> |
using utmpx. Also on FreeBSD it fixes an issue with large |
129 |
> |
quantities of memory and adds support for dynamically |
130 |
> |
getting a list of supported file systems. On Solaris ZFS |
131 |
> |
file systems will now be detected. And finally on Linux CPU |
132 |
> |
iowait information will be given where available. |
133 |
|
</p> |
134 |
|
<h3> |
135 |
< |
Thursday 20 May 2004 |
135 |
> |
Friday 30 May 2008 |
136 |
|
</h3> |
137 |
|
<p> |
138 |
< |
Version 0.10 of libstatgrab has been released.<br /> |
139 |
< |
Download it |
140 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.10.tar.gz"> |
89 |
< |
here</a>. |
138 |
> |
Dag Odenhall got in touch today to let us know he's written |
139 |
> |
<a href="http://statgrab.rubyforge.org/">Ruby bindings</a> |
140 |
> |
for libstatgrab. Thanks Dag! |
141 |
|
</p> |
142 |
+ |
<h3> |
143 |
+ |
Monday 17 March 2008 |
144 |
+ |
</h3> |
145 |
|
<p> |
146 |
< |
This release concentrates heavily on standardising the names |
147 |
< |
of functions and structures throughout libstatgrab. Although |
94 |
< |
this will mean changes for existing programs, in the long run |
95 |
< |
we hope it'll make things both clearer and easier. However, |
96 |
< |
for those who still need the old functions we have provided |
97 |
< |
compatibility wrappers. See the NEWS file for details. |
146 |
> |
Version 0.16 of libstatgrab has been released.<br /> |
147 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
148 |
|
</p> |
149 |
|
<p> |
150 |
< |
The other main change in this release is a new function to |
151 |
< |
provide full details on currently running processes. See the |
152 |
< |
documentation for sg_get_process_stats for details. Along with |
153 |
< |
this there are compare functions for use with qsort for sorting |
104 |
< |
process, network, and disk io statistics. We've also introduced |
105 |
< |
error reporting functions that allow calling applications to |
106 |
< |
see why libstatgrab has returned a failure. See sg_get_error. |
150 |
> |
This release fixes some minor build problems on Solaris |
151 |
> |
with Sun's compiler, and on the Debian "armel" port. Also |
152 |
> |
a minor fix to statgrab-make-mrtg-config on machines with |
153 |
> |
no swap, and added support for FreeBSD 8. |
154 |
|
</p> |
155 |
+ |
<h3> |
156 |
+ |
Saturday 14 July 2007 |
157 |
+ |
</h3> |
158 |
|
<p> |
159 |
< |
Finally, we've added support for NetBSD 2.0 and tidied up lots |
160 |
< |
of areas of the code. This release does not include the python |
111 |
< |
bindings - they're now available as their own project called |
112 |
< |
<a href="/pystatgrab/">pystatgrab</a>. |
159 |
> |
Version 0.15 of libstatgrab has been released.<br /> |
160 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
161 |
|
</p> |
162 |
+ |
<p> |
163 |
+ |
This release fixes a regression introduced on OpenBSD in |
164 |
+ |
the last release - memory statistics were reported |
165 |
+ |
incorrectly. Some other minor changes have been made, see |
166 |
+ |
the NEWS file for more information. |
167 |
+ |
</p> |
168 |
|
<h3> |
169 |
< |
Sunday 21 March 2004 |
169 |
> |
Monday 8 January 2007 |
170 |
|
</h3> |
171 |
|
<p> |
172 |
< |
pystatgrab, a new package containing a set of Python |
173 |
< |
bindings, has been released. Check out it's |
120 |
< |
<a href="/pystatgrab/">project page</a>. |
172 |
> |
Version 0.14 of libstatgrab has been released.<br /> |
173 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
174 |
|
</p> |
175 |
+ |
<p> |
176 |
+ |
This release contains mainly bugfixes - see the NEWS file |
177 |
+ |
in the distribution for a full list. It also brings a new |
178 |
+ |
feature in saidar: colour support, which can be activated |
179 |
+ |
with the -c runtime flag. |
180 |
+ |
</p> |
181 |
|
<h3> |
182 |
< |
Wednesday 10 March 2004 |
182 |
> |
Monday 20 March 2006 |
183 |
|
</h3> |
184 |
|
<p> |
185 |
< |
Version 0.9 of libstatgrab has been released.<br /> |
186 |
< |
Download it |
128 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.9.tar.gz"> |
129 |
< |
here</a>. |
185 |
> |
Version 0.13 of libstatgrab has been released.<br /> |
186 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
187 |
|
</p> |
188 |
|
<p> |
189 |
< |
This release brings new features and new platforms. We've |
190 |
< |
added information about network interfaces (duplex, speed, |
191 |
< |
etc) along with further statistics such as i/o packets, i/o |
192 |
< |
errors, and collisions. Support has also been added for |
193 |
< |
OpenBSD and DragonFly BSD. Finally some work has been done |
137 |
< |
to reduce the platforms on which libstatgrab needs elevated |
138 |
< |
privileges. See the NEWS file for more information. |
189 |
> |
This release mainly includes a bunch of bug fixes, but |
190 |
> |
also brings preliminary support for WIN32. We've also |
191 |
> |
added a few lines to the header file to make C++ linking |
192 |
> |
easier. Please see the NEWS file in the distribution for |
193 |
> |
full details. |
194 |
|
</p> |
195 |
|
<h3> |
196 |
< |
Wednesday 11 February 2004 |
196 |
> |
Sunday 31 July 2005 |
197 |
|
</h3> |
198 |
|
<p> |
199 |
< |
Version 0.8.2 of libstatgrab has been released.<br /> |
200 |
< |
Download it |
146 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.8.2.tar.gz"> |
147 |
< |
here</a>. |
199 |
> |
Version 0.12 of libstatgrab has been released.<br /> |
200 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
201 |
|
</p> |
202 |
|
<p> |
203 |
< |
The main focus of this release is adding support for |
204 |
< |
Solaris 6. We've also added Python bindings so you can use |
205 |
< |
libstatgrab directly from Python (see the extras |
206 |
< |
directory). Finally, we've tidied up a few bits of the |
207 |
< |
code. |
203 |
> |
This release has some new features, bug fixes, and a minor |
204 |
> |
API change. More details have been added to the file |
205 |
> |
system statistics, linux partition detection has been |
206 |
> |
reworked, and compile errors on Linux 2.6 have been fixed. |
207 |
> |
Support has been added for Solaris 10 and FreeBSD 7. |
208 |
> |
There are also manual pages for all the tools. |
209 |
|
</p> |
210 |
+ |
<p> |
211 |
+ |
The duplex value in the network interface statistics has |
212 |
+ |
changed name from "dup" to "duplex" - this breaks the API. |
213 |
+ |
We plan to stabilise the API for a 1.0 release. As before, |
214 |
+ |
the old name is available if SG_ENABLE_DEPRECATED is |
215 |
+ |
defined. |
216 |
+ |
</p> |
217 |
|
<h3> |
218 |
< |
Wednesday 21 January 2004 |
218 |
> |
Tuesday 26 April 2005 |
219 |
|
</h3> |
220 |
|
<p> |
221 |
< |
Version 0.8.1 of libstatgrab has been released.<br /> |
222 |
< |
Download it |
162 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.8.1.tar.gz"> |
163 |
< |
here</a>. |
221 |
> |
Official libstatgrab packages for Debian now |
222 |
> |
<a href="http://packages.debian.org/unstable/source/libstatgrab">available</a>. |
223 |
|
</p> |
224 |
|
<p> |
225 |
< |
This release primarily fixes bugs. On Linux a file |
226 |
< |
descriptor leak was fixed. On Solaris some significant |
227 |
< |
speed increases were made to the disk mapping code, along |
228 |
< |
with some bug fixes for Solaris 7 platforms. Also, the |
229 |
< |
library part of libstatgrab (but not the tools) is now |
171 |
< |
released under the LGPL instead of the GPL. |
225 |
> |
Thanks to the work of |
226 |
> |
<a href="mailto:fenio@debian.org">Bartosz Fenski</a> |
227 |
> |
libstatgrab is now available on debian. This replaces our |
228 |
> |
unofficial debian packages which will no longer be |
229 |
> |
updated. |
230 |
|
</p> |
231 |
|
<h3> |
232 |
< |
Tuesday 6 January 2004 |
232 |
> |
Thursday 3 March 2005 |
233 |
|
</h3> |
234 |
|
<p> |
235 |
< |
Version 0.8 of libstatgrab has been released.<br /> |
236 |
< |
Download it |
179 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.8.tar.gz"> |
180 |
< |
here</a>. |
235 |
> |
Version 0.11.1 of libstatgrab has been released.<br /> |
236 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
237 |
|
</p> |
238 |
|
<p> |
239 |
< |
This release brings support for Linux 2.6 and partial |
240 |
< |
support for Cygwin. On Solaris libstatgrab now returns disk |
241 |
< |
names using cNtNdNsN names rather than the older sdN names. |
242 |
< |
There are also a bunch of fixes and optimisations in |
243 |
< |
various places. Finally, a new function has been added to |
188 |
< |
make it quicker to drop any elevated privileges libstatgrab |
189 |
< |
may require on some operating systems. |
239 |
> |
This release fixes a handful of minor bugs. Duplex |
240 |
> |
settings were reported incorrectly on linux (half and |
241 |
> |
full duplex were swapped), saidar displayed negative |
242 |
> |
filesystem stats incorrectly, and NFS filesystems were |
243 |
> |
ignored. These have all been fixed. |
244 |
|
</p> |
245 |
|
<h3> |
246 |
< |
Wednesday 22 October 2003 |
246 |
> |
Friday 12 November 2004 |
247 |
|
</h3> |
248 |
|
<p> |
249 |
< |
Version 0.7 of libstatgrab has been released.<br /> |
250 |
< |
Download it |
197 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.7.tar.gz"> |
198 |
< |
here</a>. |
249 |
> |
Version 0.11 of libstatgrab has been released.<br /> |
250 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
251 |
|
</p> |
252 |
|
<p> |
253 |
< |
The most significant change in this release is support for |
254 |
< |
NetBSD 1.6.x. Parts of the FreeBSD code have been |
203 |
< |
optimised, and an initialise function has been added to |
204 |
< |
allow programs to drop any extra privileges libstatgrab |
205 |
< |
needs. The list of known file systems has been increased, |
206 |
< |
and libstatgrab has been tested on even more platforms. |
207 |
< |
Finally, saidar has been tweaked to work even if it can't |
208 |
< |
get all the statistics. |
253 |
> |
This release brings support for HP-UX (version 11.11), and |
254 |
> |
also fixes a few other minor issues. |
255 |
|
</p> |
256 |
|
<h3> |
257 |
< |
Saturday 18 October 2003 |
257 |
> |
Wednesday 25 August 2004 |
258 |
|
</h3> |
259 |
|
<p> |
260 |
< |
Version 0.6.1 of libstatgrab has been released.<br /> |
261 |
< |
Download it |
216 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.6.1.tar.gz"> |
217 |
< |
here</a>. |
260 |
> |
Version 0.10.3 of libstatgrab has been released.<br /> |
261 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
262 |
|
</p> |
263 |
|
<p> |
264 |
< |
This release brings support for FreeBSD 5 on sparc 64, and |
265 |
< |
some bugfixes in FreeBSD memory statistics. Also, some |
266 |
< |
fixes to saidar, and statgrab. |
264 |
> |
This release adds a handful of new features to statgrab, and |
265 |
> |
adds support for FreeBSD 6.0-CURRENT. See the NEWS file in |
266 |
> |
the tarball for more details. |
267 |
|
</p> |
268 |
|
<h3> |
269 |
< |
Friday 10 October 2003 |
269 |
> |
Tuesday 27 July 2004 |
270 |
|
</h3> |
271 |
|
<p> |
272 |
< |
Version 0.6 of libstatgrab has been released.<br /> |
273 |
< |
You can download it from our mirror site |
230 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.6.tar.gz"> |
231 |
< |
here</a>. |
272 |
> |
Version 0.10.2 of libstatgrab has been released.<br /> |
273 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
274 |
|
</p> |
275 |
|
<p> |
276 |
< |
This release includes some exciting new tools, support for |
277 |
< |
FreeBSD 5.1, and documentation in manpages. Plus some major |
236 |
< |
bugfixes and packaging enhancements. |
276 |
> |
This release fixes a problem with the shared library |
277 |
> |
version number in the last release. |
278 |
|
</p> |
279 |
|
<h3> |
280 |
< |
Tuesday 09 September 2003 |
280 |
> |
Monday 26 July 2004 |
281 |
|
</h3> |
282 |
|
<p> |
283 |
< |
We're pleased to announce a new release of |
284 |
< |
libstatgrab.<br /> |
244 |
< |
You can download version 0.5.1 from |
245 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.5.1.tar.gz"> |
246 |
< |
here</a>. |
283 |
> |
Version 0.10.1 of libstatgrab has been released.<br /> |
284 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
285 |
|
</p> |
286 |
+ |
<p> |
287 |
+ |
This release consists almost entirely of bugfixes. |
288 |
+ |
We've fixed compile-time errors for recent OpenBSD and |
289 |
+ |
NetBSD platforms, and also a minor bug in statgrab |
290 |
+ |
that broke network statistics on Solaris. New |
291 |
+ |
variables have been added to the pkg-config file to |
292 |
+ |
suggest ownership and permissions of binaries, and |
293 |
+ |
we've added error reporting functions that store errno |
294 |
+ |
values. There's also other minor fixes detailed in the |
295 |
+ |
NEWS file. |
296 |
+ |
</p> |
297 |
|
<h3> |
298 |
< |
Monday 25 August 2003 |
298 |
> |
Thursday 20 May 2004 |
299 |
|
</h3> |
300 |
|
<p> |
301 |
< |
We're pleased to announce a new release of |
302 |
< |
libstatgrab.<br /> |
254 |
< |
You can download version 0.5 from |
255 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.5.tar.gz"> |
256 |
< |
here</a>. |
301 |
> |
Version 0.10 of libstatgrab has been released.<br /> |
302 |
> |
Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
303 |
|
</p> |
304 |
|
<p> |
305 |
< |
This release provides both documentation and examples, |
306 |
< |
which we hope will make the package more useable. Stay |
307 |
< |
tuned for the next release with some useful tools. |
305 |
> |
This release concentrates heavily on standardising the names |
306 |
> |
of functions and structures throughout libstatgrab. Although |
307 |
> |
this will mean changes for existing programs, in the long run |
308 |
> |
we hope it'll make things both clearer and easier. However, |
309 |
> |
for those who still need the old functions we have provided |
310 |
> |
compatibility wrappers. See the NEWS file for details. |
311 |
|
</p> |
263 |
– |
<h2> |
264 |
– |
<a id="what">What is libstatgrab?</a> |
265 |
– |
</h2> |
312 |
|
<p> |
313 |
< |
libstatgrab is a library that provides cross platform |
314 |
< |
access to statistics about the system on which it's run. |
315 |
< |
It's written in C and presents a selection of useful |
316 |
< |
interfaces which can be used to access key system |
317 |
< |
statistics. The current list of statistics includes CPU |
318 |
< |
usage, memory utilisation, disk usage, process counts, |
319 |
< |
network traffic, disk I/O, and more. |
313 |
> |
The other main change in this release is a new function to |
314 |
> |
provide full details on currently running processes. See the |
315 |
> |
documentation for sg_get_process_stats for details. Along with |
316 |
> |
this there are compare functions for use with qsort for sorting |
317 |
> |
process, network, and disk io statistics. We've also introduced |
318 |
> |
error reporting functions that allow calling applications to |
319 |
> |
see why libstatgrab has returned a failure. See sg_get_error. |
320 |
|
</p> |
321 |
|
<p> |
322 |
< |
The current list of platforms is Solaris 2.x, Linux |
323 |
< |
2.2/2.4/2.6, FreeBSD 4.x/5.x, NetBSD 1.6.x, OpenBSD 3.x, |
324 |
< |
DragonFly BSD 1.0, and Cygwin. The aim is to extend this to |
325 |
< |
include as many operating systems as possible. |
322 |
> |
Finally, we've added support for NetBSD 2.0 and tidied up lots |
323 |
> |
of areas of the code. This release does not include the python |
324 |
> |
bindings - they're now available as their own project called |
325 |
> |
<a href="/pystatgrab/">pystatgrab</a>. |
326 |
|
</p> |
327 |
+ |
<h3> |
328 |
+ |
Sunday 21 March 2004 |
329 |
+ |
</h3> |
330 |
|
<p> |
331 |
< |
The package also includes a couple of useful tools. The |
332 |
< |
first, <a href="#screenshot">saidar</a>, provides a |
333 |
< |
curses-based interface to viewing the current state of the |
285 |
< |
system. The second, statgrab, gives a sysctl-style |
286 |
< |
interface to the statistics gathered by libstatgrab. This |
287 |
< |
extends the use of libstatgrab to people writing scripts or |
288 |
< |
anything else that can't easily make C function calls. |
289 |
< |
Included with statgrab is a script to generate an |
290 |
< |
<a href="http://www.mrtg.org">MRTG</a> configuration file |
291 |
< |
to use statgrab. |
331 |
> |
pystatgrab, a new package containing a set of Python |
332 |
> |
bindings, has been released. Check out its |
333 |
> |
<a href="/pystatgrab/">project page</a>. |
334 |
|
</p> |
335 |
|
<h2> |
336 |
|
<a id="download">Downloading</a> |
337 |
|
</h2> |
338 |
|
<p> |
339 |
|
The latest version of libstatgrab can be downloaded from |
340 |
< |
our primary download |
341 |
< |
<a href="http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/"> |
300 |
< |
mirror</a>. All downloads are pgp signed using our |
340 |
> |
our <a href="/mirrors.xhtml">mirror sites</a>. |
341 |
> |
All downloads are pgp signed using our |
342 |
|
<a href="/pgpkey.xhtml">PGP Key</a>. |
343 |
|
</p> |
344 |
|
<p> |
345 |
|
For installation instructions see the README and INSTALL |
346 |
< |
files contained within the archive. If you're using |
306 |
< |
<a href="http://www.freebsd.org">FreeBSD</a> you can make |
307 |
< |
use of the |
308 |
< |
<a href="http://www.freshports.org/devel/libstatgrab"> |
309 |
< |
devel/libstatgrab</a> port to install libstatgrab for you. |
346 |
> |
files contained within the archive. |
347 |
|
</p> |
348 |
|
<h2> |
349 |
|
<a id="bindings">Language Bindings</a> |
353 |
|
<a href="/pystatgrab/">Python</a> |
354 |
|
</li> |
355 |
|
<li> |
356 |
< |
<a href="http://pecl.php.net/statgrab/">PHP (external)</a> |
356 |
> |
<a href="http://pecl.php.net/statgrab/">PHP</a> |
357 |
|
</li> |
358 |
|
<li> |
359 |
< |
<a href="http://search.cpan.org/dist/Unix-Statgrab/">Perl (external)</a> |
359 |
> |
<a href="http://search.cpan.org/dist/Unix-Statgrab/">Perl</a> |
360 |
|
</li> |
361 |
+ |
<li> |
362 |
+ |
<a href="http://statgrab.rubyforge.org/">Ruby</a> |
363 |
+ |
</li> |
364 |
|
</ul> |
365 |
|
<p> |
366 |
|
Here are links to bindings for higher level languages |
367 |
|
that provide access to libstatgrab. If you've written |
368 |
< |
a binding for another language, please get |
329 |
< |
<a href="mailto:dev@i-scream.org">in touch</a> so we |
368 |
> |
a binding for another language, please get in touch so we |
369 |
|
can add a link here. |
370 |
|
</p> |
371 |
|
<h2> |
372 |
< |
<a id="development">Development</a> |
372 |
> |
<a id="packages">Packages of libstatgrab</a> |
373 |
|
</h2> |
374 |
|
<ul> |
375 |
|
<li> |
376 |
< |
<a href="/cgi-bin/cvslog.cgi?period=thisweek&module=projects/libstatgrab">Commits this week</a> |
376 |
> |
<a href="http://www.freebsd.org/cgi/ports.cgi?query=statgrab&stype=all">FreeBSD</a> |
377 |
|
</li> |
378 |
+ |
<li> |
379 |
+ |
<a href="http://packages.gentoo.org/search/?sstring=libstatgrab">Gentoo Linux</a> |
380 |
+ |
</li> |
381 |
+ |
<li> |
382 |
+ |
<a href="http://www.blastwave.org/packages.php/libstatgrab">Solaris (Blastwave)</a> |
383 |
+ |
</li> |
384 |
+ |
<li> |
385 |
+ |
<a href="http://www.sunfreeware.com/">Solaris (SunFreeware)</a> |
386 |
+ |
</li> |
387 |
+ |
<li> |
388 |
+ |
<a href="http://www.opencsw.org/packages/libstatgrab/">Solaris (OpenCSW)</a> |
389 |
+ |
</li> |
390 |
+ |
<li> |
391 |
+ |
<a href="http://packages.debian.org/unstable/source/libstatgrab">Debian</a> |
392 |
+ |
</li> |
393 |
+ |
<li> |
394 |
+ |
<a href="ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/libstatgrab/README.html">NetBSD</a> |
395 |
+ |
</li> |
396 |
+ |
<li> |
397 |
+ |
<a href="http://software.opensuse.org/download/home:/anagappan/">RPMs for various Linux distributions</a> |
398 |
+ |
</li> |
399 |
+ |
<li> |
400 |
+ |
<a href="http://www.openbsd.org/cgi-bin/cvsweb/ports/sysutils/libstatgrab/">OpenBSD</a> |
401 |
+ |
</li> |
402 |
|
</ul> |
403 |
|
<p> |
404 |
< |
We develop libstatgrab using the CVS revision control system. |
405 |
< |
Using this link you can see what changes we've made this week. |
406 |
< |
For more information on our CVS setup see our |
344 |
< |
<a href="/cvs.xhtml">CVS page</a>. |
404 |
> |
These are various pre-packaged versions of libstatgrab |
405 |
> |
that you can get for your favourite operating system. If |
406 |
> |
we've missed any out, please let us know. |
407 |
|
</p> |
408 |
+ |
<p> |
409 |
+ |
We've noticed that Google throws up some RPM's relating |
410 |
+ |
to Mandrake and Suse, but no webpage for them. |
411 |
+ |
</p> |
412 |
|
<h2> |
413 |
|
<a id="documentation">Documentation</a> |
414 |
|
</h2> |
415 |
|
<p> |
416 |
|
The only online documentation we have at the moment is the |
417 |
< |
manual pages converted in to HTML format. It's probably |
418 |
< |
best to start with the overview manual page: |
417 |
> |
manual pages converted in to HTML format. First are the |
418 |
> |
manual pages for the command line tools: |
419 |
|
</p> |
420 |
|
<ul> |
421 |
|
<li> |
422 |
< |
<a href="statgrab.html">statgrab(3)</a> |
422 |
> |
<a href="docs/saidar.1.html">saidar(1)</a> |
423 |
|
</li> |
424 |
+ |
<li> |
425 |
+ |
<a href="docs/statgrab.1.html">statgrab(1)</a> |
426 |
+ |
</li> |
427 |
+ |
<li> |
428 |
+ |
<a href="docs/statgrab-make-mrtg-config.1.html">statgrab-make-mrtg-config(1)</a> |
429 |
+ |
</li> |
430 |
+ |
<li> |
431 |
+ |
<a href="docs/statgrab-make-mrtg-index.1.html">statgrab-make-mrtg-index(1)</a> |
432 |
+ |
</li> |
433 |
|
</ul> |
434 |
|
<p> |
435 |
+ |
We also have an overview page for the library: |
436 |
+ |
</p> |
437 |
+ |
<ul> |
438 |
+ |
<li> |
439 |
+ |
<a href="docs/statgrab.3.html">statgrab(3)</a> |
440 |
+ |
</li> |
441 |
+ |
</ul> |
442 |
+ |
<p> |
443 |
|
Then we have the manual pages for each function: |
444 |
|
</p> |
445 |
|
<ul> |
446 |
|
<li> |
447 |
< |
<a href="sg_get_cpu_stats.html">sg_get_cpu_stats(3)</a> |
447 |
> |
<a href="docs/sg_comp_init.3.html">sg_comp_init(3)</a> |
448 |
|
</li> |
449 |
|
<li> |
450 |
< |
<a href="sg_get_disk_io_stats.html">sg_get_disk_io_stats(3)</a> |
450 |
> |
<a href="docs/sg_get_cpu_stats.3.html">sg_get_cpu_stats(3)</a> |
451 |
|
</li> |
452 |
|
<li> |
453 |
< |
<a href="sg_get_fs_stats.html">sg_get_fs_stats(3)</a> |
453 |
> |
<a href="docs/sg_get_disk_io_stats.3.html">sg_get_disk_io_stats(3)</a> |
454 |
|
</li> |
455 |
|
<li> |
456 |
< |
<a href="sg_get_host_info.html">sg_get_host_info(3)</a> |
456 |
> |
<a href="docs/sg_get_error.3.html">sg_get_error(3)</a> |
457 |
|
</li> |
458 |
|
<li> |
459 |
< |
<a href="sg_get_load_stats.html">sg_get_load_stats(3)</a> |
459 |
> |
<a href="docs/sg_get_fs_stats.3.html">sg_get_fs_stats(3)</a> |
460 |
|
</li> |
461 |
|
<li> |
462 |
< |
<a href="sg_get_mem_stats.html">sg_get_mem_stats(3)</a> |
462 |
> |
<a href="docs/sg_get_host_info.3.html">sg_get_host_info(3)</a> |
463 |
|
</li> |
464 |
|
<li> |
465 |
< |
<a href="sg_get_network_iface_stats.html">sg_get_network_iface_stats(3)</a> |
465 |
> |
<a href="docs/sg_get_load_stats.3.html">sg_get_load_stats(3)</a> |
466 |
|
</li> |
467 |
|
<li> |
468 |
< |
<a href="sg_get_network_io_stats.html">sg_get_network_io_stats(3)</a> |
468 |
> |
<a href="docs/sg_get_mem_stats.3.html">sg_get_mem_stats(3)</a> |
469 |
|
</li> |
470 |
|
<li> |
471 |
< |
<a href="sg_get_page_stats.html">sg_get_page_stats(3)</a> |
471 |
> |
<a href="docs/sg_get_network_iface_stats.3.html">sg_get_network_iface_stats(3)</a> |
472 |
|
</li> |
473 |
|
<li> |
474 |
< |
<a href="sg_get_process_stats.html">sg_get_process_stats(3)</a> |
474 |
> |
<a href="docs/sg_get_network_io_stats.3.html">sg_get_network_io_stats(3)</a> |
475 |
|
</li> |
476 |
|
<li> |
477 |
< |
<a href="sg_get_user_stats.html">sg_get_user_stats(3)</a> |
477 |
> |
<a href="docs/sg_get_page_stats.3.html">sg_get_page_stats(3)</a> |
478 |
> |
</li> |
479 |
> |
<li> |
480 |
> |
<a href="docs/sg_get_process_stats.3.html">sg_get_process_stats(3)</a> |
481 |
> |
</li> |
482 |
> |
<li> |
483 |
> |
<a href="docs/sg_get_user_stats.3.html">sg_get_user_stats(3)</a> |
484 |
> |
</li> |
485 |
> |
<li> |
486 |
> |
<a href="docs/sg_init.3.html">sg_init(3)</a> |
487 |
> |
</li> |
488 |
> |
<li> |
489 |
> |
<a href="docs/sg_internal-intro.3.html">sg_internal-intro(3)</a> |
490 |
> |
</li> |
491 |
> |
<li> |
492 |
> |
<a href="docs/sg_intro.3.html">sg_intro(3)</a> |
493 |
> |
</li> |
494 |
> |
<li> |
495 |
> |
<a href="docs/sg_lock_mutex.3.html">sg_lock_mutex(3)</a> |
496 |
> |
</li> |
497 |
> |
<li> |
498 |
> |
<a href="docs/sg_set_error.3.html">sg_set_error(3)</a> |
499 |
> |
</li> |
500 |
> |
<li> |
501 |
> |
<a href="docs/sg_vector_create.3.html">sg_vector_create(3)</a> |
502 |
|
</li> |
503 |
|
</ul> |
504 |
|
<h2> |