# | Line 16 | Line 16 | |
---|---|---|
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> | |
# | Line 28 | Line 28 | |
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> | |
# | Line 38 | Line 41 | |
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> | |
# | Line 47 | Line 81 | |
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 | + | for a full list. The only new feature is colour support in |
93 | + | saidar which can be activated with the -c runtime flag. |
94 | + | </p> |
95 | + | <h3> |
96 | + | Monday 20 March 2006 |
97 | + | </h3> |
98 | + | <p> |
99 | + | Version 0.13 of libstatgrab has been released.<br /> |
100 | + | Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
101 | + | </p> |
102 | + | <p> |
103 | + | This release mainly includes a bunch of bug fixes, but |
104 | + | also brings preliminary support for WIN32. We've also |
105 | + | added a few lines to the header file to make C++ linking |
106 | + | easier. Please see the NEWS file in the distribution for |
107 | + | full details. |
108 | + | </p> |
109 | + | <h3> |
110 | + | Sunday 31 July 2005 |
111 | + | </h3> |
112 | + | <p> |
113 | + | Version 0.12 of libstatgrab has been released.<br /> |
114 | + | Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
115 | + | </p> |
116 | + | <p> |
117 | + | This release has some new features, bug fixes, and a minor |
118 | + | API change. More details have been added to the file |
119 | + | system statistics, linux partition detection has been |
120 | + | reworked, and compile errors on Linux 2.6 have been fixed. |
121 | + | Support has been added for Solaris 10 and FreeBSD 7. |
122 | + | There are also manual pages for all the tools. |
123 | + | </p> |
124 | + | <p> |
125 | + | The duplex value in the network interface statistics has |
126 | + | changed name from "dup" to "duplex" - this breaks the API. |
127 | + | We plan to stabilise the API for a 1.0 release. As before, |
128 | + | the old name is available if SG_ENABLE_DEPRECATED is |
129 | + | defined. |
130 | + | </p> |
131 | + | <h3> |
132 | + | Tuesday 26 April 2005 |
133 | + | </h3> |
134 | + | <p> |
135 | + | Official libstatgrab packages for Debian now |
136 | + | <a href="http://packages.debian.org/unstable/source/libstatgrab">available</a>. |
137 | + | </p> |
138 | + | <p> |
139 | + | Thanks to the work of |
140 | + | <a href="mailto:fenio@debian.org">Bartosz Fenski</a> |
141 | + | libstatgrab is now available on debian. This replaces our |
142 | + | unofficial debian packages which will no longer be |
143 | + | updated. |
144 | + | </p> |
145 | + | <h3> |
146 | + | Thursday 3 March 2005 |
147 | + | </h3> |
148 | + | <p> |
149 | + | Version 0.11.1 of libstatgrab has been released.<br /> |
150 | + | Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
151 | + | </p> |
152 | + | <p> |
153 | + | This release fixes a handful of minor bugs. Duplex |
154 | + | settings were reported incorrectly on linux (half and |
155 | + | full duplex were swapped), saidar displayed negative |
156 | + | filesystem stats incorrectly, and NFS filesystems were |
157 | + | ignored. These have all been fixed. |
158 | + | </p> |
159 | + | <h3> |
160 | + | Friday 12 November 2004 |
161 | + | </h3> |
162 | + | <p> |
163 | + | Version 0.11 of libstatgrab has been released.<br /> |
164 | + | Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
165 | + | </p> |
166 | + | <p> |
167 | + | This release brings support for HP-UX (version 11.11), and |
168 | + | also fixes a few other minor issues. |
169 | + | </p> |
170 | + | <h3> |
171 | Wednesday 25 August 2004 | |
172 | </h3> | |
173 | <p> | |
# | Line 122 | Line 243 | |
243 | </h3> | |
244 | <p> | |
245 | pystatgrab, a new package containing a set of Python | |
246 | < | bindings, has been released. Check out it's |
246 | > | bindings, has been released. Check out its |
247 | <a href="/pystatgrab/">project page</a>. | |
248 | </p> | |
128 | – | <h3> |
129 | – | Wednesday 10 March 2004 |
130 | – | </h3> |
131 | – | <p> |
132 | – | Version 0.9 of libstatgrab has been released.<br /> |
133 | – | Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
134 | – | </p> |
135 | – | <p> |
136 | – | This release brings new features and new platforms. We've |
137 | – | added information about network interfaces (duplex, speed, |
138 | – | etc) along with further statistics such as i/o packets, i/o |
139 | – | errors, and collisions. Support has also been added for |
140 | – | OpenBSD and DragonFly BSD. Finally some work has been done |
141 | – | to reduce the platforms on which libstatgrab needs elevated |
142 | – | privileges. See the NEWS file for more information. |
143 | – | </p> |
144 | – | <h3> |
145 | – | Wednesday 11 February 2004 |
146 | – | </h3> |
147 | – | <p> |
148 | – | Version 0.8.2 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 main focus of this release is adding support for |
153 | – | Solaris 6. We've also added Python bindings so you can use |
154 | – | libstatgrab directly from Python (see the extras |
155 | – | directory). Finally, we've tidied up a few bits of the |
156 | – | code. |
157 | – | </p> |
158 | – | <h3> |
159 | – | Wednesday 21 January 2004 |
160 | – | </h3> |
161 | – | <p> |
162 | – | Version 0.8.1 of libstatgrab has been released.<br /> |
163 | – | Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
164 | – | </p> |
165 | – | <p> |
166 | – | This release primarily fixes bugs. On Linux a file |
167 | – | descriptor leak was fixed. On Solaris some significant |
168 | – | speed increases were made to the disk mapping code, along |
169 | – | with some bug fixes for Solaris 7 platforms. Also, the |
170 | – | library part of libstatgrab (but not the tools) is now |
171 | – | released under the LGPL instead of the GPL. |
172 | – | </p> |
173 | – | <h3> |
174 | – | Tuesday 6 January 2004 |
175 | – | </h3> |
176 | – | <p> |
177 | – | Version 0.8 of libstatgrab has been released.<br /> |
178 | – | Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
179 | – | </p> |
180 | – | <p> |
181 | – | This release brings support for Linux 2.6 and partial |
182 | – | support for Cygwin. On Solaris libstatgrab now returns disk |
183 | – | names using cNtNdNsN names rather than the older sdN names. |
184 | – | There are also a bunch of fixes and optimisations in |
185 | – | various places. Finally, a new function has been added to |
186 | – | make it quicker to drop any elevated privileges libstatgrab |
187 | – | may require on some operating systems. |
188 | – | </p> |
249 | <h2> | |
190 | – | <a id="what">What is libstatgrab?</a> |
191 | – | </h2> |
192 | – | <p> |
193 | – | libstatgrab is a library that provides cross platform |
194 | – | access to statistics about the system on which it's run. |
195 | – | It's written in C and presents a selection of useful |
196 | – | interfaces which can be used to access key system |
197 | – | statistics. The current list of statistics includes CPU |
198 | – | usage, memory utilisation, disk usage, process counts, |
199 | – | network traffic, disk I/O, and more. |
200 | – | </p> |
201 | – | <p> |
202 | – | The current list of platforms is Solaris 2.x, Linux |
203 | – | 2.2/2.4/2.6, FreeBSD 4.x/5.x, NetBSD 1.6.x, OpenBSD 3.x, |
204 | – | DragonFly BSD 1.0, and Cygwin. The aim is to extend this to |
205 | – | include as many operating systems as possible. |
206 | – | </p> |
207 | – | <p> |
208 | – | The package also includes a couple of useful tools. The |
209 | – | first, <a href="#screenshot">saidar</a>, provides a |
210 | – | curses-based interface to viewing the current state of the |
211 | – | system. The second, statgrab, gives a sysctl-style |
212 | – | interface to the statistics gathered by libstatgrab. This |
213 | – | extends the use of libstatgrab to people writing scripts or |
214 | – | anything else that can't easily make C function calls. |
215 | – | Included with statgrab is a script to generate an |
216 | – | <a href="http://www.mrtg.org">MRTG</a> configuration file |
217 | – | to use statgrab. |
218 | – | </p> |
219 | – | <h2> |
250 | <a id="download">Downloading</a> | |
251 | </h2> | |
252 | <p> | |
# | Line 227 | Line 257 | |
257 | </p> | |
258 | <p> | |
259 | For installation instructions see the README and INSTALL | |
260 | < | files contained within the archive. If you're using |
231 | < | <a href="http://www.freebsd.org">FreeBSD</a> you can make |
232 | < | use of the |
233 | < | <a href="http://www.freshports.org/devel/libstatgrab"> |
234 | < | devel/libstatgrab</a> port to install libstatgrab for you. |
260 | > | files contained within the archive. |
261 | </p> | |
262 | <h2> | |
263 | <a id="bindings">Language Bindings</a> | |
# | Line 251 | Line 277 | |
277 | Here are links to bindings for higher level languages | |
278 | that provide access to libstatgrab. If you've written | |
279 | a binding for another language, please get | |
280 | < | <a href="mailto:dev@i-scream.org">in touch</a> so we |
280 | > | <a href="mailto:support@i-scream.org">in touch</a> so we |
281 | can add a link here. | |
282 | </p> | |
283 | <h2> | |
284 | + | <a id="packages">Packages of libstatgrab</a> |
285 | + | </h2> |
286 | + | <ul> |
287 | + | <li> |
288 | + | <a href="http://www.freebsd.org/cgi/ports.cgi?query=statgrab&stype=all">FreeBSD</a> |
289 | + | </li> |
290 | + | <li> |
291 | + | <a href="http://packages.gentoo.org/search/?sstring=libstatgrab">Gentoo Linux</a> |
292 | + | </li> |
293 | + | <li> |
294 | + | <a href="http://www.blastwave.org/packages.php/libstatgrab">Solaris (Blastwave)</a> |
295 | + | </li> |
296 | + | <li> |
297 | + | <a href="http://www.sunfreeware.com/">Solaris (SunFreeware)</a> |
298 | + | </li> |
299 | + | <li> |
300 | + | <a href="http://packages.debian.org/unstable/source/libstatgrab">Debian</a> |
301 | + | </li> |
302 | + | <li> |
303 | + | <a href="ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/libstatgrab/README.html">NetBSD</a> |
304 | + | </li> |
305 | + | </ul> |
306 | + | <p> |
307 | + | These are various pre-packaged versions of libstatgrab |
308 | + | that you can get for your favourite operating system. If |
309 | + | we've missed any out, please let us know. |
310 | + | </p> |
311 | + | <p> |
312 | + | We've noticed that google throws up some RPM's relating |
313 | + | to Mandrake and Suse, but no webpage for them. |
314 | + | </p> |
315 | + | <p> |
316 | + | Several attempts were made to submit a port to the |
317 | + | OpenBSD folk, but they didn't seem interested in taking |
318 | + | it. You can find it |
319 | + | <a href="http://ftp.i-scream.org/pub/i-scream/tmp/libstatgrab-0.11-openbsd-port.tar.gz"> |
320 | + | here</a>. |
321 | + | </p> |
322 | + | <h2> |
323 | <a id="development">Development</a> | |
324 | </h2> | |
325 | <ul> | |
# | Line 273 | Line 338 | |
338 | </h2> | |
339 | <p> | |
340 | The only online documentation we have at the moment is the | |
341 | < | manual pages converted in to HTML format. It's probably |
342 | < | best to start with the overview manual page: |
341 | > | manual pages converted in to HTML format. First are the |
342 | > | manual pages for the command line tools: |
343 | </p> | |
344 | <ul> | |
345 | <li> | |
346 | < | <a href="statgrab.html">statgrab(3)</a> |
346 | > | <a href="docs/saidar.1.html">saidar(1)</a> |
347 | </li> | |
348 | + | <li> |
349 | + | <a href="docs/statgrab.1.html">statgrab(1)</a> |
350 | + | </li> |
351 | + | <li> |
352 | + | <a href="docs/statgrab-make-mrtg-config.1.html">statgrab-make-mrtg-config(1)</a> |
353 | + | </li> |
354 | + | <li> |
355 | + | <a href="docs/statgrab-make-mrtg-index.1.html">statgrab-make-mrtg-index(1)</a> |
356 | + | </li> |
357 | </ul> | |
358 | <p> | |
359 | + | We also have an overview page for the library: |
360 | + | </p> |
361 | + | <ul> |
362 | + | <li> |
363 | + | <a href="docs/statgrab.3.html">statgrab(3)</a> |
364 | + | </li> |
365 | + | </ul> |
366 | + | <p> |
367 | Then we have the manual pages for each function: | |
368 | </p> | |
369 | <ul> | |
370 | <li> | |
371 | < | <a href="sg_get_cpu_stats.html">sg_get_cpu_stats(3)</a> |
371 | > | <a href="docs/sg_get_cpu_stats.3.html">sg_get_cpu_stats(3)</a> |
372 | </li> | |
373 | <li> | |
374 | < | <a href="sg_get_disk_io_stats.html">sg_get_disk_io_stats(3)</a> |
374 | > | <a href="docs/sg_get_disk_io_stats.3.html">sg_get_disk_io_stats(3)</a> |
375 | </li> | |
376 | <li> | |
377 | < | <a href="sg_get_fs_stats.html">sg_get_fs_stats(3)</a> |
377 | > | <a href="docs/sg_get_fs_stats.3.html">sg_get_fs_stats(3)</a> |
378 | </li> | |
379 | <li> | |
380 | < | <a href="sg_get_host_info.html">sg_get_host_info(3)</a> |
380 | > | <a href="docs/sg_get_host_info.3.html">sg_get_host_info(3)</a> |
381 | </li> | |
382 | <li> | |
383 | < | <a href="sg_get_load_stats.html">sg_get_load_stats(3)</a> |
383 | > | <a href="docs/sg_get_load_stats.3.html">sg_get_load_stats(3)</a> |
384 | </li> | |
385 | <li> | |
386 | < | <a href="sg_get_mem_stats.html">sg_get_mem_stats(3)</a> |
386 | > | <a href="docs/sg_get_mem_stats.3.html">sg_get_mem_stats(3)</a> |
387 | </li> | |
388 | <li> | |
389 | < | <a href="sg_get_network_iface_stats.html">sg_get_network_iface_stats(3)</a> |
389 | > | <a href="docs/sg_get_network_iface_stats.3.html">sg_get_network_iface_stats(3)</a> |
390 | </li> | |
391 | <li> | |
392 | < | <a href="sg_get_network_io_stats.html">sg_get_network_io_stats(3)</a> |
392 | > | <a href="docs/sg_get_network_io_stats.3.html">sg_get_network_io_stats(3)</a> |
393 | </li> | |
394 | <li> | |
395 | < | <a href="sg_get_page_stats.html">sg_get_page_stats(3)</a> |
395 | > | <a href="docs/sg_get_page_stats.3.html">sg_get_page_stats(3)</a> |
396 | </li> | |
397 | <li> | |
398 | < | <a href="sg_get_process_stats.html">sg_get_process_stats(3)</a> |
398 | > | <a href="docs/sg_get_process_stats.3.html">sg_get_process_stats(3)</a> |
399 | </li> | |
400 | <li> | |
401 | < | <a href="sg_get_user_stats.html">sg_get_user_stats(3)</a> |
401 | > | <a href="docs/sg_get_user_stats.3.html">sg_get_user_stats(3)</a> |
402 | </li> | |
403 | </ul> | |
404 | <h2> |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |