2004-01-06 Tuesday 17:15  pajs

	* docs/statgrab.xml (1.5, LIBSTATGRAB_0_8):

	Minor correction in docs.
	
2004-01-06 Tuesday 16:02  tdb

	* NEWS (1.19), configure.in (1.47) (utags: LIBSTATGRAB_0_8):

	We're going with 0.8.
	
2004-01-06 Tuesday 15:49  tdb

	* NEWS (1.18):

	Add new drop privileges function to NEWS.
	
2004-01-06 Tuesday 15:35  tdb

	* examples/: cpu_usage.c (1.5), disk_traffic.c (1.5), load_stats.c
	(1.5), os_info.c (1.4), page_stats.c (1.4), process_stats.c (1.5),
	user_list.c (1.5), vm_stats.c (1.5) (utags: LIBSTATGRAB_0_8):

	Add dropping privileges to all the examples.
	
2004-01-05 Monday 17:29  ats

	* examples/network_traffic.c (1.6, LIBSTATGRAB_0_8):

	Make one of the examples use statgrab_drop_privileges.
	
2004-01-05 Monday 17:27  ats

	* docs/statgrab.xml (1.4):

	Fix a typo.
	Tidy up the description of statgrab_init a bit.
	Update the list of supported platforms.
	
2004-01-05 Monday 17:24  tdb

	* src/libstatgrab/Makefile.am (1.17, LIBSTATGRAB_0_8):

	Update shared library version.
	
2004-01-05 Monday 17:20  ats

	* docs/statgrab.xml (1.3), src/libstatgrab/statgrab.h (1.18,
	LIBSTATGRAB_0_8), src/libstatgrab/tools.c (1.18, LIBSTATGRAB_0_8),
	src/saidar/saidar.c (1.22, LIBSTATGRAB_0_8),
	src/statgrab/statgrab.c (1.15, LIBSTATGRAB_0_8):

	Replace duplicated code for dropping privileges with a library
	function that always drops setuid/setgid privileges.
	
2004-01-05 Monday 16:47  ats

	* src/saidar/saidar.c (1.21):

	Remove unused variable "gid".
	
2004-01-05 Monday 16:39  ats

	* src/statgrab/statgrab.c (1.14):

	Drop setuidness on Solaris.
	
2004-01-05 Monday 15:04  tdb

	* NEWS (1.17), src/libstatgrab/Makefile.am (1.16):

	Update stuff for new release.
	
2004-01-05 Monday 14:25  pajs

	* src/saidar/saidar.c (1.20):

	Drop setuid for solaris.
	
2004-01-05 Monday 14:21  pajs

	* src/libstatgrab/tools.c (1.17):

	Minor tiding
	
2003-12-12 Friday 09:48  tdb

	* configure.in (1.46), src/saidar/Makefile.am (1.4,
	LIBSTATGRAB_0_8), src/statgrab/Makefile.am (1.7, LIBSTATGRAB_0_8):

	On Solaris we sometimes need to be setuid root.
	
2003-12-11 Thursday 14:27  tdb

	* src/saidar/saidar.c (1.19):

	Fix problem with -d flag in saidar. The line removed subtracted 1 from
	the delay. I guess at some point this was needed, but not now. So
	setting a delay of 1 resulted in a sleep 0 :-)
	
2003-11-23 Sunday 13:51  tdb

	* examples/: cpu_usage.c (1.4), disk_traffic.c (1.4), load_stats.c
	(1.4), network_traffic.c (1.5), os_info.c (1.3), page_stats.c
	(1.3), process_stats.c (1.4), user_list.c (1.4), vm_stats.c (1.4):

	Add statgrab_init() call to the examples. If people are going to copy them
	I guess we should try and make them correct :-)
	
	Also tidied up whitespace in the examples.
	
2003-11-21 Friday 09:24  tdb

	* docs/get_diskio_stats.xml (1.4, LIBSTATGRAB_0_8):

	Add section about new disk mappings.
	
2003-11-20 Thursday 23:15  tdb

	* Makefile.am (1.11), PLATFORMS (1.1) (utags: LIBSTATGRAB_0_8):

	Add PLATFORMS file to list the known working operating systems.
	The list is roughly right, I think. It's just a starting point really.
	
2003-11-20 Thursday 12:13  tdb

	* configure.in (1.45), src/libstatgrab/disk_stats.c (1.43,
	LIBSTATGRAB_0_8), src/libstatgrab/tools.c (1.16):

	Turn on the solaris disk mapping code. Fix some minor bugs, and remove
	some debugging code.
	
2003-11-19 Wednesday 21:56  tdb

	* src/libstatgrab/tools.c (1.15):

	Die nasty incorrect whitespace. Ahem. Excuse me.
	
2003-11-13 Thursday 17:02  pajs

	* src/libstatgrab/tools.c (1.14):

	Basic implementation of name mapping for solaris. The code is ugly, mostly
	because its initially taken from a sun example, and modified. It needs tiding
	somewhat. I'm not sure if tools.c is the right place for this, i guess it could
	go in disk_stats.c, but its doing a specific job, and we could right another
	mini-program which does the disk mappings.
	
	Comments welcome about the general implementation.
	
	Should we call build_mapping if the user calls get_svr_from_bsd and
	build_mapping hasn't been run before? Or should we force them to use the
	init function? (Bare in mind, on some systems, to do the mappings correctly
	the program will require to be root. (Only ones with a /dev/osa , so everything
	with an A1000 for e.g.)
	
2003-11-12 Wednesday 11:48  tdb

	* src/libstatgrab/load_stats.c (1.7, LIBSTATGRAB_0_8):

	Remove a line added for Cygwin that's no longer needed.
	
2003-11-12 Wednesday 01:41  ats

	* src/libstatgrab/process_stats.c (1.16, LIBSTATGRAB_0_8):

	Use the userspace limits.h header, not the kernel one.
	
2003-11-12 Wednesday 01:36  ats

	* src/libstatgrab/: disk_stats.c (1.42), load_stats.c (1.6),
	network_stats.c (1.20, LIBSTATGRAB_0_8), process_stats.c (1.15):

	Make libstatgrab functions return NULL for stats that can't be fetched
	on cygwin.
	
2003-11-11 Tuesday 10:27  tdb

	* src/libstatgrab/: cpu_stats.c (1.15, LIBSTATGRAB_0_8), statgrab.h
	(1.17):

	Fix a couple of Cygwin build issues. Not all the #ifdef LINUX's were
	changed in a previous commit.
	
2003-11-10 Monday 23:35  ats

	* src/statgrab/statgrab.c (1.13):

	Strip colons from Cygwin drive names.
	
2003-11-10 Monday 23:32  ats

	* src/libstatgrab/disk_stats.c (1.41):

	Factor out duplicated code that checks for valid FS types.
	
2003-11-10 Monday 23:25  ats

	* configure.in (1.44), src/libstatgrab/cpu_stats.c (1.14),
	src/libstatgrab/disk_stats.c (1.40), src/libstatgrab/memory_stats.c
	(1.17, LIBSTATGRAB_0_8), src/libstatgrab/os_info.c (1.11,
	LIBSTATGRAB_0_8), src/libstatgrab/page_stats.c (1.11,
	LIBSTATGRAB_0_8), src/libstatgrab/swap_stats.c (1.9,
	LIBSTATGRAB_0_8), src/libstatgrab/user_stats.c (1.12,
	LIBSTATGRAB_0_8):

	Make Cygwin its own platform, rather than defining LINUX. This stops
	libstatgrab from trying to fetch stats that Cygwin doesn't have.
	
2003-11-10 Monday 22:46  ats

	* src/libstatgrab/tools.c (1.13):

	Provide atoll() on platforms that don't have it.
	
2003-11-10 Monday 21:07  tdb

	* README (1.6, LIBSTATGRAB_0_8), configure.in (1.43),
	src/libstatgrab/disk_stats.c (1.39), src/libstatgrab/load_stats.c
	(1.5), src/libstatgrab/process_stats.c (1.14),
	src/libstatgrab/statgrab.h (1.16), src/libstatgrab/tools.c (1.12):

	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!
	
2003-11-07 Friday 18:43  ats

	* examples/: cpu_usage.c (1.3), disk_traffic.c (1.3), load_stats.c
	(1.3), network_traffic.c (1.4), page_stats.c (1.2), process_stats.c
	(1.3), user_list.c (1.3), vm_stats.c (1.3):

	Fix getopt() return value.
	
2003-11-07 Friday 18:39  ats

	* src/saidar/saidar.c (1.18):

	Remove a little bit of duplicated code.
	
2003-11-07 Friday 18:38  ats

	* src/saidar/saidar.c (1.17):

	Do the "don't update more than once a second" thing slightly
	differently; this avoids having it be unresponsive for 20 seconds if
	you type 20 spaces.
	
2003-11-07 Friday 18:28  ats

	* src/saidar/saidar.c (1.16):

	getopt returns -1 on completion, not EOF.
	
2003-11-07 Friday 18:27  ats

	* src/saidar/saidar.c (1.15):

	Fix type of ch.
	
2003-11-07 Friday 18:25  ats

	* src/saidar/saidar.c (1.14):

	Use curses' timeout() rather than select().
	
2003-11-07 Friday 12:57  tdb

	* src/statgrab/statgrab-make-mrtg-index.in (1.4, LIBSTATGRAB_0_8):

	Add a space I removed by accident.
	
2003-11-07 Friday 12:34  tdb

	* src/statgrab/statgrab-make-mrtg-index.in (1.3):

	Now generates valid XHTML.
	Also added a line to the end of the page saying what generated it :-)
	
