| 1 | 
 tdb | 
 1.21 | 
 libstatgrab NEWS | 
 
 
 
 
 
 | 2 | 
   | 
   | 
 http://www.i-scream.org/libstatgrab/ | 
 
 
 
 
 
 | 3 | 
   | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 4 | 
 tdb | 
 1.33 | 
 $Id: NEWS,v 1.32 2004/08/24 19:02:33 tdb Exp $ | 
 
 
 
 
 
 | 5 | 
   | 
   | 
  | 
 
 
 
 
 
 | 6 | 
   | 
   | 
 libstatgrab 0.11 (09 November 2004) | 
 
 
 
 
 
 | 7 | 
   | 
   | 
  * Support for HP-UX 11.11. | 
 
 
 
 
 
 | 8 | 
   | 
   | 
  * Minor fixes to statgrab mrtg tools. | 
 
 
 
 
 
 | 9 | 
   | 
   | 
  * Minor fixes to saidar. | 
 
 
 
 
 
 | 10 | 
   | 
   | 
  * Minor code tidies and fixes to libstatgrab. | 
 
 
 
 
 
 
 
 
 | 11 | 
 ats | 
 1.31 | 
  | 
 
 
 
 
 
 
 
 
 | 12 | 
 tdb | 
 1.32 | 
 libstatgrab 0.10.3 (24 August 2004) | 
 
 
 
 
 
 
 
 
 | 13 | 
 ats | 
 1.31 | 
  | 
 
 
 
 
 
 
 
 
 | 14 | 
 tdb | 
 1.32 | 
  * Add -f flag to statgrab to display floating-point numbers multiplied | 
 
 
 
 
 
 | 15 | 
   | 
   | 
    by an integer. | 
 
 
 
 
 
 | 16 | 
   | 
   | 
  * Add -K, -M and -G flags to statgrab to show byte counts in kibibytes, | 
 
 
 
 
 
 | 17 | 
   | 
   | 
    mebibytes or gibibytes. | 
 
 
 
 
 
 | 18 | 
   | 
   | 
  * Make statgrab-make-mrtg-config use the new flags to scale extremely | 
 
 
 
 
 
 | 19 | 
   | 
   | 
    large or small numbers so that mrtg can handle them. | 
 
 
 
 
 
 | 20 | 
   | 
   | 
  * Make statgrab-make-mrtg-config automatically detect network interface | 
 
 
 
 
 
 | 21 | 
   | 
   | 
    speeds. | 
 
 
 
 
 
 | 22 | 
   | 
   | 
  * Add support for FreeBSD 6.0-CURRENT. | 
 
 
 
 
 
 
 
 
 | 23 | 
 tdb | 
 1.30 | 
  | 
 
 
 
 
 
 | 24 | 
   | 
   | 
 libstatgrab 0.10.2 (27 July 2004) | 
 
 
 
 
 
 | 25 | 
   | 
   | 
  | 
 
 
 
 
 
 | 26 | 
   | 
   | 
  * Fix shared library version that when backwards in 0.10.1. | 
 
 
 
 
 
 
 
 
 | 27 | 
 tdb | 
 1.27 | 
  | 
 
 
 
 
 
 
 
 
 | 28 | 
 tdb | 
 1.29 | 
 libstatgrab 0.10.1 (26 July 2004) | 
 
 
 
 
 
 
 
 
 | 29 | 
 tdb | 
 1.27 | 
  | 
 
 
 
 
 
 | 30 | 
   | 
   | 
  * Use DESTDIR correctly when setting permissions at install time. | 
 
 
 
 
 
 | 31 | 
   | 
   | 
  * Fix disk stats to work with OpenBSD 3.5. | 
 
 
 
 
 
 | 32 | 
   | 
   | 
  * Fix disk stats on NetBSD 2.0 (statvfs instead of statfs). | 
 
 
 
 
 
 | 33 | 
   | 
   | 
  * Fix memory leak in process stats on NetBSD 2.0. | 
 
 
 
 
 
 
 
 
 | 34 | 
 ats | 
 1.28 | 
  * Add vxfs (Veritas filesystem) to list of known filesystems | 
 
 
 
 
 
 
 
 
 | 35 | 
 tdb | 
 1.27 | 
    on Solaris. | 
 
 
 
 
 
 | 36 | 
   | 
   | 
  * Add more variables to the pkg-config file to suggest suitable | 
 
 
 
 
 
 | 37 | 
   | 
   | 
    ownership and permissions for binaries using libstatgrab. | 
 
 
 
 
 
 
 
 
 | 38 | 
 ats | 
 1.28 | 
  * Make sure statgrab.h can safely be included twice. | 
 
 
 
 
 
 
 
 
 | 39 | 
 tdb | 
 1.27 | 
  * Fix statgrab to display network interface names even if they | 
 
 
 
 
 
 | 40 | 
   | 
   | 
    don't have IO stats (like the loopback interface on Solaris). | 
 
 
 
 
 
 | 41 | 
   | 
   | 
  * Add error reporting function that grabs errno. | 
 
 
 
 
 
 
 
 
 | 42 | 
 tdb | 
 1.26 | 
  | 
 
 
 
 
 
 | 43 | 
   | 
   | 
 libstatgrab 0.10 (20 May 2004) | 
 
 
 
 
 
 | 44 | 
   | 
   | 
  | 
 
 
 
 
 
 | 45 | 
   | 
   | 
  * All function and structure names now follow a standardised | 
 
 
 
 
 
 | 46 | 
   | 
   | 
    naming scheme. This will break compatibility with existing | 
 
 
 
 
 
 | 47 | 
   | 
   | 
    programs. To use pre-0.10 compatibility functions: | 
 
 
 
 
 
 | 48 | 
   | 
   | 
  | 
 
 
 
 
 
 | 49 | 
   | 
   | 
      #define SG_ENABLE_DEPRECATED | 
 
 
 
 
 
 | 50 | 
   | 
   | 
      #include <statgrab.h> | 
 
 
 
 
 
 | 51 | 
   | 
   | 
  | 
 
 
 
 
 
 | 52 | 
   | 
   | 
  * New process stats function added to provide full details | 
 
 
 
 
 
 | 53 | 
   | 
   | 
    on currently running processes. See sg_get_process_stats | 
 
 
 
 
 
 | 54 | 
   | 
   | 
    for details. | 
 
 
 
 
 
 | 55 | 
   | 
   | 
  * Compare functions provided for process, network, and disk io | 
 
 
 
 
 
 | 56 | 
   | 
   | 
    statistics. These can be used with qsort. | 
 
 
 
 
 
 | 57 | 
   | 
   | 
  * Error reporting functions added. See sg_get_error and | 
 
 
 
 
 
 | 58 | 
   | 
   | 
    associated functions. | 
 
 
 
 
 
 | 59 | 
   | 
   | 
  * Support added for NetBSD 2.0. | 
 
 
 
 
 
 | 60 | 
   | 
   | 
  * Lots of code tidying. | 
 
 
 
 
 
 | 61 | 
   | 
   | 
  * Python bindings now exist in a separate package: | 
 
 
 
 
 
 | 62 | 
   | 
   | 
      http://www.i-scream.org/pystatgrab/ | 
 
 
 
 
 
 
 
 
 | 63 | 
 tdb | 
 1.24 | 
  | 
 
 
 
 
 
 | 64 | 
   | 
   | 
 libstatgrab 0.9 (10 March 2004) | 
 
 
 
 
 
 | 65 | 
   | 
   | 
  | 
 
 
 
 
 
 | 66 | 
   | 
   | 
  * Added network interface information: | 
 
 
 
 
 
 | 67 | 
   | 
   | 
      speed, duplex, up/down. | 
 
 
 
 
 
 | 68 | 
   | 
   | 
  * Added more statistics on network interfaces: | 
 
 
 
 
 
 | 69 | 
   | 
   | 
      i/o packets, i/o errors, and collisions. | 
 
 
 
 
 
 | 70 | 
   | 
   | 
  * Added support for OpenBSD 3.3. | 
 
 
 
 
 
 | 71 | 
   | 
   | 
  * Added support for DragonFly BSD 1.0. | 
 
 
 
 
 
 | 72 | 
   | 
   | 
  * No longer need elevated privileges on most platforms: | 
 
 
 
 
 
 | 73 | 
   | 
   | 
      FreeBSD 5, NetBSD, and OpenBSD. | 
 
 
 
 
 
 
 
 
 | 74 | 
 tdb | 
 1.25 | 
      (see PLATFORMS file for details on which OS's need elevated privileges) | 
 
 
 
 
 
 
 
 
 | 75 | 
 tdb | 
 1.24 | 
  * Minor changes to the return types of the python bindings functions. | 
 
 
 
 
 
 | 76 | 
   | 
   | 
  | 
 
 
 
 
 
 | 77 | 
   | 
   | 
  * PLEASE NOTE: this will break binary (only) compatibility. | 
 
 
 
 
 
 
 
 
 | 78 | 
 tdb | 
 1.23 | 
  | 
 
 
 
 
 
 | 79 | 
   | 
   | 
 libstatgrab 0.8.2 (11 February 2004) | 
 
 
 
 
 
 | 80 | 
   | 
   | 
  | 
 
 
 
 
 
 | 81 | 
   | 
   | 
  * Fixes to add support for Solaris 6. | 
 
 
 
 
 
 | 82 | 
   | 
   | 
  * Python bindings available in extras directory. | 
 
 
 
 
 
 | 83 | 
   | 
   | 
  * Some tidying up of code. | 
 
 
 
 
 
 
 
 
 | 84 | 
 tdb | 
 1.21 | 
  | 
 
 
 
 
 
 
 
 
 | 85 | 
 tdb | 
 1.20 | 
 libstatgrab 0.8.1 (21 January 2004) | 
 
 
 
 
 
 | 86 | 
   | 
   | 
  | 
 
 
 
 
 
 | 87 | 
   | 
   | 
  * The library part of libstatgrab is now released under the LGPL. | 
 
 
 
 
 
 | 88 | 
   | 
   | 
    (the tools are still released under the GPL) | 
 
 
 
 
 
 | 89 | 
   | 
   | 
  * File descriptor leak fixed on Linux. | 
 
 
 
 
 
 | 90 | 
   | 
   | 
  * strlcpy/strlcat functions added for Solaris 7 to fix compile. | 
 
 
 
 
 
 | 91 | 
   | 
   | 
  * statgrab_init error behaviour fixed (primarly for Solaris 7). | 
 
 
 
 
 
 | 92 | 
   | 
   | 
  * Some incorrect #includes moved. | 
 
 
 
 
 
 | 93 | 
   | 
   | 
  * Significant speed increases to the Solaris disk mapping code in | 
 
 
 
 
 
 | 94 | 
   | 
   | 
    statgrab_init, which improves startup time. | 
 
 
 
 
 
 
 
 
 | 95 | 
 tdb | 
 1.22 | 
  * Minor fix for saidar's -d flag and negative numbers. | 
 
 
 
 
 
 
 
 
 | 96 | 
 tdb | 
 1.20 | 
  | 
 
 
 
 
 
 
 
 
 | 97 | 
 tdb | 
 1.19 | 
 libstatgrab 0.8 (06 January 2004) | 
 
 
 
 
 
 
 
 
 | 98 | 
 tdb | 
 1.17 | 
  | 
 
 
 
 
 
 | 99 | 
   | 
   | 
  * Support for Linux 2.6. | 
 
 
 
 
 
 | 100 | 
   | 
   | 
  * Support for Cygwin. | 
 
 
 
 
 
 | 101 | 
   | 
   | 
  * Use cNtNdNsN names on Solaris instead of sdN. | 
 
 
 
 
 
 | 102 | 
   | 
   | 
  * Fixes and optimisations to saidar. | 
 
 
 
 
 
 | 103 | 
   | 
   | 
  * Fixes to the --disable-saidar and --disable-statgrab configure flags. | 
 
 
 
 
 
 
 
 
 | 104 | 
 tdb | 
 1.18 | 
  * New function to drop elevated privileges some OS's require. | 
 
 
 
 
 
 | 105 | 
   | 
   | 
    (after using the init function) | 
 
 
 
 
 
 
 
 
 | 106 | 
 tdb | 
 1.17 | 
  | 
 
 
 
 
 
 
 
 
 | 107 | 
 tdb | 
 1.16 | 
 libstatgrab 0.7 (22 October 2003) | 
 
 
 
 
 
 
 
 
 | 108 | 
 tdb | 
 1.15 | 
  | 
 
 
 
 
 
 | 109 | 
   | 
   | 
  * Support for NetBSD 1.6.x. | 
 
 
 
 
 
 | 110 | 
   | 
   | 
  * FreeBSD code optimised. | 
 
 
 
 
 
 | 111 | 
   | 
   | 
  * Initialise function allows programs to drop extra privileges (on *BSD). | 
 
 
 
 
 
 | 112 | 
   | 
   | 
  * saidar now works even if it can't get all statistics. | 
 
 
 
 
 
 | 113 | 
   | 
   | 
  * List of known file systems increased on Linux and *BSD. | 
 
 
 
 
 
 | 114 | 
   | 
   | 
  * Minor bug fixes. | 
 
 
 
 
 
 
 
 
 | 115 | 
 tdb | 
 1.16 | 
  * Tested (and working) on Solaris 9 x86, Linux 2.2 on alpha, and | 
 
 
 
 
 
 | 116 | 
   | 
   | 
    Linux 2.4 on amd64. | 
 
 
 
 
 
 
 
 
 | 117 | 
 tdb | 
 1.15 | 
  | 
 
 
 
 
 
 
 
 
 | 118 | 
 tdb | 
 1.14 | 
 libstatgrab 0.6.1 (18 October 2003) | 
 
 
 
 
 
 | 119 | 
   | 
   | 
  | 
 
 
 
 
 
 | 120 | 
   | 
   | 
  * Support for FreeBSD 5.1/sparc64. | 
 
 
 
 
 
 | 121 | 
   | 
   | 
  * Bugs fixed in FreeBSD memory statistics. | 
 
 
 
 
 
 | 122 | 
   | 
   | 
  * saidar displays disk percentages more "correctly". | 
 
 
 
 
 
 | 123 | 
   | 
   | 
  * Bug fixed displaying hostname in saidar. | 
 
 
 
 
 
 | 124 | 
   | 
   | 
  * statgrab now handles unusual /dev layouts more gracefully. | 
 
 
 
 
 
 | 125 | 
   | 
   | 
  * Minor packaging changes. | 
 
 
 
 
 
 | 126 | 
   | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 127 | 
 tdb | 
 1.13 | 
 libstatgrab 0.6 (09 October 2003) | 
 
 
 
 
 
 | 128 | 
   | 
   | 
  | 
 
 
 
 
 
 | 129 | 
   | 
   | 
  * saidar, a curses-based tool, has been added to give an overview of | 
 
 
 
 
 
 | 130 | 
   | 
   | 
    the current system statistics. | 
 
 
 
 
 
 | 131 | 
   | 
   | 
  * Added support for FreeBSD 5.1. | 
 
 
 
 
 
 | 132 | 
   | 
   | 
  * Documentation is now available in manpages. | 
 
 
 
 
 
 | 133 | 
   | 
   | 
  * Fixed major bug in the FreeBSD diskio stats. | 
 
 
 
 
 
 | 134 | 
   | 
   | 
  * Added a .pc file for pkgconfig. | 
 
 
 
 
 
 | 135 | 
   | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 136 | 
 tdb | 
 1.12 | 
 libstatgrab 0.5.1 (09 September 2003) | 
 
 
 
 
 
 | 137 | 
   | 
   | 
  | 
 
 
 
 
 
 | 138 | 
   | 
   | 
  * Network stats wrap-around bug fixed on Linux and FreeBSD | 
 
 
 
 
 
 | 139 | 
   | 
   | 
  * Linux now reads disk information from /proc/partitions if available. | 
 
 
 
 
 
 | 140 | 
   | 
   | 
    This results in it getting data for all the disks. | 
 
 
 
 
 
 
 
 
 | 141 | 
 tdb | 
 1.32 | 
  * An additional tool, statgrab, has been added to allow external programs | 
 
 
 
 
 
 
 
 
 | 142 | 
 tdb | 
 1.12 | 
    to easily parse statistics generated by libstatgrab. | 
 
 
 
 
 
 | 143 | 
   | 
   | 
  * Scripts to generate MRTG (www.mrtg.org) configs with statgrab have | 
 
 
 
 
 
 | 144 | 
   | 
   | 
    been added. This allows graphs to be generated from system stats. | 
 
 
 
 
 
 | 145 | 
   | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 146 | 
 tdb | 
 1.11 | 
 libstatgrab 0.5 (25 August 2003) | 
 
 
 
 
 
 | 147 | 
   | 
   | 
  | 
 
 
 
 
 
 | 148 | 
   | 
   | 
  * Fixed a bug with process stats on FreeBSD. | 
 
 
 
 
 
 | 149 | 
   | 
   | 
  * Added documentation in 'docs' directory. | 
 
 
 
 
 
 | 150 | 
   | 
   | 
  * Added examples in 'examples' directory. | 
 
 
 
 
 
 | 151 | 
   | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 152 | 
 tdb | 
 1.10 | 
 libstatgrab 0.4 (09 April 2003) | 
 
 
 
 
 
 
 
 
 | 153 | 
 tdb | 
 1.9 | 
  | 
 
 
 
 
 
 | 154 | 
   | 
   | 
  * Support added for FreeBSD 4.x (not tested on 5.x). | 
 
 
 
 
 
 | 155 | 
   | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 156 | 
 tdb | 
 1.7 | 
 libstatgrab 0.3.4 (31 March 2003) | 
 
 
 
 
 
 | 157 | 
   | 
   | 
  | 
 
 
 
 
 
 | 158 | 
   | 
   | 
  * Fixed memory leak, and file descriptor leak on linux. | 
 
 
 
 
 
 | 159 | 
   | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 160 | 
 tdb | 
 1.6 | 
 libstatgrab 0.3.3 (22 March 2003) | 
 
 
 
 
 
 | 161 | 
   | 
   | 
  | 
 
 
 
 
 
 | 162 | 
   | 
   | 
  * Network statistics wraparound code was broken on interfaces that | 
 
 
 
 
 
 | 163 | 
   | 
   | 
    transfered no data - typically second interfaces that weren't | 
 
 
 
 
 
 | 164 | 
   | 
   | 
    connected. | 
 
 
 
 
 
 | 165 | 
   | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 166 | 
 tdb | 
 1.5 | 
 libstatgrab 0.3.2 (21 March 2003) | 
 
 
 
 
 
 | 167 | 
   | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 168 | 
 tdb | 
 1.6 | 
  * Network statistics wraparound fix. | 
 
 
 
 
 
 
 
 
 | 169 | 
 tdb | 
 1.5 | 
  | 
 
 
 
 
 
 
 
 
 | 170 | 
 tdb | 
 1.4 | 
 libstatgrab 0.3.1 (12 March 2003) | 
 
 
 
 
 
 | 171 | 
   | 
   | 
  | 
 
 
 
 
 
 
 
 
 | 172 | 
 tdb | 
 1.6 | 
  * Fixed network statistics on Solaris 7 or below. | 
 
 
 
 
 
 | 173 | 
   | 
   | 
  * Disk IO statistics are correctly reported. | 
 
 
 
 
 
 
 
 
 | 174 | 
 tdb | 
 1.4 | 
  | 
 
 
 
 
 
 | 175 | 
   | 
   | 
 libstatgrab 0.3 (10 March 2003) | 
 
 
 
 
 
 
 
 
 | 176 | 
 tdb | 
 1.3 | 
  | 
 
 
 
 
 
 
 
 
 | 177 | 
 tdb | 
 1.6 | 
  * Support added for Linux with a 2.4 kernel. | 
 
 
 
 
 
 
 
 
 | 178 | 
 tdb | 
 1.3 | 
  | 
 
 
 
 
 
 
 
 
 | 179 | 
 tdb | 
 1.8 | 
 libstatgrab 0.2 (03 March 2003) | 
 
 
 
 
 
 
 
 
 | 180 | 
 tdb | 
 1.2 | 
  | 
 
 
 
 
 
 
 
 
 | 181 | 
 tdb | 
 1.6 | 
  * Initial working release for Solaris (tested on 7, 8, and 9). | 
 
 
 
 
 
 
 
 
 | 182 | 
 tdb | 
 1.2 | 
  |