2003-04-09 Wednesday 22:12  tdb

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

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

	* src/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/: 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/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/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/disk_stats.c (1.16):

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

	* src/: 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/swap_stats.c (1.4, LIBSTATGRAB_0_4):

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

	* src/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/page_stats.c (1.5, LIBSTATGRAB_0_4):

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

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

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

	* src/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/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/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/network_stats.c (1.13, LIBSTATGRAB_0_3_4):

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

	* src/: 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/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/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/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/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/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/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/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/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/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/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/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/: 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/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/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/: 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/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/: 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/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/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/: 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/: 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/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/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/: 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/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/: 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/user_stats.c (1.6, LIBSTATGRAB_0_2):

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

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

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

	* src/: 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/network_stats.c (1.5, LIBSTATGRAB_0_2):

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

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

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

	* src/user_stats.c (1.4):

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

	* src/process_stats.c (1.3):

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

	* src/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/cpu_stats.c (1.4), src/disk_stats.c
	(1.7), src/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/memory_stats.c (1.4,
	LIBSTATGRAB_0_2), src/network_stats.c (1.4), src/os_info.c (1.3,
	LIBSTATGRAB_0_2), src/process_stats.c (1.2), src/user_stats.c
	(1.3):

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

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

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

	* src/: 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/: 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/: 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/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/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/: 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/: 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/: 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/: 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/: 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.
	