2003-10-24 Friday 18:46  ats

	* src/libstatgrab/disk_stats.c (1.38):

	Support disk IO statistics on Linux 2.6.
	Remove a couple of unused variables.
	
2003-10-24 Friday 18:26  ats

	* src/libstatgrab/: memory_stats.c (1.16), page_stats.c (1.10),
	swap_stats.c (1.8):

	Support memory, swap and paging stats on Linux 2.6. For memory and swap,
	this just means reading the new-style data in /proc/meminfo (since it's
	present in 2.2 and 2.4 too); for paging, this means trying to read
	/proc/vmstat if it's available, else reading /proc/stat (for 2.2).
	
2003-10-24 Friday 18:03  ats

	* src/libstatgrab/network_stats.c (1.19):

	Add the correct type to a couple of long long constants.
	
2003-10-24 Friday 18:03  ats

	* src/libstatgrab/memory_stats.c (1.15):

	Initial Linux 2.6 support.
	
2003-10-24 Friday 18:00  ats

	* src/libstatgrab/: statgrab.h (1.15), user_stats.c (1.11):

	Move MAX_LOGIN_NAME_SIZE definition to the right place.
	
2003-10-24 Friday 14:33  tdb

	* src/: saidar/Makefile.am (1.3), statgrab/Makefile.am (1.6):

	Fix when --disable-saidar or --disable-statgrab used on BSD platforms.
	It seems you can do nested if statements, which is nice. Not sure if
	you can do combined ones (if foo && bar) or similar, though.
	
2003-10-24 Friday 14:17  tdb

	* configure.in (1.42):

	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?
	
2003-10-22 Wednesday 15:41  tdb

	* configure.in (1.41):

	Bump version post release.
	
2003-10-22 Wednesday 15:38  tdb

	* NEWS (1.16, LIBSTATGRAB_0_7):

	Update the NEWS file to add new platforms we've tested on.
	
2003-10-22 Wednesday 14:07  tdb

	* src/saidar/saidar.c (1.13):

	Do the divides a bit more safely :-)
	
2003-10-21 Tuesday 19:01  tdb

	* src/saidar/saidar.c (1.12, LIBSTATGRAB_0_7):

	Make saidar display the VM percentages for swap *or* memory if it can,
	rather than not displaying either if it can't get one or the other.
	
2003-10-21 Tuesday 17:35  tdb

	* NEWS (1.15), src/libstatgrab/Makefile.am (1.15, LIBSTATGRAB_0_7):

	Update for new release.
	
2003-10-21 Tuesday 16:48  pajs

	* docs/statgrab.xml (1.2, LIBSTATGRAB_0_7):

	Added doc's for statgrab_init
	
2003-10-20 Monday 23:35  ats

	* src/saidar/saidar.c (1.11):

	Only display the stats that are available (rather than bombing out if they
	aren't all available).
	
2003-10-20 Monday 23:18  ats

	* src/statgrab/statgrab.c (1.12, LIBSTATGRAB_0_7):

	Use statgrab_init and drop privs as soon as possible.
	
2003-10-20 Monday 19:13  ats

	* src/libstatgrab/memory_stats.c (1.14, LIBSTATGRAB_0_7):

	Clean up NetBSD memory calculations.
	
2003-10-20 Monday 17:20  pajs

	* src/libstatgrab/tools.c (1.11, LIBSTATGRAB_0_7):

	Changed the style slightly to be more readable.
	
2003-10-20 Monday 16:25  pajs

	* src/: libstatgrab/statgrab.h (1.14, LIBSTATGRAB_0_7),
	libstatgrab/tools.c (1.10), saidar/saidar.c (1.10):

	Added statgrab_init()
	
	This function just calls the get_kvm type functions so all special privilages
	can be dropped after this function has been called. It currently only does
	stuff on *bsd (and needs testing on netbsd). All other OS's will just have
	a function that returns 0
	
	Solaris at somepoint may need to do something here so we can do the drive mappings.
	
2003-10-19 Sunday 22:25  tdb

	* configure.in (1.40, LIBSTATGRAB_0_7):

	Bump the version number.
	
2003-10-19 Sunday 22:22  ats

	* src/libstatgrab/disk_stats.c (1.37, LIBSTATGRAB_0_7):

	Correct comment about where dk_rbytes is available.
	
2003-10-19 Sunday 22:12  ats

	* src/libstatgrab/disk_stats.c (1.36):

	Update VALID_FS_TYPES for FreeBSD (at least, those that I can see from
	a quick look at src/sys).
	
2003-10-19 Sunday 22:06  ats

	* src/libstatgrab/disk_stats.c (1.35):

	Update VALID_FS_TYPES for NetBSD.
	
2003-10-19 Sunday 13:04  ats

	* configure.in (1.39), src/libstatgrab/disk_stats.c (1.34):

	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).
	
2003-10-19 Sunday 12:23  ats

	* src/libstatgrab/disk_stats.c (1.33):

	Avoid bzero(NULL, ...) on malloc failure.
	
2003-10-19 Sunday 12:15  ats

	* src/libstatgrab/disk_stats.c (1.32):

	Update the Linux VALID_FS_TYPES list based on the writable disk-based
	filesystems in 2.4.22 (plus xfs and jfs).
	
2003-10-19 Sunday 03:15  ats

	* src/libstatgrab/os_info.c (1.10, LIBSTATGRAB_0_7):

	Remove another patch glitch.
	
2003-10-19 Sunday 03:11  ats

	* src/libstatgrab/memory_stats.c (1.13):

	Dear patch(1),
	  Kindly don't insert random lines from my code into the middle of
	other peoples' sscanfs.
	       love,
	         Adam
	
2003-10-19 Sunday 03:03  ats

	* configure.in (1.38), src/libstatgrab/cpu_stats.c (1.13,
	LIBSTATGRAB_0_7), src/libstatgrab/disk_stats.c (1.31),
	src/libstatgrab/memory_stats.c (1.12),
	src/libstatgrab/network_stats.c (1.18, LIBSTATGRAB_0_7),
	src/libstatgrab/os_info.c (1.9), src/libstatgrab/page_stats.c (1.9,
	LIBSTATGRAB_0_7), src/libstatgrab/process_stats.c (1.13,
	LIBSTATGRAB_0_7), src/libstatgrab/swap_stats.c (1.7,
	LIBSTATGRAB_0_7), src/libstatgrab/tools.c (1.9),
	src/libstatgrab/tools.h (1.8, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7),
	src/libstatgrab/user_stats.c (1.10, LIBSTATGRAB_0_7):

	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.
	
2003-10-19 Sunday 02:25  ats

	* src/statgrab/statgrab.c (1.11):

	Correct type of page.systime.
	
2003-10-19 Sunday 01:25  ats

	* src/libstatgrab/: process_stats.c (1.12), swap_stats.c (1.6),
	tools.c (1.8), tools.h (1.7):

	Add a helper function for opening the kvm handle. This removes a little
	bit of duplicated code, and means that we don't open and close kvm
	(which can potentially be quite expensive) each time we use it. This
	will also be useful for NetBSD.
	
2003-10-19 Sunday 01:10  ats

	* src/libstatgrab/disk_stats.c (1.30):

	Fix warning when building on Linux.
	
2003-10-19 Sunday 01:09  ats

	* src/libstatgrab/: tools.c (1.7), tools.h (1.6):

	Remove headers from tools.h that the prototypes don't need (since
	  they're included elsewhere where needed).
	Include tools.h in tools.c, so we get warnings if the prototypes are
	  wrong.
	
2003-10-19 Sunday 00:04  ats

	* src/libstatgrab/: cpu_stats.c (1.12), memory_stats.c (1.11),
	os_info.c (1.8), page_stats.c (1.8):

	... and the size parameter should be initialised to the size of the
	buffer first (although FreeBSD doesn't actually seem to care, NetBSD
	does, and the manual page says so).
	
2003-10-18 Saturday 23:16  ats

	* src/libstatgrab/disk_stats.c (1.29):

	Fix a little bit of slightly-confused comment formatting.
	
2003-10-18 Saturday 23:15  ats

	* src/libstatgrab/: cpu_stats.c (1.11), memory_stats.c (1.10),
	os_info.c (1.7), page_stats.c (1.7):

	You only need to call sysctl{,byname}() twice if you're actually going
	  to do something with the size the first call returns.
	The last argument to sysctl{,byname}() is a size_t, not a pointer, so it
	  should be 0, not NULL.
	
2003-10-18 Saturday 18:15  tdb

	* NEWS (1.14), src/libstatgrab/Makefile.am (1.14) (utags:
	LIBSTATGRAB_0_6_1):

	Update for new release - 0.6.1.
	
2003-10-18 Saturday 17:12  ats

	* src/statgrab/statgrab.c (1.10, LIBSTATGRAB_0_6_1):

	Mangle device names more correctly; now a device like "/dev/vinum/foo"
	will become "vinum_foo", rather than "foo".
	
2003-10-18 Saturday 17:00  ats

	* src/statgrab/statgrab-make-mrtg-index.in (1.2, LIBSTATGRAB_0_7,
	LIBSTATGRAB_0_6_1):

	Allow the user to specify the page title.
	Include the hostname in the page title by default.
	
2003-10-18 Saturday 16:05  tdb

	* src/saidar/saidar.c (1.9, LIBSTATGRAB_0_6_1):

	Now behaves a little bit more like df with regard to percentages. This
	needs a better fix somewhere in libstatgrab really; we don't currently know
	anything about the reserved space.
	
2003-10-18 Saturday 15:08  pajs

	* src/saidar/saidar.c (1.8):

	Brain failure over a confusion with strncpy (thinking it worked like strlcpy)
	
2003-10-18 Saturday 15:00  pajs

	* src/saidar/saidar.c (1.7):

	Fix an annoying long hostname problem.
	
2003-10-18 Saturday 13:40  tdb

	* src/libstatgrab/memory_stats.c (1.9, LIBSTATGRAB_0_6_1):

	Fix the total memory that I broke in the last commit.
	
2003-10-18 Saturday 13:28  tdb

	* src/libstatgrab/memory_stats.c (1.8):

	Fix the FreeBSD memory code. The sysctl calls are returning ints, not
	long longs, so putting the values straight in to long longs was breaking.
	Now put the values into ints and then fill in the structure afterwards.
	
	This, for some reason, only showed up on FreeBSD 5.1/sparc64. The changed
	code works on the other FreeBSD's too.
	
	One bug still outstanding: on sparc64 the total memory isn't working.
	
2003-10-16 Thursday 18:54  tdb

	* src/saidar/saidar.c (1.6):

	Disk percentage may be arguably more "right" than it is before. It's
	debatable, of course :)
	
2003-10-12 Sunday 15:46  tdb

	* Makefile.am (1.10, LIBSTATGRAB_0_7), configure.in (1.37) (utags:
	LIBSTATGRAB_0_6_1):

	Unbodge the pkgconfig stuff.
	
2003-10-09 Thursday 23:56  tdb

	* configure.in (1.36):

	Push version number for next release.
	
2003-10-09 Thursday 20:40  pajs

	* src/libstatgrab/process_stats.c (1.11, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6):

	Fixed for freebsd 5 to count the new states a process can be in. Reverted
	back to the proper way for the total now this has been proven was the
	problem.
	
2003-10-09 Thursday 17:48  pajs

	* src/libstatgrab/process_stats.c (1.10):

	Possibly making sure that the total is always correct on freebsd 5, even
	if some of the states are left out.
	
2003-10-09 Thursday 17:35  pajs

	* src/saidar/saidar.c (1.5, LIBSTATGRAB_0_6):

	Another stupid mistake. Now actually prints the program name :)
	
2003-10-09 Thursday 17:24  pajs

	* src/saidar/saidar.c (1.4):

	Tab problem in a fprintf and actually turn on the new command line options ;)
	
2003-10-09 Thursday 17:14  tdb

	* AUTHORS (1.5, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7,
	LIBSTATGRAB_0_6_1), NEWS (1.13), src/libstatgrab/Makefile.am (1.13)
	(utags: LIBSTATGRAB_0_6):

	Ready for new release of libstatgrab - 0.6.
	
2003-10-09 Thursday 17:08  pajs

	* src/saidar/saidar.c (1.3):

	Added some usage flags, and a -v for version and -h for help.
	
2003-10-09 Thursday 17:00  tdb

	* src/saidar/saidar.c (1.2):

	Standard header, plus make it include the right curses.h dependent on
	what the configure system finds.
	
2003-10-09 Thursday 16:57  pajs

	* src/saidar/saidar.c (1.1):

	First release of saidar. This version works on all platforms, using ncurses
	fine. Bugs exist when linked against the solaris curses. (E.g. if while
	running saidar you hammer a key repeatedly, the screen no longer updates.
	This only happens with the solaris curses however)
	
	Saidar takes a single optional flag, "-d" and an argument of the delay in
	seconds. e.g.
	
	saidar -d 1
	
	Will update the screen once a second (the fastest allowed update time). The
	default update it every 3 seconds. However, if you press any other key, it
	will update immidiately (unless its less than 1 second, in which case it will
	update at the earlist available time)
	
2003-10-09 Thursday 16:22  pajs

	* src/libstatgrab/disk_stats.c (1.28, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6):

	Fixed a forgotten line from the patch
	
2003-10-09 Thursday 16:12  pajs

	* src/libstatgrab/process_stats.c (1.9):

	Update to work for Freebsd5. Thanks to Tim Bishop for doing the hard work
	for this patch.
	
2003-10-09 Thursday 15:59  pajs

	* src/libstatgrab/disk_stats.c (1.27):

	Freebsd 5 patch for disk stats. Thanks to Tim Bishop for doing the hard
	work on this patch.
	
2003-10-09 Thursday 11:37  tdb

	* configure.in (1.35), src/saidar/Makefile.am (1.2,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1), src/statgrab/Makefile.am (1.5,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1) (utags: LIBSTATGRAB_0_6):

	Enable binaries being setgid kmem on FreeBSD. Will set this based on
	the operating system, but is overridable using a configure flag.
	
2003-10-08 Wednesday 18:49  tdb

	* configure.in (1.34):

	Add a define for FreeBSD 5.x.
	
2003-10-08 Wednesday 10:20  tdb

	* src/libstatgrab/disk_stats.c (1.26):

	Unroll Pete's commits for doing drive mappings on Solaris. It doesn't
	work right and he wants to start again. Also, we don't want it in the
	next release :) This effectively removes revisions 1.22 and 1.23.
	
2003-10-07 Tuesday 23:07  tdb

	* Makefile.am (1.9, LIBSTATGRAB_0_6), configure.in (1.33):

	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 :-)
	
2003-10-07 Tuesday 21:32  tdb

	* src/libstatgrab/disk_stats.c (1.25):

	Further following of the manpage:
	
	"getdevs() expects the statinfo structure to be allocated, and it also
	expects the dinfo subelement to be allocated and zeroed prior to the
	first invocation of getdevs()."
	
	This finally makes saider work on FreeBSD.
	
2003-10-07 Tuesday 20:58  tdb

	* src/libstatgrab/disk_stats.c (1.24):

	Don't free stats.dinfo. If it used to store state between calls of
	getdevs it probably doesn't make sense to free it at the end of the
	first call of the function :)
	
	This follows Adam's last commit on this bit of which made sure we
	didn't reinitialise stats.dinfo every time round the loop.
	
2003-10-04 Saturday 18:07  tdb

	* README.CVS (1.4), autogen.sh (1.1) (utags: LIBSTATGRAB_0_6,
	LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_7, LIBSTATGRAB_0_8):

	Add autogen.sh, a script to run automake/autoconf/etc. This is used
	to build the build system when the package is checked out of CVS.
	
	Updated README.CVS files accordingly.
	
2003-10-04 Saturday 17:32  tdb

	* configure.in (1.32):

	The new version of ncurses installs it's headers in include/ncurses.
	Make the prefix setting stuff aware of this.
	
2003-10-04 Saturday 17:05  tdb

	* acinclude.m4 (1.1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7,
	LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6), configure.in (1.31),
	docs/Makefile.am (1.21, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7,
	LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6), examples/Makefile.am (1.9,
	LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6), src/Makefile.am (1.2, LIBSTATGRAB_0_8,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
	src/saidar/Makefile.am (1.1), src/statgrab/Makefile.am (1.4):

	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.
	
2003-10-02 Thursday 18:38  tdb

	* docs/: Makefile.am (1.20), cpu_percent_usage.xml (1.2,
	LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6), get_diskio_stats.xml (1.3, LIBSTATGRAB_0_7,
	LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6), get_general_stats.xml (1.2,
	LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6), get_load_stats.xml (1.2, LIBSTATGRAB_0_8,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
	get_memory_stats.xml (1.2, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7,
	LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6), get_network_stats.xml (1.3,
	LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6), get_page_stats.xml (1.2, LIBSTATGRAB_0_8,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
	get_process_stats.xml (1.2, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7,
	LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6), get_user_stats.xml (1.2,
	LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6), statgrab.xml (1.1, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6):

	Add a central page statgrab(3) which links all the functions together. Add
	a link in the See Also section of each manual page back to the central one.
	
2003-10-02 Thursday 17:30  tdb

	* docs/Makefile.am (1.19):

	Dropped the old text documentation in favour of manpages.
	
2003-10-02 Thursday 17:20  tdb

	* docs/: Makefile.am (1.18), get_memory_stats.xml (1.1):

	Add final manpage - swap and memory.
	
2003-10-02 Thursday 17:08  tdb

	* docs/: Makefile.am (1.17), get_process_stats.xml (1.1):

	Add process statistics.
	
2003-10-02 Thursday 17:01  tdb

	* docs/: get_diskio_stats.xml (1.2), get_network_stats.xml (1.2):

	Fix some markup.
	
2003-10-02 Thursday 17:00  tdb

	* docs/: Makefile.am (1.16), get_page_stats.xml (1.1):

	Add page stats manpage.
	
2003-10-02 Thursday 16:32  tdb

	* docs/: Makefile.am (1.15), get_user_stats.xml (1.1):

	Add user statistics.
	
2003-10-02 Thursday 16:17  tdb

	* docs/: Makefile.am (1.14), get_diskio_stats.xml (1.1):

	Add diskio stats. Anyone notice there's no documentation or examples
	for the disk stats? :)
	
2003-10-02 Thursday 15:53  tdb

	* docs/: Makefile.am (1.13), get_network_stats.xml (1.1):

	Add network stats manpage.
	
2003-10-01 Wednesday 15:59  tdb

	* docs/: Makefile.am (1.12), cpu_percent_usage.xml (1.1):

	Add CPU statistics documentation.
	
2003-10-01 Wednesday 14:47  tdb

	* docs/: Makefile.am (1.11), get_general_stats.xml (1.1),
	get_load_stats.xml (1.1):

	Add manual pages in docbook XML format. The Makefile will convert them
	in to manual pages at distribution time, so the archive will ship with
	manual pages, not XML.
	
2003-09-29 Monday 10:00  tdb

	* configure.in (1.30):

	By popular demand the next release will be 0.6 :-)
	
2003-09-29 Monday 09:59  tdb

	* configure.in (1.29), libstatgrab.pc.in (1.2, LIBSTATGRAB_0_8,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
	examples/Makefile.am (1.8), src/statgrab/Makefile.am (1.3):

	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.
	
2003-09-26 Friday 23:30  pajs

	* src/libstatgrab/disk_stats.c (1.23):

	Bug fix on systems with large path_to_inst files.
	
2003-09-26 Friday 22:11  tdb

	* Makefile.am (1.8), configure.in (1.28), libstatgrab.pc.in (1.1):

	Add pkg-config file for libstatgrab.
	
2003-09-26 Friday 17:33  pajs

	* src/libstatgrab/disk_stats.c (1.22):

	Added drive mapping for solaris from the old sunos names, to the more
	modern solaris names.
	
	E.g.
	
	ssd0 to c0t0d0s0
	
	This is rather more useful :)
	
2003-09-09 Tuesday 12:02  tdb

	* configure.in (1.27):

	Update configure.in for next release.
	
2003-09-09 Tuesday 11:55  tdb

	* AUTHORS (1.4), NEWS (1.12), README (1.5, LIBSTATGRAB_0_7,
	LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6) (utags: LIBSTATGRAB_0_5_1):

	Update NEWS with latest changes.
	Change bug report address in README file.
	Update AUTHORS to include Adam as the statgrab author.
	Now ready for the 0.5.1 release.
	
2003-09-09 Tuesday 09:43  ats

	* src/libstatgrab/disk_stats.c (1.21, LIBSTATGRAB_0_5_1):

	Fix FreeBSD segfault. From the getdevs() man page: "The dinfo subelement
	is used to store state between calls, and should not be modified after
	the first call to getdevs()."
	
2003-08-31 Sunday 14:23  ats

	* src/statgrab/statgrab.c (1.9, LIBSTATGRAB_0_6,
	LIBSTATGRAB_0_5_1):

	If invoked as "statgrab foo.", print all stats starting with "foo.".
	Print multiple values with the same name correctly.
	
2003-08-29 Friday 07:56  ats

	* src/statgrab/statgrab.c (1.8):

	Only fetch the stats that we're actually interested in.
	
2003-08-29 Friday 07:49  ats

	* src/statgrab/statgrab.c (1.7):

	*Really* fill in time_taken correctly.
	
2003-08-29 Friday 07:48  ats

	* src/statgrab/statgrab.c (1.6):

	Fill in time_taken correctly.
	
2003-08-29 Friday 00:05  ats

	* src/libstatgrab/disk_stats.c (1.20):

	Make disk_stats read /proc/partitions on Linux, which contains information for
	  all disks on recent 2.4 kernels. (It'll fall back to /proc/stat if it can't
	  find the information there.)
	
2003-08-28 Thursday 22:33  ats

	* src/libstatgrab/disk_stats.c (1.19):

	Don't fclose(NULL).
	
2003-08-28 Thursday 22:21  ats

	* src/statgrab/: statgrab-make-mrtg-config.in (1.2,
	LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1), statgrab.c (1.5):

	-p doesn't make any sense unless you've got stat differences.
	-m should work with -o.
	Make statgrab-make-mrtg-config use -o for CPU stats.
	
2003-08-28 Thursday 12:27  ats

	* configure.in (1.26, LIBSTATGRAB_0_5_1):

	Generate statgrab MRTG scripts.
	
2003-08-28 Thursday 12:26  ats

	* src/statgrab/: Makefile.am (1.2, LIBSTATGRAB_0_5_1),
	statgrab-make-mrtg-config.in (1.1), statgrab-make-mrtg-index.in
	(1.1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1):

	Add scripts to generate MRTG config and index page from statgrab output.
	
2003-08-27 Wednesday 21:54  tdb

	* src/statgrab/statgrab.c (1.4):

	Apply patch in bug id #10. Submitted by Adam :-)
	
2003-08-27 Wednesday 15:04  tdb

	* src/statgrab/statgrab.c (1.3):

	Have to pull in the definitions from config.h.
	
2003-08-27 Wednesday 15:00  tdb

	* src/statgrab/statgrab.c (1.2):

	Put the version number in the usage page.
	
2003-08-26 Tuesday 23:34  pajs

	* src/libstatgrab/network_stats.c (1.17, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1):

	Fix for freebsd network traffic too.. Everything stores it in 32bit
	with the exception of SOL8+ hosts.
	
	Its a stupid world ;)
	
