| 1 | 
 tdb | 
 1.1 | 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | 
 
 
 
 
 
 | 2 | 
   | 
   | 
  | 
 
 
 
 
 
 | 3 | 
   | 
   | 
 <!-- | 
 
 
 
 
 
 
 
 
 | 4 | 
 tdb | 
 1.2 | 
     $Author: tdb $ | 
 
 
 
 
 
 
 
 
 | 5 | 
 tdb | 
 1.5 | 
     $Id: index.shtml,v 1.4 2003/10/10 10:42:56 tdb Exp $ | 
 
 
 
 
 
 
 
 
 | 6 | 
 tdb | 
 1.1 | 
 --> | 
 
 
 
 
 
 | 7 | 
   | 
   | 
  | 
 
 
 
 
 
 | 8 | 
   | 
   | 
 <html> | 
 
 
 
 
 
 | 9 | 
   | 
   | 
  | 
 
 
 
 
 
 | 10 | 
   | 
   | 
 <head> | 
 
 
 
 
 
 | 11 | 
   | 
   | 
   <title>i-scream libstatgrab homepage</title> | 
 
 
 
 
 
 | 12 | 
   | 
   | 
 </head> | 
 
 
 
 
 
 | 13 | 
   | 
   | 
  | 
 
 
 
 
 
 | 14 | 
   | 
   | 
 <body bgcolor="#ffffff" link="#0000ff" alink="#3333cc" vlink="#3333cc" text="#000066"> | 
 
 
 
 
 
 | 15 | 
   | 
   | 
  | 
 
 
 
 
 
 | 16 | 
   | 
   | 
 <table border="0" cellpadding="2" cellspacing="2"> | 
 
 
 
 
 
 | 17 | 
   | 
   | 
   <tr> | 
 
 
 
 
 
 | 18 | 
   | 
   | 
     <td valign="top"> | 
 
 
 
 
 
 | 19 | 
   | 
   | 
 <!--#include virtual="../left.inc" --> | 
 
 
 
 
 
 | 20 | 
   | 
   | 
     </td> | 
 
 
 
 
 
 | 21 | 
   | 
   | 
     <td valign="top"> | 
 
 
 
 
 
 | 22 | 
   | 
   | 
 <!--#include virtual="../title.inc" --> | 
 
 
 
 
 
 | 23 | 
   | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 24 | 
 tdb | 
 1.3 | 
 <font size="2" face="arial,sans-serif"> | 
 
 
 
 
 
 | 25 | 
   | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 26 | 
 tdb | 
 1.1 | 
 <h1>libstatgrab</h1> | 
 
 
 
 
 
 | 27 | 
   | 
   | 
  | 
 
 
 
 
 
 | 28 | 
   | 
   | 
 <ul> | 
 
 
 
 
 
 | 29 | 
   | 
   | 
 <li><a href="#news">News</a></li> | 
 
 
 
 
 
 | 30 | 
   | 
   | 
 <li><a href="#what">What is libstatgrab?</a></li> | 
 
 
 
 
 
 | 31 | 
   | 
   | 
 <li><a href="#download">Downloading</a></li> | 
 
 
 
 
 
 | 32 | 
   | 
   | 
 <li><a href="#documentation">Documentation</a></li> | 
 
 
 
 
 
 | 33 | 
   | 
   | 
 </ul> | 
 
 
 
 
 
 | 34 | 
   | 
   | 
  | 
 
 
 
 
 
 | 35 | 
   | 
   | 
 <a name="news"><h2>News</h2></a> | 
 
 
 
 
 
 | 36 | 
   | 
   | 
  | 
 
 
 
 
 
 | 37 | 
   | 
   | 
 <p> | 
 
 
 
 
 
 
 
 
 | 38 | 
 tdb | 
 1.5 | 
 <b>Friday 10 October 2003</b><br><br> | 
 
 
 
 
 
 
 
 
 | 39 | 
 tdb | 
 1.4 | 
 Version 0.6 of libstatgrab has been released.<br> | 
 
 
 
 
 
 | 40 | 
   | 
   | 
 You can download it from our mirror site | 
 
 
 
 
 
 | 41 | 
   | 
   | 
 <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.6.tar.gz">here</a>. | 
 
 
 
 
 
 | 42 | 
   | 
   | 
 This release includes some exciting new tools, support for FreeBSD | 
 
 
 
 
 
 | 43 | 
   | 
   | 
 5.1, and documentation in manpages. Plus some major bugfixes and | 
 
 
 
 
 
 | 44 | 
   | 
   | 
 packaging enhancements. | 
 
 
 
 
 
 | 45 | 
   | 
   | 
 </p> | 
 
 
 
 
 
 | 46 | 
   | 
   | 
  | 
 
 
 
 
 
 | 47 | 
   | 
   | 
 <p> | 
 
 
 
 
 
 
 
 
 | 48 | 
 tdb | 
 1.1 | 
 <b>Tuesday 09 September 2003</b><br><br> | 
 
 
 
 
 
 | 49 | 
   | 
   | 
 We're pleased to announce a new release of libstatgrab.<br> | 
 
 
 
 
 
 | 50 | 
   | 
   | 
 You can download version 0.5.1 from | 
 
 
 
 
 
 | 51 | 
   | 
   | 
 <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.5.1.tar.gz">here</a>. | 
 
 
 
 
 
 | 52 | 
   | 
   | 
 </p> | 
 
 
 
 
 
 | 53 | 
   | 
   | 
  | 
 
 
 
 
 
 | 54 | 
   | 
   | 
 <p> | 
 
 
 
 
 
 | 55 | 
   | 
   | 
 <b>Monday 25 August 2003</b><br><br> | 
 
 
 
 
 
 | 56 | 
   | 
   | 
 We're pleased to announce a new release of libstatgrab.<br> | 
 
 
 
 
 
 | 57 | 
   | 
   | 
 You can download version 0.5 from | 
 
 
 
 
 
 | 58 | 
   | 
   | 
 <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/libstatgrab-0.5.tar.gz">here</a>. | 
 
 
 
 
 
 | 59 | 
   | 
   | 
 This release provides both documentation and examples, which | 
 
 
 
 
 
 | 60 | 
   | 
   | 
 we hope will make the package more useable. Stay tuned for the | 
 
 
 
 
 
 | 61 | 
   | 
   | 
 next release with some useful tools. | 
 
 
 
 
 
 | 62 | 
   | 
   | 
 </p> | 
 
 
 
 
 
 | 63 | 
   | 
   | 
  | 
 
 
 
 
 
 | 64 | 
   | 
   | 
 <a name="what"><h2>What is libstatgrab?</h2></a> | 
 
 
 
 
 
 | 65 | 
   | 
   | 
  | 
 
 
 
 
 
 | 66 | 
   | 
   | 
 <p> | 
 
 
 
 
 
 | 67 | 
   | 
   | 
 libstatgrab is a library that provides cross platform access to | 
 
 
 
 
 
 | 68 | 
   | 
   | 
 statistics about the system on which it's run. It's written in C and | 
 
 
 
 
 
 | 69 | 
   | 
   | 
 presents a selection of useful interfaces which can be used to access | 
 
 
 
 
 
 | 70 | 
   | 
   | 
 key system statistics. The current list of statistics includes CPU | 
 
 
 
 
 
 | 71 | 
   | 
   | 
 usage, memory utilisation, disk usage, process counts, network | 
 
 
 
 
 
 | 72 | 
   | 
   | 
 traffic, disk I/O, and more. | 
 
 
 
 
 
 | 73 | 
   | 
   | 
 </p> | 
 
 
 
 
 
 | 74 | 
   | 
   | 
  | 
 
 
 
 
 
 | 75 | 
   | 
   | 
 <p> | 
 
 
 
 
 
 | 76 | 
   | 
   | 
 The current list of platforms is Solaris 2.x, Linux 2.4, and FreeBSD | 
 
 
 
 
 
 
 
 
 | 77 | 
 tdb | 
 1.4 | 
 4.x/5.x. The aim is to extend this to include as many operating systems | 
 
 
 
 
 
 | 78 | 
   | 
   | 
 as possible. | 
 
 
 
 
 
 
 
 
 | 79 | 
 tdb | 
 1.1 | 
 </p> | 
 
 
 
 
 
 | 80 | 
   | 
   | 
  | 
 
 
 
 
 
 | 81 | 
   | 
   | 
 <p> | 
 
 
 
 
 
 | 82 | 
   | 
   | 
 The package also includes a couple of useful tools. The first, saidar, | 
 
 
 
 
 
 | 83 | 
   | 
   | 
 provides a curses-based interface to viewing the current state of the | 
 
 
 
 
 
 | 84 | 
   | 
   | 
 system. The second, statgrab, gives a sysctl-style interface to the | 
 
 
 
 
 
 | 85 | 
   | 
   | 
 statistics gathered by libstatgrab. This extends the use of | 
 
 
 
 
 
 
 
 
 | 86 | 
 tdb | 
 1.2 | 
 libstatgrab to people writing scripts or anything else that can't | 
 
 
 
 
 
 | 87 | 
   | 
   | 
 easily make C function calls. Included with statgrab is a script to | 
 
 
 
 
 
 | 88 | 
   | 
   | 
 generate an <a href="http://www.mrtg.org">MRTG</a> configuration file | 
 
 
 
 
 
 | 89 | 
   | 
   | 
 to use statgrab. | 
 
 
 
 
 
 
 
 
 | 90 | 
 tdb | 
 1.1 | 
 </p> | 
 
 
 
 
 
 | 91 | 
   | 
   | 
  | 
 
 
 
 
 
 | 92 | 
   | 
   | 
 <a name="download"><h2>Downloading</h2></a> | 
 
 
 
 
 
 | 93 | 
   | 
   | 
  | 
 
 
 
 
 
 | 94 | 
   | 
   | 
 <p> | 
 
 
 
 
 
 | 95 | 
   | 
   | 
 The latest version of libstatgrab can be downloaded from our | 
 
 
 
 
 
 | 96 | 
   | 
   | 
 primary download | 
 
 
 
 
 
 | 97 | 
   | 
   | 
 <a href="http://www.mirror.ac.uk/sites/ftp.i-scream.org/pub/i-scream/libstatgrab">mirror</a>. | 
 
 
 
 
 
 | 98 | 
   | 
   | 
 All downloads are pgp signed using our <a href="/pgpkey.shtml">PGP Key</a>. | 
 
 
 
 
 
 | 99 | 
   | 
   | 
 </p> | 
 
 
 
 
 
 | 100 | 
   | 
   | 
  | 
 
 
 
 
 
 | 101 | 
   | 
   | 
 <p> | 
 
 
 
 
 
 | 102 | 
   | 
   | 
 For installation instructions see the README and INSTALL files | 
 
 
 
 
 
 | 103 | 
   | 
   | 
 contained within the archive. If you're using | 
 
 
 
 
 
 | 104 | 
   | 
   | 
 <a href="http://www.freebsd.org">FreeBSD</a> you can make use of the | 
 
 
 
 
 
 | 105 | 
   | 
   | 
 <a href="http://www.freshports.org/devel/libstatgrab">devel/libstatgrab</a> | 
 
 
 
 
 
 | 106 | 
   | 
   | 
 port to install libstatgrab for you. | 
 
 
 
 
 
 | 107 | 
   | 
   | 
 </p> | 
 
 
 
 
 
 | 108 | 
   | 
   | 
  | 
 
 
 
 
 
 | 109 | 
   | 
   | 
 <a name="documentation"><h2>Documentation</h2></a> | 
 
 
 
 
 
 | 110 | 
   | 
   | 
  | 
 
 
 
 
 
 | 111 | 
   | 
   | 
 <p> | 
 
 
 
 
 
 | 112 | 
   | 
   | 
 The only online documentation we have at the moment is the manual | 
 
 
 
 
 
 | 113 | 
   | 
   | 
 pages converted in to HTML format. It's probably best to start with | 
 
 
 
 
 
 | 114 | 
   | 
   | 
 the overview manual page: | 
 
 
 
 
 
 | 115 | 
   | 
   | 
  | 
 
 
 
 
 
 | 116 | 
   | 
   | 
 <ul> | 
 
 
 
 
 
 | 117 | 
   | 
   | 
 <li><a href="statgrab.html">statgrab(3)</a></li> | 
 
 
 
 
 
 | 118 | 
   | 
   | 
 </ul> | 
 
 
 
 
 
 | 119 | 
   | 
   | 
 </p> | 
 
 
 
 
 
 | 120 | 
   | 
   | 
  | 
 
 
 
 
 
 | 121 | 
   | 
   | 
 <p> | 
 
 
 
 
 
 | 122 | 
   | 
   | 
 Then we have the manual pages for each function: | 
 
 
 
 
 
 | 123 | 
   | 
   | 
  | 
 
 
 
 
 
 | 124 | 
   | 
   | 
 <ul> | 
 
 
 
 
 
 | 125 | 
   | 
   | 
 <li><a href="cpu_percent_usage.html">cpu_percent_usage(3)</a></li> | 
 
 
 
 
 
 | 126 | 
   | 
   | 
 <li><a href="get_diskio_stats.html">get_diskio_stats(3)</a></li> | 
 
 
 
 
 
 | 127 | 
   | 
   | 
 <li><a href="get_general_stats.html">get_general_stats(3)</a></li> | 
 
 
 
 
 
 | 128 | 
   | 
   | 
 <li><a href="get_load_stats.html">get_load_stats(3)</a></li> | 
 
 
 
 
 
 | 129 | 
   | 
   | 
 <li><a href="get_memory_stats.html">get_memory_stats(3)</a></li> | 
 
 
 
 
 
 | 130 | 
   | 
   | 
 <li><a href="get_network_stats.html">get_network_stats(3)</a></li> | 
 
 
 
 
 
 | 131 | 
   | 
   | 
 <li><a href="get_page_stats.html">get_page_stats(3)</a></li> | 
 
 
 
 
 
 | 132 | 
   | 
   | 
 <li><a href="get_process_stats.html">get_process_stats(3)</a></li> | 
 
 
 
 
 
 | 133 | 
   | 
   | 
 <li><a href="get_user_stats.html">get_user_stats(3)</a></li> | 
 
 
 
 
 
 | 134 | 
   | 
   | 
 </ul> | 
 
 
 
 
 
 | 135 | 
   | 
   | 
 </p> | 
 
 
 
 
 
 
 
 
 | 136 | 
 tdb | 
 1.3 | 
  | 
 
 
 
 
 
 | 137 | 
   | 
   | 
 </font> | 
 
 
 
 
 
 
 
 
 | 138 | 
 tdb | 
 1.1 | 
  | 
 
 
 
 
 
 | 139 | 
   | 
   | 
 <!--#include virtual="../bottom.inc" --> | 
 
 
 
 
 
 | 140 | 
   | 
   | 
     </td> | 
 
 
 
 
 
 | 141 | 
   | 
   | 
   </tr> | 
 
 
 
 
 
 | 142 | 
   | 
   | 
 </table> | 
 
 
 
 
 
 | 143 | 
   | 
   | 
  | 
 
 
 
 
 
 | 144 | 
   | 
   | 
 </body> | 
 
 
 
 
 
 | 145 | 
   | 
   | 
 </html> |