| 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> | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 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> | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 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>. | 
 
 
 
 
 
 
 
 
 
 | 155 | 
 – | 
           </p> | 
 
 
 
 
 
 
 
 
 
 | 156 | 
 – | 
           <h2> | 
 
 
 
 
 
 
 
 
 
 | 157 | 
 – | 
             <a id="what">What is libstatgrab?</a> | 
 
 
 
 
 
 
 
 
 
 | 158 | 
 – | 
           </h2> | 
 
 
 
 
 
 
 
 
 
 | 159 | 
 – | 
           <p> | 
 
 
 
 
 
 
 
 
 
 | 160 | 
 – | 
             libstatgrab is a library that provides cross platform | 
 
 
 
 
 
 
 
 
 
 | 161 | 
 – | 
             access to statistics about the system on which it's run. | 
 
 
 
 
 
 
 
 
 
 | 162 | 
 – | 
             It's written in C and presents a selection of useful | 
 
 
 
 
 
 
 
 
 
 | 163 | 
 – | 
             interfaces which can be used to access key system | 
 
 
 
 
 
 
 
 
 
 | 164 | 
 – | 
             statistics. The current list of statistics includes CPU | 
 
 
 
 
 
 
 
 
 
 | 165 | 
 – | 
             usage, memory utilisation, disk usage, process counts, | 
 
 
 
 
 
 
 
 
 
 | 166 | 
 – | 
             network traffic, disk I/O, and more. | 
 
 
 
 
 
 
 
 
 
 | 167 | 
 – | 
           </p> | 
 
 
 
 
 
 
 
 
 
 | 168 | 
 – | 
           <p> | 
 
 
 
 
 
 
 
 
 
 | 169 | 
 – | 
             The current list of platforms is Solaris 2.x, Linux | 
 
 
 
 
 
 
 
 
 
 | 170 | 
 – | 
             2.2/2.4/2.6, FreeBSD 4.x/5.x, NetBSD 1.6.x, OpenBSD 3.x, | 
 
 
 
 
 
 
 
 
 
 | 171 | 
 – | 
             DragonFly BSD 1.0, HP-UX, and Cygwin. The aim is to extend | 
 
 
 
 
 
 
 
 
 
 | 172 | 
 – | 
             this to include as many operating systems as possible. | 
 
 
 
 
 
 
 
 
 
 | 173 | 
 – | 
           </p> | 
 
 
 
 
 
 
 
 
 
 | 174 | 
 – | 
           <p> | 
 
 
 
 
 
 
 
 
 
 | 175 | 
 – | 
             The package also includes a couple of useful tools. The | 
 
 
 
 
 
 
 
 
 
 | 176 | 
 – | 
             first, <a href="#screenshot">saidar</a>, provides a | 
 
 
 
 
 
 
 
 
 
 | 177 | 
 – | 
             curses-based interface to viewing the current state of the | 
 
 
 
 
 
 
 
 
 
 | 178 | 
 – | 
             system. The second, statgrab, gives a sysctl-style | 
 
 
 
 
 
 
 
 
 
 | 179 | 
 – | 
             interface to the statistics gathered by libstatgrab. This | 
 
 
 
 
 
 
 
 
 
 | 180 | 
 – | 
             extends the use of libstatgrab to people writing scripts or | 
 
 
 
 
 
 
 
 
 
 | 181 | 
 – | 
             anything else that can't easily make C function calls. | 
 
 
 
 
 
 
 
 
 
 | 182 | 
 – | 
             Included with statgrab is a script to generate an | 
 
 
 
 
 
 
 
 
 
 | 183 | 
 – | 
             <a href="http://www.mrtg.org">MRTG</a> configuration file | 
 
 
 
 
 
 
 
 
 
 | 184 | 
 – | 
             to use statgrab. | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 185 | 
   | 
           </p> | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 186 | 
   | 
           <h2> | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 187 | 
   | 
             <a id="download">Downloading</a> |