2003-08-26 Tuesday 23:11  pajs

	* src/libstatgrab/network_stats.c (1.16):

	Linux stores it as a 32bit unsigned long, so suffers the same wrap around
	bug as sol 7 hosts. This increases the chances it may happen on freebsd too
	so some testing maybe needed. If so, we prob should change this to a default
	and have a #ifdef 64bit for the odd (good) ones :)
	
2003-08-26 Tuesday 13:14  tdb

	* configure.in (1.25), examples/Makefile.am (1.7,
	LIBSTATGRAB_0_5_1), src/Makefile.am (1.1, LIBSTATGRAB_0_5_1),
	src/libstatgrab/Makefile.am (1.12, LIBSTATGRAB_0_5_1),
	src/statgrab/Makefile.am (1.1):

	Move the world around a bit to allow for subdirs in src.
	
2003-08-26 Tuesday 13:09  tdb

	* src/statgrab/statgrab.c (1.1):

	A sysctl-style program to display system statistics collected through
	libstatgrab. Contributed by Adam Sampson, azz@us-lot.org.
	
2003-08-25 Monday 22:41  tdb

	* configure.in (1.24):

	Update version number for next release.
	
2003-08-25 Monday 13:41  tdb

	* NEWS (1.11), configure.in (1.23), docs/Makefile.am (1.10,
	LIBSTATGRAB_0_5_1), src/libstatgrab/Makefile.am (1.11) (utags:
	LIBSTATGRAB_0_5):

	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.
	
2003-08-24 Sunday 22:59  tdb

	* docs/Makefile.am (1.9), examples/Makefile.am (1.6,
	LIBSTATGRAB_0_5):

	Tidy page_stat.txt, and add the page stats stuff to the Makefiles.
	
2003-08-24 Sunday 22:58  pajs

	* examples/page_stats.c (1.1, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5):

	page stats example
	
2003-08-24 Sunday 22:20  tdb

	* docs/Makefile.am (1.8):

	Tidy cpu.txt and add to Makefile.
	
2003-08-24 Sunday 21:36  tdb

	* docs/Makefile.am (1.7):

	Tidy user_list too.
	
2003-08-24 Sunday 21:24  tdb

	* NEWS (1.10), README (1.4, LIBSTATGRAB_0_5), docs/Makefile.am
	(1.6), examples/Makefile.am (1.5), examples/cpu_usage.c (1.2,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6,
	LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5), examples/disk_traffic.c (1.2,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6,
	LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5), examples/load_stats.c (1.2,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6,
	LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5), examples/network_traffic.c
	(1.3, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6,
	LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5), examples/os_info.c (1.2,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6,
	LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5), examples/process_stats.c (1.2,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6,
	LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5), examples/user_list.c (1.2,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6,
	LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5), examples/vm_stats.c (1.2,
	LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6,
	LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5), src/libstatgrab/Makefile.am
	(1.10), src/libstatgrab/cpu_stats.c (1.10, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
	src/libstatgrab/disk_stats.c (1.18, LIBSTATGRAB_0_5),
	src/libstatgrab/load_stats.c (1.4, LIBSTATGRAB_0_7,
	LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1,
	LIBSTATGRAB_0_5), src/libstatgrab/memory_stats.c (1.7,
	LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
	src/libstatgrab/network_stats.c (1.15, LIBSTATGRAB_0_5),
	src/libstatgrab/os_info.c (1.6, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6,
	LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5), src/libstatgrab/page_stats.c
	(1.6, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1,
	LIBSTATGRAB_0_5), src/libstatgrab/process_stats.c (1.8,
	LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5), src/libstatgrab/statgrab.h
	(1.13, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1,
	LIBSTATGRAB_0_5), src/libstatgrab/swap_stats.c (1.5,
	LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1,
	LIBSTATGRAB_0_5), src/libstatgrab/tools.c (1.6, LIBSTATGRAB_0_6_1,
	LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
	src/libstatgrab/tools.h (1.5, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6,
	LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5), src/libstatgrab/user_stats.c
	(1.9, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1,
	LIBSTATGRAB_0_5):

	Tidy up of lots of little things. :)
	
2003-08-24 Sunday 21:09  pajs

	* examples/user_list.c (1.1):

	User details example.
	
2003-08-24 Sunday 20:15  pajs

	* examples/vm_stats.c (1.1):

	Memory and swap stats example
	
2003-08-24 Sunday 19:20  tdb

	* AUTHORS (1.3, LIBSTATGRAB_0_5):

	The AUTHORS file has been here since it was copied from ihost ;)
	
2003-08-24 Sunday 17:18  tdb

	* docs/Makefile.am (1.5), examples/Makefile.am (1.4):

	Add latest docs and examples.
	
2003-08-24 Sunday 16:23  pajs

	* examples/os_info.c (1.1):

	OS stats example
	
2003-08-21 Thursday 23:48  pajs

	* examples/process_stats.c (1.1):

	Added a process stats example.
	
2003-08-21 Thursday 23:32  tdb

	* docs/Makefile.am (1.4), examples/Makefile.am (1.3):

	Add the load stats to the Makefile.
	
2003-08-21 Thursday 23:18  pajs

	* examples/load_stats.c (1.1):

	Added load_stats example, and documentation.
	
2003-08-21 Thursday 21:48  tdb

	* configure.in (1.22):

	Bug reporting address is now bugs@i-scream.org.
	
2003-06-05 Thursday 17:03  tdb

	* examples/Makefile.am (1.2):

	Add new examples to Makefile.
	
2003-06-05 Thursday 17:02  tdb

	* docs/Makefile.am (1.3):

	Proof read and slightly alter diskio.txt and network.txt. Also add
	diskio.txt to the Makefile.
	
2003-06-05 Thursday 16:38  pajs

	* examples/disk_traffic.c (1.1):

	Example for disk traffic.
	
2003-06-05 Thursday 15:45  pajs

	* examples/: cpu_usage.c (1.1), network_traffic.c (1.2):

	Example of how to get and display cpu usage.
	
2003-06-04 Wednesday 17:03  pajs

	* src/libstatgrab/process_stats.c (1.7):

	Fix bug report #748942. Moved the ifdef to where it should be :)
	
2003-05-20 Tuesday 15:10  tdb

	* Makefile.am (1.7, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
	configure.in (1.21), examples/Makefile.am (1.1):

	Added building of examples. We don't, currently, install them though.
	
2003-05-20 Tuesday 14:57  tdb

	* AUTHORS (1.2), Makefile.am (1.6), README (1.3), README.CVS (1.3,
	LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5), configure.in (1.20),
	docs/Makefile.am (1.2):

	Change i-scream.org.uk to i-scream.org.
	
2003-05-20 Tuesday 14:44  tdb

	* Makefile.am (1.5), configure.in (1.19), docs/Makefile.am (1.1):

	Allow documentation to be installed to $(datadir)/libstatgrab/docs.
	
2003-05-11 Sunday 18:05  pajs

	* examples/network_traffic.c (1.1):

	Added basic docs for network stats, and a example. Needs some basic work, and
	no doubt several typos :)
	
2003-04-09 Wednesday 22:13  tdb

	* configure.in (1.18):

	Increment for next release.
	
2003-04-09 Wednesday 22:12  tdb

	* NEWS (1.9), src/libstatgrab/Makefile.am (1.9) (utags:
	LIBSTATGRAB_0_4):

	Version 0.4 now with FreeBSD support.
	
2003-04-09 Wednesday 22:01  tdb

	* src/libstatgrab/tools.c (1.5, LIBSTATGRAB_0_4):

	Add the standard header. Particularly the bit about including config.h was
	needed to allow the ifdef around the last function to work.
	
2003-04-09 Wednesday 21:49  tdb

	* NEWS (1.8), configure.in (1.17, LIBSTATGRAB_0_4):

	libstatgrab needs to do a check for atoll too. This should fix libstatgrab
	on all platforms. New release coming shortly ;)
	
