# | 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> | |
26 | </li> | |
27 | <li> | |
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> |
37 | <a href="#documentation">Documentation</a> | |
38 | </li> | |
39 | <li> | |
# | Line 33 | Line 42 | |
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> | |
# | Line 41 | Line 80 | |
80 | <a href="http://freshmeat.net/projects/libstatgrab/">freshmeat</a>? | |
81 | </p> | |
82 | <h3> | |
83 | < | Sunday 21 March 2004 |
83 | > | Thursday 3 March 2005 |
84 | </h3> | |
85 | <p> | |
86 | < | pystatgrab, a new package containing a set of Python |
87 | < | bindings, has been released. Check out it's |
49 | < | <a href="/pystatgrab/">project page</a>. |
86 | > | Version 0.11.1 of libstatgrab has been released.<br /> |
87 | > | Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
88 | </p> | |
51 | – | <h3> |
52 | – | Wednesday 10 March 2004 |
53 | – | </h3> |
89 | <p> | |
90 | < | Version 0.9 of libstatgrab has been released.<br /> |
91 | < | Download it |
92 | < | <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.9.tar.gz"> |
93 | < | here</a>. |
90 | > | This release fixes a handful of minor bugs. Duplex |
91 | > | settings were reported incorrectly on linux (half and |
92 | > | full duplex were swapped), saidar displayed negative |
93 | > | filesystem stats incorrectly, and NFS filesystems were |
94 | > | ignored. These have all been fixed. |
95 | </p> | |
60 | – | <p> |
61 | – | This release brings new features and new platforms. We've |
62 | – | added information about network interfaces (duplex, speed, |
63 | – | etc) along with further statistics such as i/o packets, i/o |
64 | – | errors, and collisions. Support has also been added for |
65 | – | OpenBSD and DragonFly BSD. Finally some work has been done |
66 | – | to reduce the platforms on which libstatgrab needs elevated |
67 | – | privileges. See the NEWS file for more information. |
68 | – | </p> |
96 | <h3> | |
97 | < | Wednesday 11 February 2004 |
97 | > | Friday 12 November 2004 |
98 | </h3> | |
99 | <p> | |
100 | < | Version 0.8.2 of libstatgrab has been released.<br /> |
101 | < | Download it |
75 | < | <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.8.2.tar.gz"> |
76 | < | here</a>. |
100 | > | Version 0.11 of libstatgrab has been released.<br /> |
101 | > | Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
102 | </p> | |
103 | <p> | |
104 | < | The main focus of this release is adding support for |
105 | < | Solaris 6. We've also added Python bindings so you can use |
81 | < | libstatgrab directly from Python (see the extras |
82 | < | directory). Finally, we've tidied up a few bits of the |
83 | < | code. |
104 | > | This release brings support for HP-UX (version 11.11), and |
105 | > | also fixes a few other minor issues. |
106 | </p> | |
107 | <h3> | |
108 | < | Wednesday 21 January 2004 |
108 | > | Wednesday 25 August 2004 |
109 | </h3> | |
110 | <p> | |
111 | < | Version 0.8.1 of libstatgrab has been released.<br /> |
112 | < | Download it |
91 | < | <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.8.1.tar.gz"> |
92 | < | here</a>. |
111 | > | Version 0.10.3 of libstatgrab has been released.<br /> |
112 | > | Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
113 | </p> | |
114 | <p> | |
115 | < | This release primarily fixes bugs. On Linux a file |
116 | < | descriptor leak was fixed. On Solaris some significant |
117 | < | speed increases were made to the disk mapping code, along |
98 | < | with some bug fixes for Solaris 7 platforms. Also, the |
99 | < | library part of libstatgrab (but not the tools) is now |
100 | < | released under the LGPL instead of the GPL. |
115 | > | This release adds a handful of new features to statgrab, and |
116 | > | adds support for FreeBSD 6.0-CURRENT. See the NEWS file in |
117 | > | the tarball for more details. |
118 | </p> | |
119 | <h3> | |
120 | < | Tuesday 6 January 2004 |
120 | > | Tuesday 27 July 2004 |
121 | </h3> | |
122 | <p> | |
123 | < | Version 0.8 of libstatgrab has been released.<br /> |
124 | < | Download it |
108 | < | <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.8.tar.gz"> |
109 | < | here</a>. |
123 | > | Version 0.10.2 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 brings support for Linux 2.6 and partial |
128 | < | support for Cygwin. On Solaris libstatgrab now returns disk |
114 | < | names using cNtNdNsN names rather than the older sdN names. |
115 | < | There are also a bunch of fixes and optimisations in |
116 | < | various places. Finally, a new function has been added to |
117 | < | make it quicker to drop any elevated privileges libstatgrab |
118 | < | may require on some operating systems. |
127 | > | This release fixes a problem with the shared library |
128 | > | version number in the last release. |
129 | </p> | |
130 | <h3> | |
131 | < | Wednesday 22 October 2003 |
131 | > | Monday 26 July 2004 |
132 | </h3> | |
133 | <p> | |
134 | < | Version 0.7 of libstatgrab has been released.<br /> |
135 | < | Download it |
126 | < | <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.7.tar.gz"> |
127 | < | here</a>. |
134 | > | Version 0.10.1 of libstatgrab has been released.<br /> |
135 | > | Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
136 | </p> | |
137 | <p> | |
138 | < | The most significant change in this release is support for |
139 | < | NetBSD 1.6.x. Parts of the FreeBSD code have been |
140 | < | optimised, and an initialise function has been added to |
141 | < | allow programs to drop any extra privileges libstatgrab |
142 | < | needs. The list of known file systems has been increased, |
143 | < | and libstatgrab has been tested on even more platforms. |
144 | < | Finally, saidar has been tweaked to work even if it can't |
145 | < | get all the statistics. |
138 | > | This release consists almost entirely of bugfixes. |
139 | > | We've fixed compile-time errors for recent OpenBSD and |
140 | > | NetBSD platforms, and also a minor bug in statgrab |
141 | > | that broke network statistics on Solaris. New |
142 | > | variables have been added to the pkg-config file to |
143 | > | suggest ownership and permissions of binaries, and |
144 | > | we've added error reporting functions that store errno |
145 | > | values. There's also other minor fixes detailed in the |
146 | > | NEWS file. |
147 | </p> | |
148 | <h3> | |
149 | < | Saturday 18 October 2003 |
149 | > | Thursday 20 May 2004 |
150 | </h3> | |
151 | <p> | |
152 | < | Version 0.6.1 of libstatgrab has been released.<br /> |
153 | < | Download it |
145 | < | <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.6.1.tar.gz"> |
146 | < | here</a>. |
152 | > | Version 0.10 of libstatgrab has been released.<br /> |
153 | > | Download it from one of our <a href="/mirrors.xhtml">mirrors</a>. |
154 | </p> | |
155 | <p> | |
156 | < | This release brings support for FreeBSD 5 on sparc 64, and |
157 | < | some bugfixes in FreeBSD memory statistics. Also, some |
158 | < | fixes to saidar, and statgrab. |
156 | > | This release concentrates heavily on standardising the names |
157 | > | of functions and structures throughout libstatgrab. Although |
158 | > | this will mean changes for existing programs, in the long run |
159 | > | we hope it'll make things both clearer and easier. However, |
160 | > | for those who still need the old functions we have provided |
161 | > | compatibility wrappers. See the NEWS file for details. |
162 | </p> | |
153 | – | <h3> |
154 | – | Friday 10 October 2003 |
155 | – | </h3> |
163 | <p> | |
164 | < | Version 0.6 of libstatgrab has been released.<br /> |
165 | < | You can download it from our mirror site |
166 | < | <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.6.tar.gz"> |
167 | < | here</a>. |
164 | > | The other main change in this release is a new function to |
165 | > | provide full details on currently running processes. See the |
166 | > | documentation for sg_get_process_stats for details. Along with |
167 | > | this there are compare functions for use with qsort for sorting |
168 | > | process, network, and disk io statistics. We've also introduced |
169 | > | error reporting functions that allow calling applications to |
170 | > | see why libstatgrab has returned a failure. See sg_get_error. |
171 | </p> | |
172 | <p> | |
173 | < | This release includes some exciting new tools, support for |
174 | < | FreeBSD 5.1, and documentation in manpages. Plus some major |
175 | < | bugfixes and packaging enhancements. |
173 | > | Finally, we've added support for NetBSD 2.0 and tidied up lots |
174 | > | of areas of the code. This release does not include the python |
175 | > | bindings - they're now available as their own project called |
176 | > | <a href="/pystatgrab/">pystatgrab</a>. |
177 | </p> | |
178 | <h3> | |
179 | < | Tuesday 09 September 2003 |
179 | > | Sunday 21 March 2004 |
180 | </h3> | |
181 | <p> | |
182 | < | We're pleased to announce a new release of |
183 | < | libstatgrab.<br /> |
184 | < | You can download version 0.5.1 from |
174 | < | <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.5.1.tar.gz"> |
175 | < | here</a>. |
182 | > | pystatgrab, a new package containing a set of Python |
183 | > | bindings, has been released. Check out it's |
184 | > | <a href="/pystatgrab/">project page</a>. |
185 | </p> | |
186 | < | <h3> |
187 | < | Monday 25 August 2003 |
188 | < | </h3> |
186 | > | <h2> |
187 | > | <a id="download">Downloading</a> |
188 | > | </h2> |
189 | <p> | |
190 | < | We're pleased to announce a new release of |
191 | < | libstatgrab.<br /> |
192 | < | You can download version 0.5 from |
193 | < | <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.5.tar.gz"> |
185 | < | here</a>. |
190 | > | The latest version of libstatgrab can be downloaded from |
191 | > | our <a href="/mirrors.xhtml">mirror sites</a>. |
192 | > | All downloads are pgp signed using our |
193 | > | <a href="/pgpkey.xhtml">PGP Key</a>. |
194 | </p> | |
195 | <p> | |
196 | < | This release provides both documentation and examples, |
197 | < | which we hope will make the package more useable. Stay |
190 | < | tuned for the next release with some useful tools. |
196 | > | For installation instructions see the README and INSTALL |
197 | > | files contained within the archive. |
198 | </p> | |
199 | <h2> | |
200 | < | <a id="what">What is libstatgrab?</a> |
200 | > | <a id="bindings">Language Bindings</a> |
201 | </h2> | |
202 | + | <ul> |
203 | + | <li> |
204 | + | <a href="/pystatgrab/">Python</a> |
205 | + | </li> |
206 | + | <li> |
207 | + | <a href="http://pecl.php.net/statgrab/">PHP (external)</a> |
208 | + | </li> |
209 | + | <li> |
210 | + | <a href="http://search.cpan.org/dist/Unix-Statgrab/">Perl (external)</a> |
211 | + | </li> |
212 | + | </ul> |
213 | <p> | |
214 | < | libstatgrab is a library that provides cross platform |
215 | < | access to statistics about the system on which it's run. |
216 | < | It's written in C and presents a selection of useful |
217 | < | interfaces which can be used to access key system |
218 | < | statistics. The current list of statistics includes CPU |
201 | < | usage, memory utilisation, disk usage, process counts, |
202 | < | network traffic, disk I/O, and more. |
214 | > | Here are links to bindings for higher level languages |
215 | > | that provide access to libstatgrab. If you've written |
216 | > | a binding for another language, please get |
217 | > | <a href="mailto:dev@i-scream.org">in touch</a> so we |
218 | > | can add a link here. |
219 | </p> | |
220 | + | <h2> |
221 | + | <a id="packages">Packages of libstatgrab</a> |
222 | + | </h2> |
223 | + | <ul> |
224 | + | <li> |
225 | + | <a href="http://www.freebsd.org/cgi/ports.cgi?query=statgrab&stype=all">FreeBSD</a> |
226 | + | </li> |
227 | + | <li> |
228 | + | <a href="http://packages.gentoo.org/search/?sstring=statgrab">Gentoo Linux</a> |
229 | + | </li> |
230 | + | <li> |
231 | + | <a href="http://www.blastwave.org/packages.php/libstatgrab">Solaris (Blastwave)</a> |
232 | + | </li> |
233 | + | <li> |
234 | + | <a href="http://ftp.i-scream.org/pub/i-scream/packages/debian/">Debian (unofficial)</a> |
235 | + | </li> |
236 | + | <li> |
237 | + | <a href="ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/devel/libstatgrab/README.html">NetBSD</a> |
238 | + | </li> |
239 | + | </ul> |
240 | <p> | |
241 | < | The current list of platforms is Solaris 2.x, Linux |
242 | < | 2.2/2.4/2.6, FreeBSD 4.x/5.x, NetBSD 1.6.x, OpenBSD 3.x, |
243 | < | DragonFly BSD 1.0, and Cygwin. The aim is to extend this to |
208 | < | include as many operating systems as possible. |
241 | > | These are various pre-packaged versions of libstatgrab |
242 | > | that you can get for your favourite operating system. If |
243 | > | we've missed any out, please let us know. |
244 | </p> | |
245 | <p> | |
246 | < | The package also includes a couple of useful tools. The |
247 | < | first, <a href="#screenshot">saidar</a>, provides a |
213 | < | curses-based interface to viewing the current state of the |
214 | < | system. The second, statgrab, gives a sysctl-style |
215 | < | interface to the statistics gathered by libstatgrab. This |
216 | < | extends the use of libstatgrab to people writing scripts or |
217 | < | anything else that can't easily make C function calls. |
218 | < | Included with statgrab is a script to generate an |
219 | < | <a href="http://www.mrtg.org">MRTG</a> configuration file |
220 | < | to use statgrab. |
246 | > | We've noticed that google throws up some RPM's relating |
247 | > | to Mandrake and Suse, but no webpage for them. |
248 | </p> | |
249 | + | <p> |
250 | + | Several attempts were made to submit a port to the |
251 | + | OpenBSD folk, but they didn't seem interested in taking |
252 | + | it. You can find it |
253 | + | <a href="http://ftp.i-scream.org/pub/i-scream/tmp/libstatgrab-0.11-openbsd-port.tar.gz"> |
254 | + | here</a>. |
255 | + | </p> |
256 | <h2> | |
257 | < | <a id="download">Downloading</a> |
257 | > | <a id="development">Development</a> |
258 | </h2> | |
259 | + | <ul> |
260 | + | <li> |
261 | + | <a href="/cgi-bin/cvslog.cgi?period=thisweek&module=projects/libstatgrab">Commits this week</a> |
262 | + | </li> |
263 | + | </ul> |
264 | <p> | |
265 | < | The latest version of libstatgrab can be downloaded from |
266 | < | our primary download |
267 | < | <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/"> |
268 | < | mirror</a>. All downloads are pgp signed using our |
230 | < | <a href="/pgpkey.xhtml">PGP Key</a>. |
265 | > | We develop libstatgrab using the CVS revision control system. |
266 | > | Using this link you can see what changes we've made this week. |
267 | > | For more information on our CVS setup see our |
268 | > | <a href="/cvs.xhtml">CVS page</a>. |
269 | </p> | |
232 | – | <p> |
233 | – | For installation instructions see the README and INSTALL |
234 | – | files contained within the archive. If you're using |
235 | – | <a href="http://www.freebsd.org">FreeBSD</a> you can make |
236 | – | use of the |
237 | – | <a href="http://www.freshports.org/devel/libstatgrab"> |
238 | – | devel/libstatgrab</a> port to install libstatgrab for you. |
239 | – | </p> |
270 | <h2> | |
271 | <a id="documentation">Documentation</a> | |
272 | </h2> | |
# | Line 255 | Line 285 | |
285 | </p> | |
286 | <ul> | |
287 | <li> | |
288 | < | <a href="cpu_percent_usage.html">cpu_percent_usage(3)</a> |
288 | > | <a href="sg_get_cpu_stats.html">sg_get_cpu_stats(3)</a> |
289 | </li> | |
290 | <li> | |
291 | < | <a href="get_diskio_stats.html">get_diskio_stats(3)</a> |
291 | > | <a href="sg_get_disk_io_stats.html">sg_get_disk_io_stats(3)</a> |
292 | </li> | |
293 | <li> | |
294 | < | <a href="get_general_stats.html">get_general_stats(3)</a> |
294 | > | <a href="sg_get_fs_stats.html">sg_get_fs_stats(3)</a> |
295 | </li> | |
296 | <li> | |
297 | < | <a href="get_load_stats.html">get_load_stats(3)</a> |
297 | > | <a href="sg_get_host_info.html">sg_get_host_info(3)</a> |
298 | </li> | |
299 | <li> | |
300 | < | <a href="get_memory_stats.html">get_memory_stats(3)</a> |
300 | > | <a href="sg_get_load_stats.html">sg_get_load_stats(3)</a> |
301 | </li> | |
302 | <li> | |
303 | < | <a href="get_network_iface_stats.html">get_network_iface_stats(3)</a> |
303 | > | <a href="sg_get_mem_stats.html">sg_get_mem_stats(3)</a> |
304 | </li> | |
305 | <li> | |
306 | < | <a href="get_network_stats.html">get_network_stats(3)</a> |
306 | > | <a href="sg_get_network_iface_stats.html">sg_get_network_iface_stats(3)</a> |
307 | </li> | |
308 | <li> | |
309 | < | <a href="get_page_stats.html">get_page_stats(3)</a> |
309 | > | <a href="sg_get_network_io_stats.html">sg_get_network_io_stats(3)</a> |
310 | </li> | |
311 | <li> | |
312 | < | <a href="get_process_stats.html">get_process_stats(3)</a> |
312 | > | <a href="sg_get_page_stats.html">sg_get_page_stats(3)</a> |
313 | </li> | |
314 | <li> | |
315 | < | <a href="get_user_stats.html">get_user_stats(3)</a> |
315 | > | <a href="sg_get_process_stats.html">sg_get_process_stats(3)</a> |
316 | > | </li> |
317 | > | <li> |
318 | > | <a href="sg_get_user_stats.html">sg_get_user_stats(3)</a> |
319 | </li> | |
320 | </ul> | |
321 | <h2> |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |