Add support for FreeBSD 10.
Add support for AIX 5.x - 9.x. Many thanks to Jens Rehsack <rehsack@googlemail.com> for providing the patch for this work. Thanks!
Add support for preliminary support for Debian GNU/kFreeBSD. Currently process statistics are broken, but everything else works. The following packages are needed: libkvm-dev libdevstat-dev (plus the usual build stuff required on Debian)
Post release version increment.
Support FreeBSD 9.
Support utmpx in user_stats as well as utmp.
Disable autoconf maintainer mode -- it's less broken in modern autoconf, so it's useful now.
Post release version increment.
saidar uses fabs which requires libm.
Some GNU/Linux builds have a slightly different name, like linux-gnueabi. See Debian bug Bug#449586 for details.
FreeBSD's main development line is now at 8.
Post-release version increment.
Post-release version increment.
Sort out curses detection. It'll now detect ncurses before curses, and cope with the header files being in include or include/ncurses. I think this will work in every case.
Allow to build on NetBSD 3. Submitted by: Wijnand Wiersma <wijnand@nedbsd.nl>
Post-release version increment.
Add AM_MAINTAINER_MODE.
Add WIN32 support via MINGW. We'll need to add stuff to the README file about what this requires to build. All the hard work done by: skel
Post-release version increment.
Add support for FreeBSD 7 (which is exactly like 6 at the moment, so it's bound to work :)
Add manpages for the various tools.
Nuke sgps - Pete's decided it's actually rather pointless as it doesn't offer anything that other ps programs don't.
Add build bits for sgps.
Post release version increment.
Post-release version increment.
We don't need the realloc workaround -- we don't rely on the GNU behaviour.
Next release will be 0.11.
Merge in patch to provide support for HP-UX 11.11. Contributed by Roy Keene - thanks Roy!
Post release version increment.
Add support for FreeBSD 6.0. Drop version back to get this into the new release.
Post release version increment.
Post release version increment.
Post-release version increment.
Add three variables to the pkg-config file: bin_owner, bin_group, bin_perm The purpose of these variables is to suggest the required owner, group and permissions that might be used to make a binary using libstatgrab work fully. I'm not sure if this is the "best" way of doing this, but it seems like a reasonable idea.
On NetBSD 2.0 (in fact, all BSD's, but only know of NetBSD 2.0) use statvfs instead of statfs when available. No guarantees I've got this right - I need to upgrade our NetBSD 2 test machine to a more recent build.
Since OpenBSD 3.5 disk io stats have been seperated into read and write, just like NetBSD. This fixes libstatgrab to work on 3.5+. Bug reported by Wijnand Wiersma and Christian Weisgerber.
Post-release increment.
Add compatibility code. This provides a working pre-0.10 API for old applications. To use simply change the #include line to: #define SG_ENABLE_DEPRECATED #include <statgrab.h> This can be disabled at build time completely using --disable-deprecated.
Fix process stats on NetBSD 2.0 (beta). Also fix the 5-processes-workaround Adam committed yesterday on the rest of the BSD's (not just FreeBSD5).
No longer need kvm on FreeBSD 5, OpenBSD, and NetBSD.
This adds support for NetBSD, although it currently needs elevated privileges. I will try and fix that.
Now need -lkvm on FreeBSD 5.
Post release version increment.
Add support for DragonFly BSD 1.0. Also a minor tweak to the network interface code to make it more portable.
Seems we sometimes need root privs on linux :/
We don't need to be setuid root on Solaris 8+. On Solaris 7 and below we do need to, but only if we care about the disk mappings. This leaves us needing to be setuid root for disk mappings on Solaris 7 and below, and needing setgid kmem on FreeBSD 4 for swap statistics.
Change swap_stats on FreeBSD 5 - no longer uses kvm. This means that we no longer need setgid kmem on FreeBSD 5, or kvm, at all. However, this change doesn't work on FreeBSD 4 - so kvm is still needed there.
Rework iface_stat code for Solaris so that it uses SIOCGIFFLAGS to find out whether an interface is up or not. This means that we need to link with -lsocket -lnsl now to get socket(). Also make the comment about when bytes-transferred stats a bit more explicit. We're now in the slightly odd situation where it's possible for an interface to show up in either or both of get_network_stats and get_network_iface_stats: for instance, on raptor at the moment, ce0 is in use so shows up in both, lo0 doesn't have kstats for bytes transferred and thus only shows up in the second, and ce1 exists but hasn't been plumbed so only shows up in the first. I'd be mildly inclined to "fix" this by making get_network_stats do a SIOCGIFFLAGS ioctl so unplumbed interfaces don't show up at all (and add packets received/transmited to the get_network_stats result so we can at least show something for lo0).
NetBSD and OpenBSD no longer need any elevated privileges, or any extra libraries to link against.
We'll almost certainly go with 0.9 for our next release.
Add preliminary support for OpenBSD (tested on 3.3). All works apart from Disk IO stats - currently the disks are not named correctly. The fix for this is probably to use KVM. Mostly similar to the NetBSD code, the notable exception being the uvm stuff. In NetBSD there's a function to get it, in OpenBSD sysctl is needed to get hold of it.
Post release version increment.
On solaris 6/7 test for libdevinfo and only try to link it if we find it.
Add check for libdevinfo.h
Add check for sys/loadavg.h. We need to test for it on Solaris 2.6...
Post release version increment.
Post-release version increments.
We're going with 0.8.
On Solaris we sometimes need to be setuid root.
Turn on the solaris disk mapping code. Fix some minor bugs, and remove some debugging code.
Make Cygwin its own platform, rather than defining LINUX. This stops libstatgrab from trying to fetch stats that Cygwin doesn't have.
Add support for cygwin. This is a bit limited, there's a few things that can't be retrieved on cygwin such as load averages, diskio, network io, and process stats. The package compiles and runs, and both saidar and statgrab work. Taken from a patch submitted by Ron Arts <raarts@netland.nl>. Thanks Ron!
Fix for building from NetBSD pkgsrc. There the OS is detected as just netbsdelf, without a version suffix. I've left the elf bit, because I'm not sure what the implications would be for non-elf NetBSD's?
Bump version post release.
Bump the version number.
Implement diskio stats on NetBSD. Tested on 1.6, but should work on 1.6.1 (and give more useful output, since 1.6.1 seperates read and write statistics).
Initial support for NetBSD. This adds NetBSD support for everything except diskio stats (since they're even more disturbingly complex to get at on NetBSD than the three OSs we already support). Tested against NetBSD 1.6 on i386.
Unbodge the pkgconfig stuff.
Push version number for next release.
Enable binaries being setgid kmem on FreeBSD. Will set this based on the operating system, but is overridable using a configure flag.
Add a define for FreeBSD 5.x.
Allow user to specify a different pkgconfig directory. Default is the sensible one (prefix/lib/pkgconfig). Main reason was that on FreeBSD they use prefix/libdata/pkgconfig, so a simple configure flag made it easier to do the port :-)
The new version of ncurses installs it's headers in include/ncurses. Make the prefix setting stuff aware of this.
Add all the build stuff for saidar (assuming Pete sticks with that name). The configure script will attempt to find curses, but if it can't will simply disable building of saidar (after giving a warning). Also made the building of saidar, statgrab, and the examples conditional. They're enabled by default, but can be disabled using a configure flag. Whilst I was at it, added a configure flag to disable manpage installation at configure time. I'm not sure how well the curses detection works; we've had at least one report of a problem with it. Testing will be required.
By popular demand the next release will be 0.6 :-)
Seperate out the flags used to link against libstatgrab. We use them to compile the examples and statgrab. They're also in the pkg-config file to allow other app's to know which libraries they'll need.
Add pkg-config file for libstatgrab.
Update configure.in for next release.
Generate statgrab MRTG scripts.
Move the world around a bit to allow for subdirs in src.
Update version number for next release.
Ready for the next release. - Update NEWS with details of new release. (FreeBSD bug fix, new docs, new examples) - Update version number to 0.5. - Update shared library version. - Move docs directory to more sensible place.
Bug reporting address is now bugs@i-scream.org.
Added building of examples. We don't, currently, install them though.
Change i-scream.org.uk to i-scream.org.
Allow documentation to be installed to $(datadir)/libstatgrab/docs.
Increment for next release.
libstatgrab needs to do a check for atoll too. This should fix libstatgrab on all platforms. New release coming shortly ;)
Added a library to link against on freebsd so that it will compile.
Next release of libstatgrab will (hopefully) have FreeBSD support, and will therefore be version 0.4 I guess.
Update version for next release.
Update version for next release.
Version 0.3.3. Bug fixed in the wraparound code.
Once again, heading for 0.4. If Pete manages to not find any more bugs :-)
Version 0.3.2. Has fixed wraparound stuff, well tested by now :-)
Hopefully heading towards 0.4 with FreeBSD support :-)
The configure setup explicitly checks for Solaris versions older then 8, and sets a define so the code knows not to use 64bit values. Also updated the NEWS file, bringing about version 0.3.1.
Increment version numbers so we're working towards the next versions...
Update version numbers. It seems to make sense to increment version numbers just after a release. Then you're working towards the next version...
And we have 0.2 :-)
Tidy up of configure script, and includes.
Created the structure and automake stuff for the source files to be moved to a src subdirectory. This will break things until I repo-move the actual files, which I don't want to do until Pete is happy :-)
We now use libtool to build libstatgrab. This gives us static and shared versions of the library, which is nice :) Updated the CVS build instructions accordingly.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.