2003-04-06 Sunday 12:59  pajs

	* configure.in (1.16):

	Added a library to link against on freebsd so that it will compile.
	
2003-04-06 Sunday 12:57  pajs

	* src/libstatgrab/: tools.c (1.4), tools.h (1.4, LIBSTATGRAB_0_4):

	Make the functions that use atoll have a #ifdef HAVE_ATOLL around them.
	I did this because freebsd doesn't have this function, and it doesn't
	need to run any of the functions in tools.h that uses them.
	
2003-04-06 Sunday 01:27  pajs

	* src/libstatgrab/network_stats.c (1.14, LIBSTATGRAB_0_4):

	Now works on freebsd. This is the last of parts that needed to be ported
	so its now "finished" for testing. Solaris and Linux should also be tested
	as minor changes in code may of disturbed them (it shouldn't have, i just
	may of made a mistake :) )
	
	Certain things will require setgid kmem permissions (swap and processor
	stats)
	
2003-04-06 Sunday 00:56  pajs

	* src/libstatgrab/disk_stats.c (1.17, LIBSTATGRAB_0_4):

	Should now work on freebsd.
	
2003-04-05 Saturday 12:25  tdb

	* configure.in (1.15):

	Next release of libstatgrab will (hopefully) have FreeBSD support, and
	will therefore be version 0.4 I guess.
	
2003-04-04 Friday 15:25  pajs

	* src/libstatgrab/disk_stats.c (1.16):

	Disk stats for freebsd. This does not currently include diskio stats.
	
2003-04-04 Friday 14:08  pajs

	* src/libstatgrab/: statgrab.h (1.12), user_stats.c (1.8) (utags:
	LIBSTATGRAB_0_4):

	Ported to work onto freebsd.
	
2003-04-04 Friday 12:45  pajs

	* src/libstatgrab/swap_stats.c (1.4, LIBSTATGRAB_0_4):

	Now works on freebsd
	
2003-04-04 Friday 00:14  pajs

	* src/libstatgrab/process_stats.c (1.6, LIBSTATGRAB_0_4):

	Now works on freebsd.. Now why couldn't they follow the same scheme as
	everything else :) ?
	
2003-04-03 Thursday 21:26  pajs

	* src/libstatgrab/page_stats.c (1.5, LIBSTATGRAB_0_4):

	Now works on freebsd.
	
2003-04-03 Thursday 21:14  pajs

	* src/libstatgrab/os_info.c (1.5, LIBSTATGRAB_0_4):

	Now works on freebsd
	
2003-04-03 Thursday 21:05  pajs

	* src/libstatgrab/memory_stats.c (1.6, LIBSTATGRAB_0_4):

	Should now work happily on freebsd. sysctlbyname seems to return a lot of
	things in long's. Im not completely trusting this code, but it does appear
	to work, and its the same as the old implementation.
	
2003-04-03 Thursday 20:11  pajs

	* src/libstatgrab/cpu_stats.c (1.9, LIBSTATGRAB_0_4):

	Freebsd support. Smile tim ;)
	
2003-03-31 Monday 16:47  tdb

	* configure.in (1.14):

	Update version for next release.
	
2003-03-31 Monday 16:47  tdb

	* NEWS (1.7), src/libstatgrab/Makefile.am (1.8) (utags:
	LIBSTATGRAB_0_3_4):

	Package up 0.3.4 which fixes some leaking linux issues :-)
	
2003-03-31 Monday 14:24  pajs

	* src/libstatgrab/network_stats.c (1.13, LIBSTATGRAB_0_3_4):

	Fixed memory leak in regex stuff
	
2003-03-31 Monday 12:30  pajs

	* src/libstatgrab/: cpu_stats.c (1.8, LIBSTATGRAB_0_3_4),
	disk_stats.c (1.15, LIBSTATGRAB_0_3_4), network_stats.c (1.12):

	Fixed some issues with not closing FILE*'s.
	
2003-03-29 Saturday 18:51  tdb

	* src/libstatgrab/network_stats.c (1.11):

	Fix another #include.
	
2003-03-22 Saturday 13:06  tdb

	* configure.in (1.13, LIBSTATGRAB_0_3_4):

	Update version for next release.
	
2003-03-22 Saturday 13:05  tdb

	* NEWS (1.6), configure.in (1.12), src/libstatgrab/Makefile.am
	(1.7) (utags: LIBSTATGRAB_0_3_3):

	Version 0.3.3. Bug fixed in the wraparound code.
	
2003-03-22 Saturday 11:42  pajs

	* src/libstatgrab/network_stats.c (1.10, LIBSTATGRAB_0_3_3):

	Another stupid bug in the wrap around code.
	
2003-03-21 Friday 15:11  tdb

	* src/libstatgrab/Makefile.am (1.6, LIBSTATGRAB_0_3_2):

	Update the shared library version number too.
	
2003-03-21 Friday 14:29  tdb

	* configure.in (1.11):

	Once again, heading for 0.4. If Pete manages to not find any more bugs :-)
	
2003-03-21 Friday 14:27  tdb

	* NEWS (1.5), configure.in (1.10) (utags: LIBSTATGRAB_0_3_2):

	Version 0.3.2. Has fixed wraparound stuff, well tested by now :-)
	
2003-03-12 Wednesday 16:15  pajs

	* src/libstatgrab/network_stats.c (1.9, LIBSTATGRAB_0_3_2):

	Well, i carefully made the function to look after wrap around issues, and
	then apparently didn't use it :)
	
	It now uses it :)
	
2003-03-12 Wednesday 13:40  tdb

	* src/libstatgrab/Makefile.am (1.5, LIBSTATGRAB_0_3_1):

	Bump shared library version for 0.3.1.
	
2003-03-12 Wednesday 12:39  tdb

	* configure.in (1.9):

	Hopefully heading towards 0.4 with FreeBSD support :-)
	
2003-03-12 Wednesday 12:37  tdb

	* NEWS (1.4), configure.in (1.8) (utags: LIBSTATGRAB_0_3_1):

	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.
	
