| 1 | + | libstatgrab NEWS | 
 
 
 
 
 
 
 
 | 2 | + | http://www.i-scream.org/libstatgrab/ | 
 
 
 
 
 
 
 
 | 3 | + |  | 
 
 
 
 
 
 
 
 | 4 | + | $Id$ | 
 
 
 
 
 
 
 
 | 5 | + |  | 
 
 
 
 
 
 
 
 | 6 | + | PLANS: We're now working towards a 1.0 release which is where we plan | 
 
 
 
 
 
 
 
 | 7 | + | to stabilise the API. We'll be doing test releases before hand, | 
 
 
 
 
 
 
 
 | 8 | + | but as always we'll like to hear about any bugs found in the | 
 
 
 
 
 
 
 
 | 9 | + | current release. | 
 
 
 
 
 
 
 
 | 10 | + |  | 
 
 
 
 
 
 
 
 | 11 | + | libstatgrab 0.13 (19 March 2006) | 
 
 
 
 
 
 
 
 | 12 | + | * Fix build problems with recent linux kernels. | 
 
 
 
 
 
 
 
 | 13 | + | * Make saidar truncate disk/inteface/mount names to fit in display. | 
 
 
 
 
 
 
 
 | 14 | + | * Add WIN32 support using MINGW (not widely tested). | 
 
 
 
 
 
 
 
 | 15 | + | * Fix network interface up/down status on Solaris. | 
 
 
 
 
 
 
 
 | 16 | + | * Add extern "C" to header file to make linking with C++ code easier. | 
 
 
 
 
 
 
 
 | 17 | + | * Fix statgrab to cope with filesystem paths containing dots. | 
 
 
 
 
 
 
 
 | 18 | + | * Make NFS a legal filesystem type on all platforms. | 
 
 
 
 
 
 
 
 | 19 | + | * A few minor build fixes. | 
 
 
 
 
 
 
 
 | 20 | + |  | 
 
 
 
 
 
 
 
 | 21 | + | libstatgrab 0.12 (31 July 2005) | 
 
 
 
 
 
 
 
 | 22 | + | * More details added to filesystem statistics. | 
 
 
 
 
 
 
 
 | 23 | + | (Patches provided by Roman Neuhauser) | 
 
 
 
 
 
 
 
 | 24 | + | * Rework Linux partition detection. | 
 
 
 
 
 
 
 
 | 25 | + | * Fix compile error in network stats on Linux 2.6. | 
 
 
 
 
 
 
 
 | 26 | + | (Patches provided by Scott Lampert) | 
 
 
 
 
 
 
 
 | 27 | + | * Change name of duplex value in network interface stats. | 
 
 
 
 
 
 
 
 | 28 | + | NOTE: this minor change breaks the API. | 
 
 
 
 
 
 
 
 | 29 | + | * Manual pages for saidar, statgrab and the other tools. | 
 
 
 
 
 
 
 
 | 30 | + | * Fix minor typo in statgrab usage output. | 
 
 
 
 
 
 
 
 | 31 | + | * Support for Solaris 10. | 
 
 
 
 
 
 
 
 | 32 | + | * Support for FreeBSD 7. | 
 
 
 
 
 
 
 
 | 33 | + |  | 
 
 
 
 
 
 
 
 | 34 | + | libstatgrab 0.11.1 (03 March 2005) | 
 
 
 
 
 
 
 
 | 35 | + | * Add NFS to list of supported filesystems. | 
 
 
 
 
 
 
 
 | 36 | + | * Fix reporting of network interface duplex settings on Linux. | 
 
 
 
 
 
 
 
 | 37 | + | * Fix saidar to support negative FS usage. | 
 
 
 
 
 
 
 
 | 38 | + |  | 
 
 
 
 
 
 
 
 | 39 | + | libstatgrab 0.11 (09 November 2004) | 
 
 
 
 
 
 
 
 | 40 | + | * Add support for HP-UX 11.11. | 
 
 
 
 
 
 
 
 | 41 | + | (Patches provided by Roy Keene) | 
 
 
 
 
 
 
 
 | 42 | + | * Minor fixes to statgrab mrtg tools. | 
 
 
 
 
 
 
 
 | 43 | + | * Minor fixes to saidar. | 
 
 
 
 
 
 
 
 | 44 | + | * Minor code cleanups and fixes to libstatgrab. | 
 
 
 
 
 
 
 
 | 45 | + |  | 
 
 
 
 
 
 
 
 | 46 | + | libstatgrab 0.10.3 (24 August 2004) | 
 
 
 
 
 
 
 
 | 47 | + |  | 
 
 
 
 
 
 
 
 | 48 | + | * Add -f flag to statgrab to display floating-point numbers multiplied | 
 
 
 
 
 
 
 
 | 49 | + | by an integer. | 
 
 
 
 
 
 
 
 | 50 | + | * Add -K, -M and -G flags to statgrab to show byte counts in kibibytes, | 
 
 
 
 
 
 
 
 | 51 | + | mebibytes or gibibytes. | 
 
 
 
 
 
 
 
 | 52 | + | * Make statgrab-make-mrtg-config use the new flags to scale extremely | 
 
 
 
 
 
 
 
 | 53 | + | large or small numbers so that mrtg can handle them. | 
 
 
 
 
 
 
 
 | 54 | + | * Make statgrab-make-mrtg-config automatically detect network interface | 
 
 
 
 
 
 
 
 | 55 | + | speeds. | 
 
 
 
 
 
 
 
 | 56 | + | * Add support for FreeBSD 6.0-CURRENT. | 
 
 
 
 
 
 
 
 | 57 | + |  | 
 
 
 
 
 
 
 
 | 58 | + | libstatgrab 0.10.2 (27 July 2004) | 
 
 
 
 
 
 
 
 | 59 | + |  | 
 
 
 
 
 
 
 
 | 60 | + | * Fix shared library version that when backwards in 0.10.1. | 
 
 
 
 
 
 
 
 | 61 | + |  | 
 
 
 
 
 
 
 
 | 62 | + | libstatgrab 0.10.1 (26 July 2004) | 
 
 
 
 
 
 
 
 | 63 | + |  | 
 
 
 
 
 
 
 
 | 64 | + | * Use DESTDIR correctly when setting permissions at install time. | 
 
 
 
 
 
 
 
 | 65 | + | * Fix disk stats to work with OpenBSD 3.5. | 
 
 
 
 
 
 
 
 | 66 | + | * Fix disk stats on NetBSD 2.0 (statvfs instead of statfs). | 
 
 
 
 
 
 
 
 | 67 | + | * Fix memory leak in process stats on NetBSD 2.0. | 
 
 
 
 
 
 
 
 | 68 | + | * Add vxfs (Veritas filesystem) to list of known filesystems | 
 
 
 
 
 
 
 
 | 69 | + | on Solaris. | 
 
 
 
 
 
 
 
 | 70 | + | * Add more variables to the pkg-config file to suggest suitable | 
 
 
 
 
 
 
 
 | 71 | + | ownership and permissions for binaries using libstatgrab. | 
 
 
 
 
 
 
 
 | 72 | + | * Make sure statgrab.h can safely be included twice. | 
 
 
 
 
 
 
 
 | 73 | + | * Fix statgrab to display network interface names even if they | 
 
 
 
 
 
 
 
 | 74 | + | don't have IO stats (like the loopback interface on Solaris). | 
 
 
 
 
 
 
 
 | 75 | + | * Add error reporting function that grabs errno. | 
 
 
 
 
 
 
 
 | 76 | + |  | 
 
 
 
 
 
 
 
 | 77 | + | libstatgrab 0.10 (20 May 2004) | 
 
 
 
 
 
 
 
 | 78 | + |  | 
 
 
 
 
 
 
 
 | 79 | + | * All function and structure names now follow a standardised | 
 
 
 
 
 
 
 
 | 80 | + | naming scheme. This will break compatibility with existing | 
 
 
 
 
 
 
 
 | 81 | + | programs. To use pre-0.10 compatibility functions: | 
 
 
 
 
 
 
 
 | 82 | + |  | 
 
 
 
 
 
 
 
 | 83 | + | #define SG_ENABLE_DEPRECATED | 
 
 
 
 
 
 
 
 | 84 | + | #include <statgrab.h> | 
 
 
 
 
 
 
 
 | 85 | + |  | 
 
 
 
 
 
 
 
 | 86 | + | * New process stats function added to provide full details | 
 
 
 
 
 
 
 
 | 87 | + | on currently running processes. See sg_get_process_stats | 
 
 
 
 
 
 
 
 | 88 | + | for details. | 
 
 
 
 
 
 
 
 | 89 | + | * Compare functions provided for process, network, and disk io | 
 
 
 
 
 
 
 
 | 90 | + | statistics. These can be used with qsort. | 
 
 
 
 
 
 
 
 | 91 | + | * Error reporting functions added. See sg_get_error and | 
 
 
 
 
 
 
 
 | 92 | + | associated functions. | 
 
 
 
 
 
 
 
 | 93 | + | * Support added for NetBSD 2.0. | 
 
 
 
 
 
 
 
 | 94 | + | * Lots of code tidying. | 
 
 
 
 
 
 
 
 | 95 | + | * Python bindings now exist in a separate package: | 
 
 
 
 
 
 
 
 | 96 | + | http://www.i-scream.org/pystatgrab/ | 
 
 
 
 
 
 
 
 | 97 | + |  | 
 
 
 
 
 
 
 
 | 98 | + | libstatgrab 0.9 (10 March 2004) | 
 
 
 
 
 
 
 
 | 99 | + |  | 
 
 
 
 
 
 
 
 | 100 | + | * Added network interface information: | 
 
 
 
 
 
 
 
 | 101 | + | speed, duplex, up/down. | 
 
 
 
 
 
 
 
 | 102 | + | * Added more statistics on network interfaces: | 
 
 
 
 
 
 
 
 | 103 | + | i/o packets, i/o errors, and collisions. | 
 
 
 
 
 
 
 
 | 104 | + | * Added support for OpenBSD 3.3. | 
 
 
 
 
 
 
 
 | 105 | + | * Added support for DragonFly BSD 1.0. | 
 
 
 
 
 
 
 
 | 106 | + | * No longer need elevated privileges on most platforms: | 
 
 
 
 
 
 
 
 | 107 | + | FreeBSD 5, NetBSD, and OpenBSD. | 
 
 
 
 
 
 
 
 | 108 | + | (see PLATFORMS file for details on which OS's need elevated privileges) | 
 
 
 
 
 
 
 
 | 109 | + | * Minor changes to the return types of the python bindings functions. | 
 
 
 
 
 
 
 
 | 110 | + |  | 
 
 
 
 
 
 
 
 | 111 | + | * PLEASE NOTE: this will break binary (only) compatibility. | 
 
 
 
 
 
 
 
 | 112 | + |  | 
 
 
 
 
 
 
 
 | 113 | + | libstatgrab 0.8.2 (11 February 2004) | 
 
 
 
 
 
 
 
 | 114 | + |  | 
 
 
 
 
 
 
 
 | 115 | + | * Fixes to add support for Solaris 6. | 
 
 
 
 
 
 
 
 | 116 | + | * Python bindings available in extras directory. | 
 
 
 
 
 
 
 
 | 117 | + | * Some tidying up of code. | 
 
 
 
 
 
 
 
 | 118 | + |  | 
 
 
 
 
 
 
 
 | 119 | + | libstatgrab 0.8.1 (21 January 2004) | 
 
 
 
 
 
 
 
 | 120 | + |  | 
 
 
 
 
 
 
 
 | 121 | + | * The library part of libstatgrab is now released under the LGPL. | 
 
 
 
 
 
 
 
 | 122 | + | (the tools are still released under the GPL) | 
 
 
 
 
 
 
 
 | 123 | + | * File descriptor leak fixed on Linux. | 
 
 
 
 
 
 
 
 | 124 | + | * strlcpy/strlcat functions added for Solaris 7 to fix compile. | 
 
 
 
 
 
 
 
 | 125 | + | * statgrab_init error behaviour fixed (primarly for Solaris 7). | 
 
 
 
 
 
 
 
 | 126 | + | * Some incorrect #includes moved. | 
 
 
 
 
 
 
 
 | 127 | + | * Significant speed increases to the Solaris disk mapping code in | 
 
 
 
 
 
 
 
 | 128 | + | statgrab_init, which improves startup time. | 
 
 
 
 
 
 
 
 | 129 | + | * Minor fix for saidar's -d flag and negative numbers. | 
 
 
 
 
 
 
 
 | 130 | + |  | 
 
 
 
 
 
 
 
 | 131 | + | libstatgrab 0.8 (06 January 2004) | 
 
 
 
 
 
 
 
 | 132 | + |  | 
 
 
 
 
 
 
 
 | 133 | + | * Support for Linux 2.6. | 
 
 
 
 
 
 
 
 | 134 | + | * Support for Cygwin. | 
 
 
 
 
 
 
 
 | 135 | + | * Use cNtNdNsN names on Solaris instead of sdN. | 
 
 
 
 
 
 
 
 | 136 | + | * Fixes and optimisations to saidar. | 
 
 
 
 
 
 
 
 | 137 | + | * Fixes to the --disable-saidar and --disable-statgrab configure flags. | 
 
 
 
 
 
 
 
 | 138 | + | * New function to drop elevated privileges some OS's require. | 
 
 
 
 
 
 
 
 | 139 | + | (after using the init function) | 
 
 
 
 
 
 
 
 | 140 | + |  | 
 
 
 
 
 
 
 
 | 141 | + | libstatgrab 0.7 (22 October 2003) | 
 
 
 
 
 
 
 
 | 142 | + |  | 
 
 
 
 
 
 
 
 | 143 | + | * Support for NetBSD 1.6.x. | 
 
 
 
 
 
 
 
 | 144 | + | * FreeBSD code optimised. | 
 
 
 
 
 
 
 
 | 145 | + | * Initialise function allows programs to drop extra privileges (on *BSD). | 
 
 
 
 
 
 
 
 | 146 | + | * saidar now works even if it can't get all statistics. | 
 
 
 
 
 
 
 
 | 147 | + | * List of known file systems increased on Linux and *BSD. | 
 
 
 
 
 
 
 
 | 148 | + | * Minor bug fixes. | 
 
 
 
 
 
 
 
 | 149 | + | * Tested (and working) on Solaris 9 x86, Linux 2.2 on alpha, and | 
 
 
 
 
 
 
 
 | 150 | + | Linux 2.4 on amd64. | 
 
 
 
 
 
 
 
 | 151 | + |  | 
 
 
 
 
 
 
 
 | 152 | + | libstatgrab 0.6.1 (18 October 2003) | 
 
 
 
 
 
 
 
 | 153 | + |  | 
 
 
 
 
 
 
 
 | 154 | + | * Support for FreeBSD 5.1/sparc64. | 
 
 
 
 
 
 
 
 | 155 | + | * Bugs fixed in FreeBSD memory statistics. | 
 
 
 
 
 
 
 
 | 156 | + | * saidar displays disk percentages more "correctly". | 
 
 
 
 
 
 
 
 | 157 | + | * Bug fixed displaying hostname in saidar. | 
 
 
 
 
 
 
 
 | 158 | + | * statgrab now handles unusual /dev layouts more gracefully. | 
 
 
 
 
 
 
 
 | 159 | + | * Minor packaging changes. | 
 
 
 
 
 
 
 
 | 160 | + |  | 
 
 
 
 
 
 
 
 | 161 | + | libstatgrab 0.6 (09 October 2003) | 
 
 
 
 
 
 
 
 | 162 | + |  | 
 
 
 
 
 
 
 
 | 163 | + | * saidar, a curses-based tool, has been added to give an overview of | 
 
 
 
 
 
 
 
 | 164 | + | the current system statistics. | 
 
 
 
 
 
 
 
 | 165 | + | * Added support for FreeBSD 5.1. | 
 
 
 
 
 
 
 
 | 166 | + | * Documentation is now available in manpages. | 
 
 
 
 
 
 
 
 | 167 | + | * Fixed major bug in the FreeBSD diskio stats. | 
 
 
 
 
 
 
 
 | 168 | + | * Added a .pc file for pkgconfig. | 
 
 
 
 
 
 
 
 | 169 | + |  | 
 
 
 
 
 
 
 
 | 170 | + | libstatgrab 0.5.1 (09 September 2003) | 
 
 
 
 
 
 
 
 | 171 | + |  | 
 
 
 
 
 
 
 
 | 172 | + | * Network stats wrap-around bug fixed on Linux and FreeBSD | 
 
 
 
 
 
 
 
 | 173 | + | * Linux now reads disk information from /proc/partitions if available. | 
 
 
 
 
 
 
 
 | 174 | + | This results in it getting data for all the disks. | 
 
 
 
 
 
 
 
 | 175 | + | * An additional tool, statgrab, has been added to allow external programs | 
 
 
 
 
 
 
 
 | 176 | + | to easily parse statistics generated by libstatgrab. | 
 
 
 
 
 
 
 
 | 177 | + | * Scripts to generate MRTG (www.mrtg.org) configs with statgrab have | 
 
 
 
 
 
 
 
 | 178 | + | been added. This allows graphs to be generated from system stats. | 
 
 
 
 
 
 
 
 | 179 | + |  | 
 
 
 
 
 
 
 
 | 180 | + | libstatgrab 0.5 (25 August 2003) | 
 
 
 
 
 
 
 
 | 181 | + |  | 
 
 
 
 
 
 
 
 | 182 | + | * Fixed a bug with process stats on FreeBSD. | 
 
 
 
 
 
 
 
 | 183 | + | * Added documentation in 'docs' directory. | 
 
 
 
 
 
 
 
 | 184 | + | * Added examples in 'examples' directory. | 
 
 
 
 
 
 
 
 | 185 | + |  | 
 
 
 
 
 
 
 
 | 186 | + | libstatgrab 0.4 (09 April 2003) | 
 
 
 
 
 
 
 
 | 187 | + |  | 
 
 
 
 
 
 
 
 | 188 | + | * Support added for FreeBSD 4.x (not tested on 5.x). | 
 
 
 
 
 
 
 
 | 189 | + |  | 
 
 
 
 
 
 
 
 | 190 | + | libstatgrab 0.3.4 (31 March 2003) | 
 
 
 
 
 
 
 
 | 191 | + |  | 
 
 
 
 
 
 
 
 | 192 | + | * Fixed memory leak, and file descriptor leak on linux. | 
 
 
 
 
 
 
 
 | 193 | + |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 194 |  | libstatgrab 0.3.3 (22 March 2003) | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 195 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 196 |  | * Network statistics wraparound code was broken on interfaces that | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 210 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 211 |  | * Support added for Linux with a 2.4 kernel. | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 212 |  |  | 
 
 
 
 
 
 
 
 
 
 
 | 213 | < | libstatgrab 0.2 (3 March 2003) | 
 
 
 
 
 
 
 
 
 | 213 | > | libstatgrab 0.2 (03 March 2003) | 
 
 
 
 
 
 
 
 
 
 
 | 214 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 215 |  | * Initial working release for Solaris (tested on 7, 8, and 9). | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 216 |  |  |