2003-03-11 Tuesday 16:16  pajs

	* src/libstatgrab/network_stats.c (1.8, LIBSTATGRAB_0_3_1):

	Ok, wrap around fixed for 32bit machines, not 64. I really ought to change
	all the long long's to ulong long's. I'll ponder if i can be bothered :)
	
2003-03-11 Tuesday 14:30  pajs

	* src/libstatgrab/network_stats.c (1.7):

	Make network stats work on pre sol8.
	BUGS: On pre sol8 systems, it doesn't cope with a wrap around once the
	32bit uint becomes too big. So when this happens it will report one set
	of dodgy data, then continue. This bug technically is there in the 64bit
	version too, but it will need to of sent 9223372036854775808 bytes first.
	(8388608 terrabytes, so basically a *big enough* number that will come around
	and byte me in 20 years time or something ;) )
	
2003-03-11 Tuesday 12:57  pajs

	* src/libstatgrab/disk_stats.c (1.14, LIBSTATGRAB_0_3_3,
	LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_1):

	Bug fix, again :) .. I wasn't reporting the time taken since last statgrab
	correctly. So got very busy disks apparently ;)
	
2003-03-10 Monday 19:01  pajs

	* src/libstatgrab/user_stats.c (1.7, LIBSTATGRAB_0_3_4,
	LIBSTATGRAB_0_3_3, LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_1,
	LIBSTATGRAB_0_3):

	Think i've fixed another bug which causes seg faults on machines with no
	users :)
	
2003-03-10 Monday 14:25  tdb

	* configure.in (1.7):

	Increment version numbers so we're working towards the next versions...
	
2003-03-10 Monday 14:23  tdb

	* NEWS (1.3), src/libstatgrab/Makefile.am (1.4) (utags:
	LIBSTATGRAB_0_3):

	libstatgrab now has linux support and goes to version 0.3. ihost has only
	minor bugfixes and changes, so becomes version 1.5.1. NEWS files updated
	accordingly. libstatgrab shared library version numbered incremented using
	the libtool rules - under the assumption that someone must have thought
	about that idea, which is more than we can manage to do ;)
	
2003-03-07 Friday 20:17  tdb

	* src/libstatgrab/: Makefile.am (1.3), disk_stats.c (1.13,
	LIBSTATGRAB_0_3):

	Added tools.c and tools.h to the Makefile. It now compiles ok on both
	Solaris and Linux. Also fixed a minor compile bug in disk_stats.c - I
	did check the history in CVS, and it used to be like this. The bug got
	introduced in the Linux changes.
	
2003-03-07 Friday 15:43  pajs

	* src/libstatgrab/swap_stats.c (1.3, LIBSTATGRAB_0_3_4,
	LIBSTATGRAB_0_3_3, LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_1,
	LIBSTATGRAB_0_3):

	Made work with linux. Last thing that needs to be ported.
	
2003-03-07 Friday 15:26  pajs

	* src/libstatgrab/process_stats.c (1.5, LIBSTATGRAB_0_3_4,
	LIBSTATGRAB_0_3_3, LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_1,
	LIBSTATGRAB_0_3):

	Added linux support.
	
2003-03-07 Friday 14:44  pajs

	* src/libstatgrab/: page_stats.c (1.4), statgrab.h (1.11), tools.h
	(1.3) (utags: LIBSTATGRAB_0_3, LIBSTATGRAB_0_3_1,
	LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_3, LIBSTATGRAB_0_3_4):

	Removed getting of some data we didn't really need or use.
	Updated page_stats to work with linux.
	Fixed tools.h to compile nicely :)
	
2003-03-07 Friday 13:20  pajs

	* src/libstatgrab/os_info.c (1.4, LIBSTATGRAB_0_3_4,
	LIBSTATGRAB_0_3_3, LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_1,
	LIBSTATGRAB_0_3):

	Made it work with linux :)
	
2003-03-07 Friday 11:56  pajs

	* src/libstatgrab/: network_stats.c (1.6, LIBSTATGRAB_0_3), tools.c
	(1.3, LIBSTATGRAB_0_3_4, LIBSTATGRAB_0_3_3, LIBSTATGRAB_0_3_2,
	LIBSTATGRAB_0_3_1, LIBSTATGRAB_0_3), tools.h (1.2):

	Made network stats work with linux.
	
2003-03-05 Wednesday 21:00  pajs

	* src/libstatgrab/memory_stats.c (1.5, LIBSTATGRAB_0_3_4,
	LIBSTATGRAB_0_3_3, LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_1,
	LIBSTATGRAB_0_3):

	Updated Memory stats to work with linux.
	
2003-03-05 Wednesday 17:11  pajs

	* src/libstatgrab/disk_stats.c (1.12):

	Linux reports stupid results. Fixed to return real vaules. Side note, gkrellm
	is doing it wrong ;)
	
2003-03-05 Wednesday 12:41  pajs

	* src/libstatgrab/: disk_stats.c (1.11), tools.c (1.2):

	Working linux diskio stats. Fixed bug in tools.c
	
2003-03-04 Tuesday 18:07  pajs

	* src/libstatgrab/: tools.c (1.1), tools.h (1.1):

	Useful tools, currently only one function. Function takes a file pointer
	and will read threw it until it hits a passed string. It will return that
	line.
	
2003-03-04 Tuesday 18:06  pajs

	* src/libstatgrab/disk_stats.c (1.10):

	Diskio stats for linux. Not been checked. Relies on tools.c (seperate comit)
	If someone knows a nicer way of getting the device name, please tell me, as
	the way im doing it is horrible! :)
	
2003-03-04 Tuesday 12:55  pajs

	* src/libstatgrab/disk_stats.c (1.9):

	disk_stats for linux. Does not do diskio stats yet.
	
2003-03-03 Monday 19:33  tdb

	* configure.in (1.6, LIBSTATGRAB_0_3):

	Update version numbers. It seems to make sense to increment version numbers
	just after a release. Then you're working towards the next version...
	
2003-03-03 Monday 15:26  pajs

	* src/libstatgrab/: cpu_stats.c (1.7, LIBSTATGRAB_0_3_3,
	LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_1, LIBSTATGRAB_0_3), statgrab.h
	(1.10):

	Added linux support for cpu stats
	
2003-03-03 Monday 14:37  pajs

	* src/libstatgrab/cpu_stats.c (1.6):

	Removed headers that were not used.
	
2003-03-03 Monday 14:29  tdb

	* NEWS (1.2), README (1.2, LIBSTATGRAB_0_4, LIBSTATGRAB_0_3_4,
	LIBSTATGRAB_0_3_3, LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_1,
	LIBSTATGRAB_0_3) (utags: LIBSTATGRAB_0_2):

	Update NEWS and README files. We now have version 0.2 of libstatgrab!
	
2003-03-03 Monday 13:14  pajs

	* src/libstatgrab/: cpu_stats.c (1.5), statgrab.h (1.9) (utags:
	LIBSTATGRAB_0_2):

	Made cpu stats to a type a bit more cross platform :)
	
2003-03-03 Monday 12:33  tdb

	* configure.in (1.5, LIBSTATGRAB_0_2):

	And we have 0.2 :-)
	
2003-03-02 Sunday 16:43  pajs

	* src/libstatgrab/user_stats.c (1.6, LIBSTATGRAB_0_2):

	Removed debugging statements
	
2003-03-01 Saturday 16:39  pajs

	* src/libstatgrab/process_stats.c (1.4, LIBSTATGRAB_0_2):

	Bug fix :
	
2003-03-01 Saturday 15:01  pajs

	* src/libstatgrab/: statgrab.h (1.8), user_stats.c (1.5):

	changed user_stats to return something more useful for ihost, and prob
	something more useful to everyone else too. Although, they can't just
	itterate thru it now, they got to find ' ' :)
	
2003-03-01 Saturday 02:42  pajs

	* src/libstatgrab/network_stats.c (1.5, LIBSTATGRAB_0_2):

	bug fix
	
2003-03-01 Saturday 02:41  pajs

	* src/libstatgrab/disk_stats.c (1.8, LIBSTATGRAB_0_2):

	Bug fix
	
2003-03-01 Saturday 02:38  pajs

	* src/libstatgrab/user_stats.c (1.4):

	bug fix
	
2003-03-01 Saturday 02:12  pajs

	* src/libstatgrab/process_stats.c (1.3):

	Removed debugging printf
	
2003-02-28 Friday 23:52  tdb

	* src/libstatgrab/Makefile.am (1.2, LIBSTATGRAB_0_2):

	Typo which meant the network stats code wasn't being compiled in to
	the library. Opps :-)
	
2003-02-28 Friday 22:59  tdb

	* configure.in (1.4), src/libstatgrab/cpu_stats.c (1.4),
	src/libstatgrab/disk_stats.c (1.7), src/libstatgrab/load_stats.c
	(1.3, LIBSTATGRAB_0_4, LIBSTATGRAB_0_3_4, LIBSTATGRAB_0_3_3,
	LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_1, LIBSTATGRAB_0_3,
	LIBSTATGRAB_0_2), src/libstatgrab/memory_stats.c (1.4,
	LIBSTATGRAB_0_2), src/libstatgrab/network_stats.c (1.4),
	src/libstatgrab/os_info.c (1.3, LIBSTATGRAB_0_2),
	src/libstatgrab/process_stats.c (1.2), src/libstatgrab/user_stats.c
	(1.3):

	Tidy up of configure script, and includes.
	
2003-02-23 Sunday 23:28  pajs

	* src/libstatgrab/: disk_stats.c (1.6), statgrab.h (1.7):

	Changed function name changed to be consistent.
	
2003-02-23 Sunday 22:58  pajs

	* src/libstatgrab/: disk_stats.c (1.5), statgrab.h (1.6):

	Added a diff diskio_stats and fixed a bug. This is the last thing needed
	for the solaris version of the new libstatgrab, bar bug fixes.
	
2003-02-23 Sunday 19:24  pajs

	* src/libstatgrab/: disk_stats.c (1.4), statgrab.h (1.5):

	Added support for read/write stats on a per disk basis. This does not count metadisks as disks.
	I will also add io transfer for mounted devices, and the ususal diff() function that gives you
	the differences since last time you called it.
	
2003-02-20 Thursday 13:19  tdb

	* src/libstatgrab/: cpu_stats.c (1.3), disk_stats.c (1.3),
	load_stats.c (1.2), memory_stats.c (1.3), swap_stats.c (1.2,
	LIBSTATGRAB_0_2), user_stats.c (1.2):

	Removed references to ukcprog.h.
	Fixed a missing * in the disk stats.
	And removed a block of linux stuff that shouldn't have been there :-)
	All with Pete's approval, of course.
	
2003-02-20 Thursday 13:08  pajs

	* src/libstatgrab/disk_stats.c (1.2):

	Header for new function.
	
2003-02-19 Wednesday 23:09  tdb

	* Makefile.am (1.4, LIBSTATGRAB_0_4, LIBSTATGRAB_0_3_4,
	LIBSTATGRAB_0_3_3, LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_1,
	LIBSTATGRAB_0_3, LIBSTATGRAB_0_2), configure.in (1.3),
	src/libstatgrab/Makefile.am (1.1):

	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 :-)
	
2003-02-19 Wednesday 20:55  tdb

	* Makefile.am (1.3):

	Specified the version number. Not that I really understand them though,
	libtool seems a little confusing ;)
	
2003-02-19 Wednesday 18:49  tdb

	* Makefile.am (1.2), README.CVS (1.2, LIBSTATGRAB_0_4,
	LIBSTATGRAB_0_3_4, LIBSTATGRAB_0_3_3, LIBSTATGRAB_0_3_2,
	LIBSTATGRAB_0_3_1, LIBSTATGRAB_0_3, LIBSTATGRAB_0_2), configure.in
	(1.2):

	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.
	
2003-02-19 Wednesday 17:13  pajs

	* src/libstatgrab/: network_stats.c (1.3), statgrab.h (1.4):

	network stats now returns a diff() style function, to make it easy to
	show the exact average network traffic over a period of time.
	
2003-02-19 Wednesday 00:25  pajs

	* src/libstatgrab/: page_stats.c (1.3, LIBSTATGRAB_0_2), statgrab.h
	(1.3):

	Added get_page_stats_diff() which returns the number of pages in/out etc since
	last time it was called, and the time difference since last time it was called.
	This makes it very easy for a host to know how many pages averaged over a period
	of time.
	
2003-02-18 Tuesday 23:23  pajs

	* src/libstatgrab/: cpu_stats.c (1.2), memory_stats.c (1.2),
	network_stats.c (1.2), os_info.c (1.2):

	Changed the kstat_close to not return NULL in event of a failure. If we
	cant close it, well there is nothing i can do about that, so i may as well
	at least return something useful since its done all the hardwork by that
	point. And anywan, it should never fail to close :)
	
2003-02-18 Tuesday 23:12  pajs

	* src/libstatgrab/: page_stats.c (1.2), statgrab.h (1.2):

	Finished page stats. It returns 2 things. One, number of pages swapped in and
	out, 2, the number of pageins and pageouts. As to if this is actually
	correct or not, im not 100% sure, but tests seem to imply it is.
	
	from:
	http://www.sun.com/sun-on-net/itworld/UIR960901perf.html
	
	        ulong   pgin;           /* pageins                              */
	        ulong   pgpgin;         /* pages paged in                       */
	        ulong   pgout;          /* pageouts                             */
	        ulong   pgpgout;        /* pages paged out                      */
	        ulong   swapin;         /* swapins                              */
	        ulong   pgswapin;       /* pages swapped in                     */
	        ulong   swapout;        /* swapouts
	
	I am *not* using swapins and swapouts. I did this in the orginal libstatgrab,
	and it didn't work. Looking at it more closely, it always seems to have 0 in
	it, so my guess is its broke. :)
	
2003-02-18 Tuesday 22:01  tdb

	* AUTHORS (1.1, LIBSTATGRAB_0_4, LIBSTATGRAB_0_3_4,
	LIBSTATGRAB_0_3_3, LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_1,
	LIBSTATGRAB_0_3, LIBSTATGRAB_0_2), Makefile.am (1.1), NEWS (1.1),
	README (1.1), README.CVS (1.1), configure.in (1.1):

	Autoconf/Automake setup. README.CVS details how to "get started" from
	a CVS checked out copy. Then it's just the usual configure and make,
	as described in the README file.
	
2003-02-18 Tuesday 19:28  pajs

	* src/libstatgrab/: cpu_stats.c (1.1), disk_stats.c (1.1),
	load_stats.c (1.1), memory_stats.c (1.1), network_stats.c (1.1),
	os_info.c (1.1), page_stats.c (1.1), process_stats.c (1.1),
	statgrab.h (1.1), swap_stats.c (1.1), user_stats.c (1.1):

	The new revesion of libstatgrab, which is a complete rewrite essentially.
	
	Firstly the data is now returned in structures rather than xml strings.
	The structures returned are all static, so what ever calls the library doesn't
	have to deal with the memory management of it.
	
	Secondly the general efficency of the code is now significantly faster. It no
	longer needs to fork a process, connect file descriptors and run ps, and then
	parse the output like it used to. Now it walks /proc and reads it into the
	correct data structures. This works without needing any special privilages, so
	it can still run as a normal mortal without needing any special group. (Freebsd
	will be an exception to this, but this commit only works with solaris, and that
	requires nothing special)
	
	Thridly it has more functionality than it used to. It not for instance is capable
	of showing network traffic stats, (although its not completely finished yet). It
	also in the near future be able to disk io stats as well. Several bug fixes have
	been aplied over the original version. For example the cpu_stats used to only reply
	the stats for the first processor. This now will report the total stats of all of
	them. Paging stats will also be fixed, but haven't been done yet.
	
