i-scream CVS Commit Logs

i-scream CVS commits since 2001/03/29

CVSROOT module

2019-07-16 Tuesday 11:26 committed by tdb

CVSROOT/cfg.pm (1.2),
CVSROOT/cvsrss.pl (1.7):

Update cvs binary location.

2015-01-12 Monday 17:16 committed by tdb

CVSROOT/avail (1.8):

Web is no longer available for changes (now in Git).

2013-08-04 Sunday 15:40 committed by tdb

CVSROOT/cfg_local.pm (1.12):

Stop spamming the commits list with uninteresting stuff.

2013-06-21 Friday 17:53 committed by tdb

CVSROOT/checkoutlist (1.9),
CVSROOT/ciabot_cvs.pl (1.5),
CVSROOT/loginfo (1.8):

CIA is now dead.

2012-01-12 Thursday 15:12 committed by tdb

CVSROOT/cfg_local.pm (1.11):

Deprecate cvs-all. Use commits instead for everything.

2012-01-12 Thursday 13:23 committed by tdb

CVSROOT/avail (1.7):

libstatgrab and pystatgrab are no longer open for commits in CVS. They
have been moved (well, are in the process of moving) to Git.

2011-06-14 Tuesday 16:14 committed by tdb

CVSROOT/cvswrappers (1.6):

Add pdf to list of filetypes that are treated as binary.

2010-08-09 Monday 22:45 committed by tdb

CVSROOT/cfg_local.pm (1.10):

Allow commits on carrick's new jails.

2007-07-28 Saturday 12:41 committed by tdb

CVSROOT/ciabot_cvs.pl (1.4):

Force commit to test this new version of the script works.

2007-07-28 Saturday 12:40 committed by tdb

CVSROOT/ciabot_cvs.pl (1.3):

Update ciabot_cvs.pl script to version 2.4.

2006-01-23 Monday 14:43 committed by tdb

CVSROOT/modules (1.10):

Add pjob module.
Sort modules list.

2004-04-01 Thursday 22:02 committed by tdb

CVSROOT/loginfo (1.7):

Activate logging of commits to cia.navi.cx.

2004-04-01 Thursday 21:45 committed by tdb

CVSROOT/ciabot_cvs.pl (1.2),
CVSROOT/loginfo (1.6):

Return the ciabot script to the vanilla script and use it's command line
options to configure it. This will make updating it easier in the future.

I still have a few issues with the way in which it works, but I don't think
it's worth the effort to try and combine this with any of the existing
scripts.

Ultimately this serves a similar purpose to the cvsrss script - it sends
commit information on to cia.navi.cx which in turn provides it as an RSS
feed. For now, though, I'll stick with providing our own RSS feed as I
suspect it'll prove to be more reliable. Maybe this will change in time.

(Our RSS feed also provides slightly more information)

2004-03-31 Wednesday 22:15 committed by tdb

CVSROOT/avail (1.6):

Re-open repository after moves.

2004-03-31 Wednesday 21:54 committed by tdb

CVSROOT/avail (1.5),
CVSROOT/cfg_local.pm (1.9),
CVSROOT/modules (1.9):

Update CVSROOT to deal with new modules and locations.

2004-03-31 Wednesday 12:50 committed by tdb

CVSROOT/avail (1.4):

Lock down the CVS repository whilst I shuffle things about.

2004-03-29 Monday 17:52 committed by tdb

CVSROOT/checkoutlist (1.8),
CVSROOT/ciabot_cvs.pl (1.1),
CVSROOT/loginfo (1.5):

Try out this CIA bot. It's only mailing me, for now.

2004-02-15 Sunday 21:34 committed by tdb

CVSROOT/commitcheck (1.4):

Attempt to fix that annoying (but harmless) error message that appears
with every commit :-)

2004-02-13 Friday 16:13 committed by tdb

CVSROOT/cvsrss.pl (1.6):

Correct escaping of message.

2003-10-11 Saturday 16:36 committed by tdb

CVSROOT/cvsrss.pl (1.5):

Make sure cvs can always be found.

2003-10-11 Saturday 16:26 committed by tdb

CVSROOT/commitinfo (1.3),
CVSROOT/cvsrss.pl (1.4),
CVSROOT/loginfo (1.4):

A large change to cvsrss.pl. This was to achieve one thing, really - single
commit messages when a commit spans multiple directories. The problem was
due to the way cvs works with loginfo - it runs the scripts once for each
directory a commit is taking place in. By hooking in to commitinfo too we
can work out what the last item is and then only update the RSS file when
we reach the last item. This requires keeping temporary files in /tmp.

Most of the code to do this already existed in our CVSROOT after I borrowed
it originally from the FreeBSD project. I decided to duplicate it rather
than merge cvsrss with the existing stuff because I'd really like cvsrss
to be a standalone script. I suppose extracting to a common library might
be the way to go, one day.

Expect some bugs - I've tested as best I can, but you know how these things
only really get tested in production ;)

2003-10-10 Friday 12:11 committed by tdb

CVSROOT/cvswrappers (1.5):

Add png to the list of files to be checked in as binaries.

2003-10-02 Thursday 19:32 committed by tdb

CVSROOT/cvsrss.pl (1.3):

Some basic checks to remove the lines looking like this:

Update of /cvs/i-scream/cms/source/libstatgrab/docs
In directory carrick.bishnet.net:/tmp/cvs-serv32427

In the commit message.

2003-09-28 Sunday 19:14 committed by tdb

CVSROOT/cvsrss.pl (1.2):

Must remember to check for RSS file not existing.

2003-09-28 Sunday 19:10 committed by tdb

CVSROOT/checkoutlist (1.7),
CVSROOT/cvsrss.pl (1.1),
CVSROOT/loginfo (1.3):

Add cvsrss.pl which will generate an RSS feed of commits to the i-scream
CVS repository.

2003-08-27 Wednesday 22:28 committed by tdb

CVSROOT/users (1.6):

Add Adam to cvs users file.

2003-08-21 Thursday 14:55 committed by tdb

CVSROOT/cfg_local.pm (1.8):

Make the max diff sizes more reasonable.

2003-05-13 Tuesday 19:44 committed by tdb

CVSROOT/avail (1.3):

Open up the CVS repository to the masses of people queuing at the door to
commit their latest changes to the wonderful system that is i-scream. Ok,
well, Pete - you can commit stuff again now... erm, if you noticed you
couldn't do so before ;)

2003-05-13 Tuesday 16:25 committed by tdb

CVSROOT/config (1.5):

Ensure RereadLogAfterVerify is set to always, rather than relying
on it being that by default.

2003-05-13 Tuesday 16:24 committed by tdb

CVSROOT/commitcheck (1.3):

Unroll a change made some time back to run this on the old server. We can
now make use of the hostname() function.

2003-05-12 Monday 22:44 committed by tdb

CVSROOT/cfg_local.pm (1.7):

Ensure commits are only allowed to happen on carrick... not the old cvs
repository or any mirrors.

2003-05-12 Monday 22:38 committed by tdb

CVSROOT/log_accum.pl (1.3):

Don't need to work out our login - it's already defined elsewhere.

2003-05-12 Monday 22:19 committed by tdb

CVSROOT/cfg_local.pm (1.6),
CVSROOT/log_accum.pl (1.2),
CVSROOT/users (1.5):

Change i-scream.org.uk to i-scream.org - for new server.
Also modify commit mail sending so from address is set to login@domain,
where login is derived from the user running the commit, and domain is
given in the configuration.

2003-05-12 Monday 19:37 committed by tdb

CVSROOT/avail (1.2):

Lock CVS repository in preparation for move.

2003-03-31 Monday 16:52 committed by tdb

CVSROOT/modules (1.8):

idar should have been cms_idar.

2003-03-29 Saturday 16:30 committed by tdb

CVSROOT/modules (1.7):

libukcprog is now a seperate package. I doubt this will be much use to
anyone other than us, but I see no reason why we can't package it up
and distribute it. Obviously we can't attach the GPL to this, as we
don't own it.

2003-03-28 Friday 16:30 committed by tdb

CVSROOT/modules (1.6):

Removed some un-used code from CVS. We can always resurrect this later if
someone feels they want to work on it. Gone are the old perl ihost which
isn't needed now, winhost which is broken and shows no sign of being fixed,
and DBReporter. If someone wants to revive them, I'll undelete them :-)

2003-03-28 Friday 15:45 committed by tdb

CVSROOT/modules (1.5):

Added module for idar.

2003-03-07 Friday 15:37 committed by tdb

CVSROOT/cfg_local.pm (1.5):

Turn on diffs of up to 4k in the per-commit e-mails.

2003-03-05 Wednesday 14:58 committed by tdb

CVSROOT/cfg_local.pm (1.4):

An empty commit to test the e-mail thing works. (I used ssmtp in the end
which is just a lightweight sendmail replacement for passing mail on to
mail hubs).

2003-03-05 Wednesday 14:50 committed by tdb

CVSROOT/cfg_local.pm (1.3):

Sendmail is in the default location.

2003-03-05 Wednesday 13:46 committed by tdb

CVSROOT/cfg_local.pm (1.2):

This turns on e-mailing of every commit individually as it happens. They
are sent to the list cvs-all@i-scream.org.uk, which only I am signed up to
at the moment because it might be a bit spammy.

2003-03-04 Tuesday 14:26 committed by tdb

CVSROOT/tagcheck (1.2):

My login is tdb, not tim ;)

2003-02-18 Tuesday 18:38 committed by tdb

CVSROOT/modules (1.4):

Add libstatgrab module. Doesn't have a cms_ prefix because it's not
directly a module of the cms, just something it uses.

2003-02-10 Monday 00:13 committed by tdb

CVSROOT/modules (1.3):

Define a useful set of modules.

2003-02-09 Sunday 19:37 committed by tdb

CVSROOT/modules (1.2):

Added "world" module, and a shortcut for ihost.

2003-02-09 Sunday 18:58 committed by tdb

CVSROOT/checkoutlist (1.6):

Add readers to checkoutlist.

2003-02-09 Sunday 18:56 committed by tdb

CVSROOT/readers (1.1):

Add readers file to CVSROOT, it should have been there a while ago.

2003-02-09 Sunday 18:32 committed by tdb

CVSROOT/commitcheck (1.2):

The perl hostname function doesn't work in this chroot. Another thing to
fix if/when I can tidy up the whole cvs thing ;)

2003-02-09 Sunday 17:50 committed by tdb

CVSROOT/config (1.4):

This option doesn't work with older CVS binaries. Due to the increasingly
akward CVS setup on cvs.i-scream.org.uk we're running an older cvs for
pserver accees, and the newer one over ssh. This option causes the pserver
one to barf. Fortunately, a quick check at the cvs source shows this option
is definately on by default, so we should be ok commenting it out.

2003-02-06 Thursday 08:36 committed by tdb

CVSROOT/notify (1.3):

Allow CVS to do mail notifications again (mailx doesn't work on this box).

2002-03-08 Friday 09:51 committed by tdb

CVSROOT/users (1.4):

Added Pete to this list. Makes the CVS output list his e-mail address :)

2001-12-09 Sunday 02:47 committed by tdb

CVSROOT/users (1.3):

Changed logins appropriately.

2001-06-06 Wednesday 16:29 committed by tdb

CVSROOT/users (1.2):

Updated e-mail addresses.

2001-06-06 Wednesday 16:28 committed by tdb

CVSROOT/checkoutlist (1.4):

No longer user cvsweb.

2001-06-06 Wednesday 16:28 committed by tdb

CVSROOT/config (1.2):

For security we keep the locks elsewhere.

experimental module

2003-11-09 Sunday 22:20 committed by ajm

experimental/xmlrpctest/xmlrpcserver.py (1.2):

more 2.3 style booleans

2003-11-09 Sunday 21:02 committed by ajm

experimental/xmlrpctest/xmlrpcclient.py (1.1),
experimental/xmlrpctest/xmlrpcserver.py (1.1):

initial checkin of some play code

2002-03-13 Wednesday 20:50 committed by tdb

experimental/reports/graphing/browser2.php (1.3),
experimental/reports/graphing/graph.pl (1.7),
experimental/reports/graphing/watch.pl (1.6):

Added a graph of "the last year". Also fixed a minor bug with the script to
create the rrd's. As an aside, I've noticed the grid on the graphs seems to
differ between the different graphs. I'm sure this is because I've got some
of my numbers a bit silly ;) oh well :)

2002-03-11 Monday 17:06 committed by tdb

experimental/reports/graphing/graph.pl (1.6):

Fixed the memory/swap issue. Now displays "in use" rather than free. Also
tweaked the algorithm used to make the consolidated graphs - it now does
averaging rather than just taking the maximum value over the period. This
was done because some of the graphs gave unbelievable results - cpu graphs
with a total of well over 100% looks silly ;)
Finally, ruled out being able to set the maximum for disk/mem/swap graphs
from a dynamic value. The only possibly solution would be for watch.pl to
dump out the current maximums to a file, which this could then read and
make use of (external to the RRD stuff - which would have been best). This
would, in my opinion, be silly as it would generate an awful lot more I/O
operations than is actually required.

2002-03-11 Monday 00:25 committed by tdb

experimental/reports/graphing/graph.pl (1.5):

Fixed the limits of the graphs a bit better (I hope). Also made some tweaks
to the colours and layout of the graphs. They're now "blue" which fits with
the i-scream look-n-feel... but do they look ok?

2002-03-10 Sunday 23:47 committed by tdb

experimental/reports/graphing/browser2.php (1.2),
experimental/reports/graphing/browser2_config.inc.php (1.2):

Represent the "types" with nicer names now. Also put bits into the config.

2002-03-10 Sunday 16:40 committed by tdb

experimental/reports/graphing/browser2.php (1.1),
experimental/reports/graphing/browser2_config.inc.php (1.1),
experimental/reports/graphing/graph.pl (1.4):

Some initial, but working, pages to fit into the i-scream reports center.
Still need work, like the drop down "type" box doesn't display disks or
queues that nicely. Maybe brings back the argument for meta-deta about each
graph in a file (like the queue's .def files maybe).

2002-03-10 Sunday 15:42 committed by tdb

experimental/reports/graphing/watch.pl (1.5):

Fix for when data values aren't defined in the XML packet. This only seems
to happen if the ihost-plugin isn't sending the right data... ;)

2002-03-10 Sunday 13:28 committed by tdb

experimental/reports/graphing/watch.pl (1.4):

Glaring bug in the queue monitoring. The total needs to be a COUNTER not a
GAUGE. The result was a rather impressive diagonal line ;)

2002-03-10 Sunday 03:19 committed by tdb

experimental/reports/graphing/graph.pl (1.3):

Another bugfix, which is actually a bit irritating. Oh well :) At least
queue's with more than one internal queue should now work.

2002-03-10 Sunday 03:07 committed by tdb

experimental/reports/graphing/graph.pl (1.2):

Minor bug fixes.

2002-03-10 Sunday 01:43 committed by tdb

experimental/reports/graphing/watch.pl (1.3):

I was going to leave this till later, but I've done it anyway. This is now
pretty much complete. Still a few things to consider, like cleaning up on a
restart, but it's pretty much finished now.

2002-03-10 Sunday 00:26 committed by tdb

experimental/reports/graphing/watch.pl (1.2):

Rewritten most of the processing part. Now uses subroutines to avoid a lot
of unnecessary code duplication. Much tidier, and easier to follow. Maybe
this, and graph.pl, would benefit from an external configuration? maybe...
Still need to tidy the connection handling part, it could bail out without
much notice. It would be better if it kept retrying - ihost style ;)

2002-03-09 Saturday 19:53 committed by tdb

experimental/reports/graphing/README (1.1),
experimental/reports/graphing/graph.pl (1.1),
experimental/reports/graphing/index.php (1.1),
experimental/reports/graphing/iutils.inc.php (1.1),
experimental/reports/graphing/rrdtool.gif (1.1),
experimental/reports/graphing/watch.pl (1.1),
experimental/reports/graphing/iscream/XMLParser.pm (1.1):

Graphing of most of the i-scream data. This is intended as an alternative
to the current MySQL/DBReporter style of daily graph generation.
This is split into two sections:
watch.pl connects to the i-scream client interface, parses all the data
and stores it in rrdtool database files. This is still very incomplete and
somewhat messy code :)
graph.pl generates graphs from the rrdtool database files created by the
previous script. It drops these images into a directory structure for
viewing over the web.
The php pages provide an easy way to view these graphs during development,
but it is expected in the long term to integrate this into the i-scream
reports pages.
Finally XMLParser.pm is a wrapper to the XML parsing to create i-scream
style XMLPacket hashes :)

2002-01-08 Tuesday 13:31 committed by tdb

experimental/server/ACL/ACL.java (1.12),
experimental/server/ACL/ACLTest.java (1.7):

Some final tidying to the ACL code. The IP address checking has been moved
out of the add method to a more suitable location. The code now seems to be
more readable. This should be the last 'feature' that needs doing.

2002-01-06 Sunday 23:32 committed by tdb

experimental/server/ACL/ACL.java (1.11):

Minor tweak to the short[] comparing code. By ensuring the wildcarded array
is the first one, we can perform less checks :-) As this is just in a local context,
the tighter coupling to the rest of the code is probably ok.
One more change to be made in the String to short[] method -- it needs to do
some more rigourous tests, and possibly return an error if the String cannot be
parsed into an IP address. At the moment it assumes the add method has
already done this. This could also make the add method neater as it would
not need to do as many checks, and would therefore look neater.

2002-01-06 Sunday 17:53 committed by tdb

experimental/server/ACL/ACLDatagramSocket.java (1.2):

Revision CVS tag broken.

2001-12-31 Monday 19:25 committed by tdb

experimental/server/ACL/ACL.java (1.10):

Opps. Lost a bracket. Right, it's time to go out for New Year :-) In fact, this
commit log will be mailed at about 1 minute into 2002 ;-)

2001-12-31 Monday 19:19 committed by tdb

experimental/server/ACL/ACL.java (1.9):

Some tidying up. Removed debugging code. Added required comments.

2001-12-31 Monday 02:57 committed by tdb

experimental/server/ACL/ACL.java (1.8),
experimental/server/ACL/ACLDatagramSocket.java (1.1),
experimental/server/ACL/ACLServerSocket.java (1.3),
experimental/server/ACL/ACLTest.java (1.6):

Added an ACLDatagramSocket. Operation is much the same as the
ACLServerSocket. Also tweaked the toString() to keep the i-scream bits as
well as the more useful stuff.

2001-12-31 Monday 01:49 committed by tdb

experimental/server/ACL/ACL.java (1.7),
experimental/server/ACL/ACLTest.java (1.5):

Some significant internal changes. It should be noted that this code is still in
the debugging stage, and thus contains lots of println's :-)
The most obvious change is that when adding a rule we try to determine if it's
and IP address given as the expression. If it is, we store this in a short[] in the
ACLRule inner class. Then when performing a check we look to see if it's an
IP address rule, and then do a special check for IP addresses - which is much
more efficient than comparing two strings. We have also halved the checks
done by only comparing a rule to either the name or IP, rather than both.

2001-12-24 Monday 04:17 committed by tdb

experimental/server/ACL/ACL.java (1.6):

Creating a toString() for ACLRule, and modified the ACL toString() to make
use of this. It's a bit neater I think.

2001-12-23 Sunday 01:05 committed by tdb

experimental/server/ACL/ACL.java (1.5),
experimental/server/ACL/ACLTest.java (1.4):

The getACLString() method has been changed to a toString() method, and the
i-scream style toString() has been dropped. The functionality of toString() now
more closely resembles the Java Map's in layout.

2001-12-23 Sunday 00:29 committed by tdb

experimental/server/ACL/ACL.java (1.4),
experimental/server/ACL/ACLTest.java (1.3):

Added serialization support to the ACL class. Also added testing of this feature
to the ACLTest class, which confirms it works nicely :-)

2001-12-21 Friday 16:49 committed by tdb

experimental/server/ACL/ACL.java (1.3):

Changed the LinkedList/Iterator to an ArrayList.get(n) solution. According to
Paul's research this should run at least 4 times as fast as the LinkedList in the
iterating stage. (and twice as quick as an ArrayList/Iterator solution!). Using a
plain array could make this go twice as fast again, but it's a lot more work :-)

2001-12-20 Thursday 00:59 committed by tdb

experimental/server/ACL/ACL.java (1.2),
experimental/server/ACL/ACLServerSocket.java (1.2),
experimental/server/ACL/ACLTest.java (1.2):

Fully commented, and further testing in the Socket environment. Probably
ready to integrate into the main source tree under the server util package.

2001-12-19 Wednesday 23:43 committed by tdb

experimental/server/ACL/ACL.java (1.1),
experimental/server/ACL/ACLServerSocket.java (1.1),
experimental/server/ACL/ACLTest.java (1.1):

Initial checkin of ACL code for i-scream server. At present it should allow for
ServerSocket's to be wrapped up with an access control list. Very simple to
use, will javadoc sometime soon. Essentially construct a ACLServerSocket
instead of a ServerSocket, then set an ACL (defaults to open ACL). Then it
can be used as a ServerSocket due to inheritance, and will only return from
the allow() method if the connecting Socket is permitted by the ACL.

2001-10-22 Monday 23:21 committed by tdb

experimental/reports/queuegraphing/TODO (1.3),
experimental/reports/queuegraphing/watch.pl (1.4):

Now keeps an eye out for shutdown packets... not that I've seen one ;) Just
looking at the QueueMonitor code suggests it could happen.... so it's taken
care of. The ordering of checks is not ideal... that needs to be looked at.

2001-10-21 Sunday 20:01 committed by tdb

experimental/reports/queuegraphing/watch.pl (1.3):

It's only worth cleaning the png files if there are no other rrds left.
In the case that there are some left, the graphs may be incorrect for a
short while until graph.pl is run, but this seems better than having no
graphs at all... which would break the php page.

2001-10-21 Sunday 19:57 committed by tdb

experimental/reports/queuegraphing/TODO (1.2),
experimental/reports/queuegraphing/watch.pl (1.2):

Now cable to detect when queue's have been deleted. Still need to watch out
for a Queue being shutdown though. When a queue is deleted it's rrd is
removed, and it's def file cleaned up if there are no other rrds associated
with the Queue. All the png images are cleaned up, as they will be remade
later on.

2001-10-21 Sunday 17:52 committed by tdb

experimental/reports/queuegraphing/README (1.1),
experimental/reports/queuegraphing/TODO (1.1),
experimental/reports/queuegraphing/graph.pl (1.1),
experimental/reports/queuegraphing/index.php (1.1),
experimental/reports/queuegraphing/iutils.inc.php (1.1),
experimental/reports/queuegraphing/rrdtool.gif (1.1),
experimental/reports/queuegraphing/watch.pl (1.1),
experimental/reports/queuegraphing/iscream/XMLParser.pm (1.1):

An experimental go at using rrdtool to graph i-scream data. Graphing the
Queue's seem like a good idea, as this wasn't done anywhere else. The
README file gives details on how this works.

2001-05-06 Sunday 20:01 committed by ajm

experimental/agents/AgentClassLoader.java (1.1),
experimental/agents/AgentStation.java (1.3),
experimental/agents/BasicAgent.java (1.3),
experimental/agents/PeerHandler.java (1.2):

Now has some VERY crude byte code passing mechanisms in place.

Currently it does it a very silly and non standard way, this will change.  But hey, it works ;p

2001-05-04 Friday 20:03 committed by ajm

experimental/agents/template/TemplateClass.java (1.1):

slight modifications to the general areas of the standard template to clearly define where protected and static final items should appear.

Also modified to be specific for the Agents system.

2001-05-04 Friday 03:04 committed by ajm

experimental/agents/Agent.java (1.2),
experimental/agents/AgentStation.java (1.2),
experimental/agents/AgentSystem.java (1.1),
experimental/agents/BasicAgent.java (1.2),
experimental/agents/DirectAgentHandler.java (1.1),
experimental/agents/DirectAgentHandlerFactory.java (1.1),
experimental/agents/FormatName.java (1.1),
experimental/agents/Handler.java (1.1),
experimental/agents/HandlerFactory.java (1.1),
experimental/agents/Listener.java (1.1),
experimental/agents/Logger.java (1.1),
experimental/agents/LoggerImpl.java (1.1),
experimental/agents/PeerHandler.java (1.1),
experimental/agents/PeerHandlerFactory.java (1.1),
experimental/agents/ScreenLogger.java (1.1),
experimental/agents/Station.java (1.2):

Loads of new framework but far from complete.

The BasicAgent class is as it says, a basic agent, with ability to be run from the command line to fire it into an agentstation.

AgentStations now have support for adding and removing agents and support for multiple listeners.  Also initial support for peer agent stations.  Attempted support at peer -> peer agent transfer, but run into problems.

Still no bytecode transfer, but location and method has been figured out.

The AgentSystem class is now the bootstrap class for an agent station.  It brings up the AgentStation (which is now singleton) and the Logger (also singleton - using standard i-scream logging techniques).  It is possible to specify a peer station that the booting agent station should connect to.

Initial TODO:

	agent class loader
	agent bytecode transfer
	solve peer -> peer problems - possibly by creating extra socket to send agent, but shouldn't really be needed

2001-04-23 Monday 20:45 committed by ajm

experimental/agents/Agent.java (1.1),
experimental/agents/AgentStation.java (1.1),
experimental/agents/BasicAgent.java (1.1),
experimental/agents/Station.java (1.1),
experimental/agents/java.policy (1.1):

Sketchy ideas for starting the "agents" project.

misc module

2005-07-18 Monday 15:14 committed by tdb

misc/scripts/shell/build.sh (1.16):

Use ukc tweak to aclocal.

2005-04-04 Monday 00:43 committed by tdb

misc/scripts/shell/cvslog.sh (1.12):

Fix more quoting problems with new cvs2cl.

2005-02-10 Thursday 17:57 committed by tdb

misc/scripts/shell/build.sh (1.15):

Fix broken eval. Failed if no libraries found.

2004-07-22 Thursday 13:52 committed by tdb

misc/ports/idar/Makefile (1.5),
misc/ports/ihost/Makefile (1.7):

Change mirror from mirror.ac.uk to mirrorservice.org.

2004-05-31 Monday 14:58 committed by tdb

misc/ports/ihost/Makefile (1.6),
misc/ports/ihost/distinfo (1.5),
misc/ports/ihost/pkg-descr (1.3):

Update to 1.5.8.

2004-03-31 Wednesday 22:15 committed by tdb

misc/scripts/shell/build.sh (1.14):

Various updates due to repository reorganisation.

2004-03-22 Monday 01:02 committed by tdb

misc/scripts/shell/build.sh (1.13):

Correct full list of packages.

2004-03-21 Sunday 19:20 committed by tdb

misc/scripts/shell/build.sh (1.12):

Move CMS lib directory.

2004-03-20 Saturday 22:56 committed by tdb

misc/scripts/shell/build.sh (1.11):

Always do cvs2cl.
pystatgrab installs in own dir.

2004-03-20 Saturday 20:08 committed by tdb

misc/scripts/shell/build.sh (1.10):

Add function for building python distutils packages.
Add pystatgrab.
Minor fixes.

2004-02-10 Tuesday 20:28 committed by tdb

misc/scripts/shell/build.sh (1.9):

Be more verbose with cvsup of repo.

2004-02-08 Sunday 20:13 committed by tdb

misc/ports/idar/Makefile (1.4),
misc/ports/idar/distinfo (1.3),
misc/ports/idar/pkg-plist (1.2),
misc/ports/ihost/Makefile (1.5),
misc/ports/ihost/distinfo (1.4),
misc/ports/ihost/pkg-plist (1.2):

Update the ihost/idar ports. Once we get a new i-scream underway I'll make
ports for that and then get the whole lot committed into FreeBSD :-)

2003-09-27 Saturday 18:21 committed by tdb

misc/scripts/shell/cvslog.sh (1.10):

Update scripts that use cvs2cl. Now using cvs2cl 2.49, still with some
custom patches (but less than before). Diff included here.

--- cvs2cl.bak	Sat Sep 27 16:57:59 2003
+++ cvs2cl	Sat Sep 27 17:10:55 2003
@@ -1036,7 +1036,8 @@
           elsif ($No_Wrap && !$Summary)
           {
             $msg = &preprocess_msg_text ($msg);
-            $files = wrap ("\t", "\t", "* $files");
+# tdb: no-wrap shouldn't wrap ANYTHING!
+            #$files = wrap ("\t", "\t", "* $files");
             $msg =~ s/\n(.+)/\n\t$1/g;
             unless ($After_Header eq " ") {
               $msg =~ s/^(.+)/\t$1/g;
@@ -1328,7 +1329,8 @@
   # there are multiple qunks in the first place!
   if ((scalar (@qunkrefs)) > 1) {
     foreach my $tag (keys (%non_unanimous_tags)) {
-      my $everyone_has_this_tag = 1;
+# tdb: we don't want to have unanimous tags
+      my $everyone_has_this_tag = 0;
       foreach my $qunkref (@qunkrefs) {
         if ((! (defined ($$qunkref{'tags'})))
             or (! (grep ($_ eq $tag, @{$$qunkref{'tags'}})))) {
@@ -1521,7 +1523,8 @@

     unless ( exists $fileinfo_printed{$b} ) {
       if ($fbegun) {
-        $beauty .= ", ";
+# tdb: hacked to put a newline after each one
+        $beauty .= ",\n";
       } else {
         $fbegun = 1;
       }

2003-05-25 Sunday 16:03 committed by tdb

misc/ports/idar/Makefile (1.3),
misc/ports/idar/pkg-descr (1.2),
misc/ports/ihost/Makefile (1.4),
misc/ports/ihost/pkg-descr (1.2):

Change i-scream.org.uk to i-scream.org.

2003-04-11 Friday 23:18 committed by tdb

misc/ports/idar/Makefile (1.2),
misc/ports/idar/distinfo (1.2),
misc/ports/ihost/distinfo (1.3):

Updated idar to 1.1. Both ihost and libstatgrab distributions were rebuilt
the other day because I got them wrong the first times... so their checksum
files are updated accordingly here.

2003-04-10 Thursday 13:47 committed by tdb

misc/scripts/shell/build.sh (1.8):

More updates to the build script.

2003-04-09 Wednesday 22:34 committed by tdb

misc/ports/ihost/Makefile (1.3),
misc/ports/ihost/distinfo (1.2):

Updated to latest versions of libstatgrab and ihost - with FreeBSD support!

2003-04-02 Wednesday 20:43 committed by tdb

misc/ports/idar/Makefile (1.1),
misc/ports/idar/distinfo (1.1),
misc/ports/idar/pkg-descr (1.1),
misc/ports/idar/pkg-plist (1.1),
misc/ports/ihost/Makefile (1.2):

Update to the ports. idar added, and other's updated.

2003-03-30 Sunday 21:07 committed by tdb

misc/ports/README (1.1),
misc/ports/ihost/Makefile (1.1),
misc/ports/ihost/distinfo (1.1),
misc/ports/ihost/pkg-descr (1.1),
misc/ports/ihost/pkg-plist (1.1):

Some ports of ihost and it's dependencies. Neither ihost nor libstatgrab
actually work, because they don't compile on FreeBSD, but libukcprog does.

2003-03-29 Saturday 19:28 committed by tdb

misc/scripts/shell/build.sh (1.7):

Updated build script for idar.

2003-03-29 Saturday 16:30 committed by tdb

misc/scripts/shell/build.sh (1.6):

libukcprog is now a seperate package. I doubt this will be much use to
anyone other than us, but I see no reason why we can't package it up
and distribute it. Obviously we can't attach the GPL to this, as we
don't own it.

2003-03-28 Friday 20:06 committed by tdb

misc/scripts/shell/build.sh (1.5):

Catch up with earlier tidy-ups.

2003-03-12 Wednesday 09:56 committed by tdb

misc/scripts/shell/build.sh (1.4):

Removed debugging echo :-)

2003-03-12 Wednesday 09:52 committed by tdb

misc/scripts/README (1.3):

Update README.

2003-03-12 Wednesday 09:51 committed by tdb

misc/scripts/shell/README (1.4),
misc/scripts/shell/build.sh (1.3),
misc/scripts/shell/builds.sh (1.3),
misc/scripts/shell/javadoc.sh (1.3),
misc/scripts/shell/nightly.sh (1.2):

Update build script to be much more modern. And tidy up some old scripts.

2003-03-10 Monday 19:44 committed by tdb

misc/scripts/shell/build.sh (1.2):

Updated to do libstatgrab.

2003-02-16 Sunday 18:53 committed by tdb

misc/scripts/shell/build.sh (1.1):

Build script for the new dists. This is being used to generate the
snapshot builds.

2002-05-10 Friday 18:44 committed by tdb

misc/scripts/cgi/taillog.cgi (1.5):

The regex for the grep part didn't work.

2002-02-09 Saturday 13:10 committed by tdb

misc/scripts/shell/cvslog.sh (1.9):

Hopefully a fix for the layout problems we've been seeing the the nightly
commit log e-mails.

2002-02-05 Tuesday 14:04 committed by tdb

misc/scripts/shell/cvslog.sh (1.8):

Hide the errors from the fullcvsupdate script. Maybe I should fix that
script instead? :)

2002-02-04 Monday 00:43 committed by tdb

misc/scripts/shell/cvslog.sh (1.7):

It seems showing branches isn't actually working.

2002-01-08 Tuesday 17:39 committed by tdb

misc/scripts/shell/change_cvs_author.pl (1.2):

Glaring bug. When looking for . and .. it's a good idea to escape the . in
the regexp :)

2001-12-09 Sunday 02:33 committed by tdb

misc/scripts/shell/change_cvs_author.pl (1.1):

Script to change an author's login in the CVS repository. I'm just about to
use it to change all occurances of "tdb1" to "tdb". It's written in perl
and seems to be fairly sound. Tested on a small selection of files,
including binary... with no problems.

2001-12-09 Sunday 01:29 committed by tdb

misc/scripts/shell/cvsbackup.sh (1.1):

Script used to generate tarfiles of the cvs repository (for backing up).

2001-11-05 Monday 19:25 committed by tdb

misc/scripts/cgi/taillog.cgi (1.4):

Fixed a nicely exploitable cgi :) It was possible to specify something in
the grep field like "word; cmd" and have `cmd` executed. Now should check
for a single word with 'normal' characters in it.

2001-10-21 Sunday 18:54 committed by tdb

misc/scripts/shell/fullcvsupdate.sh (1.2):

Rather dodgy command to run... but it will cleanup after the fullcvsupdate
has made a lovely mess in /tmp :)

2001-10-15 Monday 17:29 committed by tdb

misc/mailinfo/mailinfo.pl (1.6):

Small bug that prevented the -q (quick) mode from working.

2001-07-31 Tuesday 15:49 committed by tdb

misc/mailinfo/README (1.1),
misc/mailinfo/mailinfo.pl (1.5):

Added a README, and fixed up a few minor things.

2001-07-19 Thursday 17:45 committed by tdb

misc/mailinfo/mailinfo.pl (1.4):

Bit more tidying up.

2001-07-19 Thursday 15:28 committed by tdb

misc/mailinfo/mailinfo.pl (1.3):

Made the output more like the UKC mailinfo binary.

2001-07-19 Thursday 13:19 committed by tdb

misc/mailinfo/mailinfo.pl (1.2):

Added support for multiple "names".

2001-07-19 Thursday 12:11 committed by tdb

misc/mailinfo/mailinfo.pl (1.1):

A Perl version of the UKC mailinfo client.

2001-06-30 Saturday 19:10 committed by tdb

misc/scripts/shell/README (1.3):

Added the newer scripts.

2001-06-30 Saturday 18:48 committed by tdb

misc/scripts/shell/websitecvsup.sh (1.1):

Script to update the website using cvsup. If a file named STOP.UPDATES is
created in the root of the website the update will be skipped. This is
handy if you want to change a file for live testing without committing it.

2001-06-19 Tuesday 00:33 committed by tdb

misc/scripts/shell/cvslog.sh (1.6):

Just a few minor fixes and cosmetic changes.

2001-06-18 Monday 16:07 committed by tdb

misc/scripts/shell/cvsstat.sh (1.2):

The source module is gone, so now we do the whole cms module (source and docs).

2001-06-18 Monday 16:07 committed by tdb

misc/scripts/shell/cvslog.sh (1.5):

Now adds a link to the web-based cvslog. The web one is more fully featured, and
has quick links to the relevant files in viewcvs.

2001-06-18 Monday 16:04 committed by tdb

misc/scripts/README (1.2),
misc/scripts/shell/README (1.2),
misc/scripts/shell/builds-send-ftp.sh (1.5),
misc/scripts/shell/cvswww-send-ftp.sh (1.2):

We no longer need these scripts as everything is done on one machine.

2001-06-13 Wednesday 17:04 committed by tdb

misc/scripts/shell/cvsstat.sh (1.1):

Essentially a wrapper to cvsstat.pl

2001-06-13 Wednesday 17:03 committed by tdb

misc/scripts/shell/fullcvsupdate.sh (1.1):

This script performs a full cvs update on the given modules, and will even check
them out if necessary. This whole process is required because of old certain cvs
commands that still required a checked out copy (namely log).

2001-06-13 Wednesday 17:02 committed by tdb

misc/scripts/shell/cvslog.sh (1.4):

Now have a commits mailing list which we should be using for this sort of thing.

2001-06-06 Wednesday 16:04 committed by tdb

misc/scripts/shell/cvslog.sh (1.3):

Didn't know where sendmail was :)

2001-06-06 Wednesday 14:59 committed by tdb

misc/scripts/shell/cvslog.sh (1.2):

Updated to suit the setup on the new server.
Also now uses the more universal sendmail, rather than the seemingly raptor-only
mailx command :)

2001-05-25 Friday 18:42 committed by tdb

misc/scripts/shell/builds-send-ftp.sh (1.4):

Mistake in the last commit. Now correct.

2001-05-25 Friday 18:37 committed by tdb

misc/scripts/shell/builds-send-ftp.sh (1.3):

Downloads now have a new location on the server.

2001-05-13 Sunday 01:01 committed by tdb

misc/scripts/cgi/log.cgi (1.2),
misc/scripts/cgi/taillog.cgi (1.3):

We'd lost a closing curly bracket. Pure chance I spotted it ;)

projects module

2011-11-11 Friday 16:34 committed by tdb

projects/libstatgrab/configure.in (1.104):

Add support for FreeBSD 10.

2011-10-16 Sunday 20:21 committed by tdb

projects/libstatgrab/docs/saidar/saidar.xml (1.4):

Fix typo.

2010-06-09 Wednesday 16:16 committed by tdb

projects/libstatgrab/configure.in (1.102):

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)

2010-06-09 Wednesday 15:44 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.81):

Fix link speed on FreeBSD (and others?). Rather than using our own mask
make use of the system macro to do it for us. Test on FreeBSD, but a look
at if_media.h on the other BSDs suggests it'll work there too.

2010-02-21 Sunday 10:05 committed by tdb

projects/libstatgrab/NEWS (1.48, LIBSTATGRAB_0_17):

Add FreeBSD memory fix and correctly attribute other changes.

2010-02-21 Sunday 10:04 committed by tdb

projects/libstatgrab/src/libstatgrab/memory_stats.c (1.36, LIBSTATGRAB_0_17):

Support larger amounts of memory on FreeBSD.

2010-02-20 Saturday 18:55 committed by tdb

projects/libstatgrab/configure.in (1.101):

Post release version increment.

2010-02-20 Saturday 18:17 committed by tdb

projects/libstatgrab/NEWS (1.47),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.35, LIBSTATGRAB_0_17):

Bump library version and NEWS for next release.

2010-02-20 Saturday 18:15 committed by tdb

projects/libstatgrab/configure.in (1.100, LIBSTATGRAB_0_17):

Support FreeBSD 9.

2010-02-20 Saturday 17:55 committed by tdb

projects/libstatgrab/configure.in (1.99),
projects/libstatgrab/src/libstatgrab/user_stats.c (1.29, LIBSTATGRAB_0_17):

Support utmpx in user_stats as well as utmp.

2009-12-04 Friday 22:09 committed by tdb

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.88, LIBSTATGRAB_0_17):

Make list of valid filesystem types dynamic on FreeBSD. Based on patch
by Baptiste Daroussin.

2009-05-16 Saturday 02:01 committed by tdb

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.87):

FreeBSD has zfs these days.

2009-01-14 Wednesday 15:23 committed by tdb

projects/cms/source/server/uk/org/iscream/cms/server/filter/UDPReader.java (1.28):

Increase max packet size to 32kb.

2009-01-14 Wednesday 15:14 committed by tdb

projects/cms/source/ihost/configure.in (1.35):

Max packet size is in bytes, not kilobytes.

2008-08-03 Sunday 18:43 committed by tdb

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.86):

Add zfs to allowed FSs on Solaris.

2008-06-17 Tuesday 16:52 committed by tdb

projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.28, LIBSTATGRAB_0_17):

Linux version 2.5.41 or later provides iowait data in /proc/stat. Use
it if it's available.

2008-06-16 Monday 22:06 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.21):

Modify the Result class to extend dict. Then overload __getattr__ to still
allow it to be used as if it had attributes. This makes it easier to work
with the data (iteration over values, etc) and maintains compatibility.

2008-05-24 Saturday 23:30 committed by ats

projects/libstatgrab/docs/libstatgrab/Makefile.am (1.2, LIBSTATGRAB_0_17),
projects/libstatgrab/docs/saidar/Makefile.am (1.3, LIBSTATGRAB_0_17),
projects/libstatgrab/docs/statgrab/Makefile.am (1.3, LIBSTATGRAB_0_17):

Avoid a GNU-make-ism in the docs.

2008-05-24 Saturday 22:05 committed by ats

projects/libstatgrab/configure.in (1.98):

Disable autoconf maintainer mode -- it's less broken in modern autoconf,
so it's useful now.

2008-03-17 Monday 08:50 committed by tdb

projects/libstatgrab/configure.in (1.97):

Post release version increment.

2008-03-13 Thursday 11:23 committed by tdb

projects/libstatgrab/NEWS (1.46, LIBSTATGRAB_0_16):

Add NEWS entry for 0.16 release.

2008-03-13 Thursday 10:29 committed by tdb

projects/libstatgrab/src/statgrab/statgrab-make-mrtg-config.in (1.10, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16):

Fix mrtg config generation on machines with no swap.

Patch by: Tom Carlson

2008-02-16 Saturday 16:11 committed by tdb

projects/libstatgrab/configure.in (1.96, LIBSTATGRAB_0_16):

saidar uses fabs which requires libm.

2007-11-06 Tuesday 22:35 committed by tdb

projects/libstatgrab/configure.in (1.95):

Some GNU/Linux builds have a slightly different name, like
linux-gnueabi. See Debian bug Bug#449586 for details.

2007-10-21 Sunday 19:43 committed by tdb

projects/libstatgrab/configure.in (1.94):

FreeBSD's main development line is now at 8.

2007-07-13 Friday 23:26 committed by tdb

projects/pystatgrab/setup.py (1.23):

Post-release version increment.

2007-07-13 Friday 23:26 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.20, PYSTATGRAB_0_5):

Properly import sg_shutdown and sg_snapshot.

2007-07-13 Friday 23:19 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.19),
projects/pystatgrab/setup.py (1.22, PYSTATGRAB_0_5),
projects/pystatgrab/statgrab.py (1.8, PYSTATGRAB_0_5):

Chase two additional functions in libstatgrab 0.13 - sg_snapshot and
sg_shutdown. Both are null operations on non-Windows platforms, but
Python can run on Windows so we should support them. Consequently we
now need at least libstatgrab 0.13.

2007-07-13 Friday 23:18 committed by tdb

projects/pystatgrab/NEWS (1.6, PYSTATGRAB_0_5):

Update for 0.5.

2007-07-13 Friday 21:40 committed by tdb

projects/libstatgrab/configure.in (1.93):

Post-release version increment.

2007-07-13 Friday 21:40 committed by tdb

projects/libstatgrab/src/libstatgrab/Makefile.am (1.34, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15):

Bump library revision for 0.15 release.

2007-07-13 Friday 21:36 committed by tdb

projects/libstatgrab/NEWS (1.45, LIBSTATGRAB_0_15):

Update for 0.15 release.

2007-07-05 Thursday 17:46 committed by tdb

projects/libstatgrab/src/libstatgrab/swap_stats.c (1.25, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15):

Last argument to sysctl is an integer not a pointer. It should be set
to 0 if the preceding argument is NULL.

2007-06-18 Monday 21:58 committed by tdb

projects/libstatgrab/src/libstatgrab/tools.c (1.65, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15):

Update strlcat and strlcpy to latest OpenBSD versions.
Remove last references to strcat and strcpy.

Patch submitted by:	David Love <david@homeunix.org.uk>

2007-06-18 Monday 21:56 committed by tdb

projects/libstatgrab/src/libstatgrab/memory_stats.c (1.35, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15):

Fix memory stats on OpenBSD - they were returning results in the wrong
units.

Patch submitted by:	David Love <david@homeunix.org.uk>

2007-01-06 Saturday 01:01 committed by tdb

projects/libstatgrab/acinclude.m4 (1.3, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14):

Fix bug in curses detection - LIBS was not properly reset.
Also remove to redundant variable declarations.

2007-01-05 Friday 13:35 committed by tdb

projects/libstatgrab/configure.in (1.92, LIBSTATGRAB_0_15):

Post-release version increment.

2007-01-05 Friday 13:34 committed by tdb

projects/libstatgrab/NEWS (1.44, LIBSTATGRAB_0_14):

Add note about saidar bugfix, and set a release date.

2007-01-05 Friday 13:30 committed by tdb

projects/libstatgrab/src/saidar/saidar.c (1.41, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14):

Fix problem with saidar crashing when window is rapidly resized. Done by
moving the code out of the signal handler and in to the main loop, and
just having a global flag set by the signal handler.

2006-12-17 Sunday 01:06 committed by tdb

projects/libstatgrab/src/saidar/saidar.c (1.40):

Hide cursor when possible.

2006-12-01 Friday 14:21 committed by tdb

projects/libstatgrab/NEWS (1.43),
projects/libstatgrab/acinclude.m4 (1.2),
projects/libstatgrab/configure.in (1.91, LIBSTATGRAB_0_14),
projects/libstatgrab/src/saidar/saidar.c (1.39):

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.

2006-12-01 Friday 01:03 committed by tdb

projects/libstatgrab/src/saidar/saidar.c (1.38):

Colour is only supported if ncurses is being used.

2006-12-01 Friday 00:38 committed by tdb

projects/libstatgrab/src/saidar/saidar.c (1.37):

Standout doesn't work on all displays, so use bold too.

2006-12-01 Friday 00:26 committed by tdb

projects/libstatgrab/src/libstatgrab/Makefile.am (1.33, LIBSTATGRAB_0_14):

Bump library version for 0.14.

2006-12-01 Friday 00:06 committed by tdb

projects/libstatgrab/NEWS (1.42):

Provisional NEWS entry.

2006-11-30 Thursday 23:42 committed by tdb

projects/libstatgrab/docs/saidar/saidar.xml (1.3, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14),
projects/libstatgrab/src/saidar/saidar.c (1.36):

Add support for coloured fields in saidar. Optionally enabled by using the
new -c flag. Manpage updated with details.

Mostly taken from a patch supplied by Angelina Carlton <debian@magma.ca>,
but I made minor changes to layout and function.

2006-11-30 Thursday 23:03 committed by tdb

projects/libstatgrab/src/saidar/saidar.c (1.35):

Whitespace cleanup.

2006-11-27 Monday 11:30 committed by tdb

projects/cms/source/server/build/etc/system.conf (1.79):

Fix typo in config for MailQ monitor.

2006-11-23 Thursday 16:37 committed by tdb

projects/cms/source/reports/rrdgraphing/graph.pl (1.20),
projects/cms/source/reports/rrdgraphing/rrdgraphing.conf (1.8),
projects/cms/source/reports/rrdgraphing/watch.pl (1.13):

Make graph sizes configurable. Needed for rrdtool 1.2.x when text is
anti-aliased and no longer fits.

2006-10-30 Monday 08:20 committed by tdb

projects/libstatgrab/src/libstatgrab/memory_stats.c (1.34, LIBSTATGRAB_0_14):

Fix compile problem in last commit.

2006-10-29 Sunday 23:01 committed by tdb

projects/libstatgrab/src/libstatgrab/memory_stats.c (1.33):

Fix memory stats on OpenBSD. Currently untested.

Submitted by: bsd@openbsd.rutgers.edu

2006-10-09 Monday 18:25 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.80, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14):

When checking the interface up status check the link status as well.

Suggested by: "Vassallo, Michelangelo (Michelangelo)" <vassallo@lucent.com>

2006-10-09 Monday 18:23 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.79):

Move reading the interface name to earlier in the function. This fixes
problems for us on a host with slightly peculiar interfaces.

2006-10-09 Monday 15:47 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.82, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14):

Fix process time_spent on Linux.

Spotted by: Fred Barnes

2006-10-09 Monday 15:09 committed by tdb

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.85, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14),
projects/libstatgrab/src/libstatgrab/load_stats.c (1.19, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.78),
projects/libstatgrab/src/libstatgrab/os_info.c (1.24, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14),
projects/libstatgrab/src/libstatgrab/tools.c (1.64, LIBSTATGRAB_0_14):

Make sure we always close kstat.

Spotted by: "Javier Donaire" <jyuyu@fraguel.org> (in load_stats.c)

2006-10-09 Monday 14:52 committed by tdb

projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.27, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14):

Attempt to fix cpu stats on solaris. It seems iowait covers all the
various types of wait, including IO and swap. So instead we do:
	iowait = cs.cpu_sysinfo.wait[W_IO] + cs.cpu_sysinfo.wait[W_PIO]
	swap = cs.cpu_sysinfo.wait[W_SWAP]

I'm also not sure if cs.cpu_sysinfo.cpu[CPU_STATES] means anything.

2006-05-02 Tuesday 07:49 committed by tdb

projects/cms/source/ihost/ihost.c (1.54):

Make ihost ignore NFS file systems.
Probably need to modify the default UDP packet size at some point too.

2006-04-24 Monday 14:31 committed by tdb

projects/libstatgrab/configure.in (1.90):

Allow to build on NetBSD 3.

Submitted by:	Wijnand Wiersma <wijnand@nedbsd.nl>

2006-03-18 Saturday 10:28 committed by tdb

projects/pystatgrab/setup.py (1.21):

Catch another dev@i-scream.org.

2006-03-18 Saturday 10:19 committed by tdb

projects/libstatgrab/configure.in (1.89):

Post-release version increment.

2006-03-18 Saturday 10:17 committed by tdb

projects/libstatgrab/src/libstatgrab/Makefile.am (1.32, LIBSTATGRAB_0_13):

Modify shared library version appropriately, I think.

2006-03-17 Friday 19:35 committed by tdb

projects/libstatgrab/NEWS (1.41, LIBSTATGRAB_0_13):

Add latest changes to NEWS file.

2006-03-17 Friday 13:29 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.84, LIBSTATGRAB_0_13):

Have nfs be a legal filesystem type on all platforms.

2006-03-17 Friday 13:23 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.37, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13):

Replace both spaces and dots with underscores in name components, so
that filesystem paths containing dots work correctly.

2006-03-12 Sunday 21:48 committed by tdb

projects/pjob/AUTHORS (1.1),
projects/pjob/Makefile.am (1.1),
projects/pjob/NEWS (1.1),
projects/pjob/README (1.1),
projects/pjob/autogen.sh (1.1),
projects/pjob/configure.in (1.1):

Initial autotools bits for pjob. All it does is check for some basic tools
and the glib libraries, and has the Makefile to build and install. Further
checks can easily be added as needed.

Stubs added for AUTHORS, NEWS, and README.

Finally autogen.sh is for our use to run all the autotools bits.

2006-03-11 Saturday 13:41 committed by tdb

projects/libstatgrab/NEWS (1.40):

Provisional NEWS entry.

2006-03-11 Saturday 13:11 committed by tdb

projects/libstatgrab/src/libstatgrab/statgrab.h (1.58, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13):

Nasty hack to make inclusion in C++ code easier. We seem to be getting
regular reports of problems with C++, and this should fix them.

2006-03-02 Thursday 09:41 committed by tdb

projects/libstatgrab/configure.in (1.88, LIBSTATGRAB_0_13),
projects/libukcprog/configure.in (1.11):

Add AM_MAINTAINER_MODE.

2006-02-18 Saturday 15:24 committed by tdb

projects/libstatgrab/src/libstatgrab/win32.c (1.2, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13):

Apply fix to Win32 code.

Patch by:	"Tim Teulings" <rael@edge.ping.de>

2006-01-30 Monday 21:46 committed by pajs

projects/pjob/TODO (1.5),
projects/pjob/pjob.c (1.6):

Implemented the use of hard/soft limits. Need to start autoconfing around
stuff like that

2006-01-29 Sunday 10:47 committed by pajs

projects/pjob/TODO (1.4):

More todo

2006-01-25 Wednesday 20:05 committed by pajs

projects/pjob/pjob.c (1.5):

Whoops - broke all output :)

2006-01-25 Wednesday 19:57 committed by pajs

projects/pjob/pjob.c (1.4):

Added timers on a per job basis - it will now also give the exit code of the job

The child pids now have a PPID of the pjob processes, rather than 1.

Left timers on the todo list, as i may add a timer for the overall pjob - to
include in the summary at the end.

2006-01-24 Tuesday 20:15 committed by pajs

projects/pjob/TODO (1.3),
projects/pjob/pjob.c (1.3):

More TODO's

Started implementing timers - it does time it - it just does nothing with it :)

2006-01-23 Monday 23:27 committed by pajs

projects/pjob/TODO (1.2):

Another for the list

2006-01-23 Monday 23:20 committed by pajs

projects/pjob/TODO (1.1):

Things to do, and nice to haves.

2006-01-23 Monday 22:12 committed by pajs

projects/pjob/pjob.c (1.2):

-Wall fixes - including 1 or 2 bugs :) - Thanks to Tim for this one.

2006-01-23 Monday 11:16 committed by pajs

projects/pjob/pjob.c (1.1):

Initial version of pjob, a parrallel job runner. (Or Petes job).

Program takes a command, and X arguments. It will run the command with
argument x in parralle, up to Y number of jobs at once. It allows
command substitution, and with an argument file will take several
arguments.

The most basic example is:

pjob -c /bin/echo Azz Pete Tim Fred

This would run '/bin/echo Azz', '/bin/echo Pete' etc etc in parrallel.
A slighltly more detailed example:

pjob -f 'HOSTNAME' -c 'ssh HOSTNAME uptime' myrtle raptor swallow.

This would run

'ssh myrtle uptime', 'ssh raptor uptime', 'ssh swallow uptime' in
parrallel.

A slightly more complex example:

A datafile of:

elm 192.168.0.53 kent.ac.uk
swift 192.168.0.34 ukc.ac.uk
otter 192.168.0.116 ukc.ac.uk

run with the command
pjob -f 'name ip domainname' -c 'adddns -h name -i ip -d domainname' -a datafile

would run

adddns -h elm -i 192.168.0.53 -d kent.ac.uk
adddns -h swift -i 192.168.0.34 ukc.ac.uk
etc etc

pjob be default output all data to the screen with a jobname prefix, and also a [out] or [err] prefix showing
if the output as on stdout or stderr. A stdin file can be specified, and pjob will open this file, and write
its contents into the stdin of the jobs it executes.

Command arguments seem to be a bit unpopular - so may be changed.

2006-01-22 Sunday 18:10 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.77, LIBSTATGRAB_0_13):

Fix bug on Solaris; network interfaces always seem to be up.

Reported by:    joanmoraleda@ono.com

2005-11-11 Friday 23:37 committed by tdb

projects/libstatgrab/docs/saidar/Makefile.am (1.2, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13),
projects/libstatgrab/docs/statgrab/Makefile.am (1.2, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13):

If configure options used not to install tools then don't install
manpages for them either. Noticed by looking at NetBSD pkg :-)

2005-09-24 Saturday 14:33 committed by tdb

projects/libukcprog/configure.in (1.10):

Never bumped the version on this.

2005-09-24 Saturday 14:29 committed by tdb

projects/libstatgrab/configure.in (1.87),
projects/libstatgrab/examples/cpu_usage.c (1.11, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.31),
projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.26, LIBSTATGRAB_0_13),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.83),
projects/libstatgrab/src/libstatgrab/error.c (1.17, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13),
projects/libstatgrab/src/libstatgrab/load_stats.c (1.18, LIBSTATGRAB_0_13),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.32, LIBSTATGRAB_0_13),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.76),
projects/libstatgrab/src/libstatgrab/os_info.c (1.23, LIBSTATGRAB_0_13),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.23, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.81, LIBSTATGRAB_0_13),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.57),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.24, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13),
projects/libstatgrab/src/libstatgrab/tools.c (1.63, LIBSTATGRAB_0_13),
projects/libstatgrab/src/libstatgrab/tools.h (1.26, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13),
projects/libstatgrab/src/libstatgrab/user_stats.c (1.28, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13),
projects/libstatgrab/src/libstatgrab/win32.c (1.1),
projects/libstatgrab/src/libstatgrab/win32.h (1.1, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13),
projects/libstatgrab/src/statgrab/statgrab.c (1.36),
projects/cms/source/ihost/configure.in (1.34),
projects/cms/source/ihost/ihost.c (1.53),
projects/libukcprog/src/ip.c (1.2):

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

2005-09-14 Wednesday 19:15 committed by ats

projects/pystatgrab/_statgrab.pyx (1.18):

Don't change the structure returned from sg_get_process_stats (because
that causes a segfault when libstatgrab tries to free it).

2005-09-07 Wednesday 15:15 committed by tdb

projects/libstatgrab/src/saidar/saidar.c (1.34, LIBSTATGRAB_0_13):

Simple hack to truncate disk/interface/mount names to fit in to the
field. Before this they just overwrote stuff and it got messy.

Hardly an elegant fix, btw ;)

2005-07-30 Saturday 19:16 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.17, PYSTATGRAB_0_4):

Yes, and the REST of libstatgrab 0.12 too :)

2005-07-30 Saturday 14:23 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.75, LIBSTATGRAB_0_12):

Use <asm/types.h> to define __u32 etc., and always define u32 etc. because
the Debian 2.6.0-test9 headers still use them in ethtool.h.

2005-07-30 Saturday 11:55 committed by tdb

projects/pystatgrab/setup.py (1.20):

Post-release version increment.

2005-07-30 Saturday 11:53 committed by tdb

projects/pystatgrab/NEWS (1.5, PYSTATGRAB_0_4),
projects/pystatgrab/setup.py (1.19, PYSTATGRAB_0_4):

Version 0.4 of pystatgrab.

2005-07-30 Saturday 11:49 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.16):

Chase libstatgrab API changes.

2005-07-30 Saturday 11:42 committed by tdb

projects/libstatgrab/configure.in (1.86):

Post-release version increment.

2005-07-30 Saturday 11:39 committed by tdb

projects/libstatgrab/NEWS (1.39, LIBSTATGRAB_0_12):

Put in the date for the 0.12 release.

2005-07-18 Monday 15:45 committed by ats

projects/libstatgrab/NEWS (1.38):

Fix a typo.

2005-07-18 Monday 15:08 committed by tdb

projects/libstatgrab/NEWS (1.37),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.30, LIBSTATGRAB_0_12):

Prepare for 0.12 release.

2005-07-13 Wednesday 21:52 committed by tdb

projects/libstatgrab/configure.in (1.85, LIBSTATGRAB_0_12):

Add support for FreeBSD 7 (which is exactly like 6 at the moment, so
it's bound to work :)

2005-07-13 Wednesday 14:01 committed by tdb

projects/libstatgrab/docs/libstatgrab/sg_get_fs_stats.xml (1.5, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.82, LIBSTATGRAB_0_12),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.56, LIBSTATGRAB_0_12),
projects/libstatgrab/src/statgrab/statgrab.c (1.35, LIBSTATGRAB_0_12):

Add more fs stats.

Patches provided by: Roman Neuhauser

2005-07-13 Wednesday 10:31 committed by tdb

projects/libstatgrab/docs/libstatgrab/sg_get_network_iface_stats.xml (1.7, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/examples/network_iface_stats.c (1.7, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.74),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.55),
projects/libstatgrab/src/statgrab/statgrab.c (1.34):

Change the name of the duplex value from "dup" to "duplex". This will
break the ABI, but we're changing the fs stats anyway. The API change
is minimal, so hopefully won't affect too many people.

2005-06-29 Wednesday 15:32 committed by tdb

projects/cms/source/reports/php/latest/latest.php (1.51):

Fix previous commit.

2005-06-29 Wednesday 11:26 committed by tdb

projects/cms/source/reports/php/graphs/graphs_config.inc.php (1.8),
projects/cms/source/reports/php/latest/latest.php (1.50),
projects/cms/source/reports/php/latest/latest_config.inc.php (1.7),
projects/cms/source/reports/rrdgraphing/graph.pl (1.19),
projects/cms/source/reports/rrdgraphing/rrdgraphing.conf (1.7),
projects/cms/source/reports/rrdgraphing/watch.pl (1.12):

Bunch of updates from skel to sort the encoding of filenames.
I'm beginning to think that we should be just encoding the whole
name or something like that :)

2005-06-15 Wednesday 16:39 committed by tdb

projects/cms/source/reports/rrdgraphing/graph.pl (1.18),
projects/cms/source/reports/rrdgraphing/watch.pl (1.11):

Get the brackets the right way round. Skel spotted his own problem :)
I should probably have checked a bit more closely ;)

2005-05-04 Wednesday 15:27 committed by tdb

projects/cms/source/reports/php/graphs/graphs.php (1.7):

Give option to show all graphs for a particular machine.

2005-05-04 Wednesday 15:14 committed by tdb

projects/cms/source/reports/php/latest/latest.php (1.49):

Fix a few bugs in the uptime reporting. Mostly reported by skel.

2005-04-26 Tuesday 11:31 committed by tdb

projects/libstatgrab/docs/saidar/saidar.xml (1.2, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12):

Bit more detail about saidar.

2005-04-25 Monday 15:12 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.73):

Apply patch from Scott Lampert to make the network ethtool bits compile
on Linux 2.6.

2005-04-25 Monday 13:37 committed by tdb

projects/libstatgrab/configure.in (1.84),
projects/libstatgrab/docs/Makefile.am (1.28, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/libstatgrab/Makefile.am (1.1, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/saidar/Makefile.am (1.1, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/saidar/saidar.xml (1.1),
projects/libstatgrab/docs/statgrab/Makefile.am (1.1, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/statgrab/statgrab-make-mrtg-config.xml (1.1, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/statgrab/statgrab-make-mrtg-index.xml (1.1, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/statgrab/statgrab.xml (1.1, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12):

Add manpages for the various tools.

2005-04-25 Monday 13:04 committed by tdb

projects/libstatgrab/src/statgrab/statgrab.c (1.33):

Fix consistency problem in usage output.

2005-04-25 Monday 12:25 committed by tdb

projects/libstatgrab/docs/libstatgrab/sg_get_cpu_stats.xml (1.7, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/libstatgrab/sg_get_disk_io_stats.xml (1.9, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/libstatgrab/sg_get_fs_stats.xml (1.4),
projects/libstatgrab/docs/libstatgrab/sg_get_host_info.xml (1.6, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/libstatgrab/sg_get_load_stats.xml (1.6, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/libstatgrab/sg_get_mem_stats.xml (1.6, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/libstatgrab/sg_get_network_iface_stats.xml (1.6),
projects/libstatgrab/docs/libstatgrab/sg_get_network_io_stats.xml (1.8, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/libstatgrab/sg_get_page_stats.xml (1.6, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/libstatgrab/sg_get_process_stats.xml (1.10, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/libstatgrab/sg_get_user_stats.xml (1.6, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/libstatgrab/statgrab.xml (1.14, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12),
projects/libstatgrab/docs/sg_get_cpu_stats.xml (1.7),
projects/libstatgrab/docs/sg_get_disk_io_stats.xml (1.9),
projects/libstatgrab/docs/sg_get_fs_stats.xml (1.4),
projects/libstatgrab/docs/sg_get_host_info.xml (1.6),
projects/libstatgrab/docs/sg_get_load_stats.xml (1.6),
projects/libstatgrab/docs/sg_get_mem_stats.xml (1.6),
projects/libstatgrab/docs/sg_get_network_iface_stats.xml (1.6),
projects/libstatgrab/docs/sg_get_network_io_stats.xml (1.8),
projects/libstatgrab/docs/sg_get_page_stats.xml (1.6),
projects/libstatgrab/docs/sg_get_process_stats.xml (1.10),
projects/libstatgrab/docs/sg_get_user_stats.xml (1.6),
projects/libstatgrab/docs/statgrab.xml (1.14):

Move by repocopy the libstatgrab docs in to a subdirectory. This is so
I can create separate directories for statgrab/saidar docs.

2005-04-25 Monday 12:01 committed by tdb

projects/libstatgrab/configure.in (1.83),
projects/libstatgrab/src/Makefile.am (1.5, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12):

Nuke sgps - Pete's decided it's actually rather pointless as it doesn't
offer anything that other ps programs don't.

2005-04-25 Monday 11:59 committed by tdb

projects/libstatgrab/PLATFORMS (1.10, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12):

Update list of platforms - we've tested on Solaris 10.

2005-04-16 Saturday 17:02 committed by tdb

projects/cms/source/conient/build/etc/default.conf (1.14):

Better use of ssh - use -N rather than sleep.

2005-04-16 Saturday 16:08 committed by tdb

projects/cms/source/conient/configure (1.15),
projects/cms/source/conient/build/etc/default.conf (1.13),
projects/cms/source/conient/build/resources/banner3.gif (1.2),
projects/cms/source/conient/uk/org/iscream/cms/conient/HostDisplayPanel.java (1.53):

Remove banner advert from data display.
Fix pulling of javadoc info.
Make firewall configuration a little clearer.

2005-04-14 Thursday 18:19 committed by tdb

projects/pystatgrab/README (1.4, PYSTATGRAB_0_5, PYSTATGRAB_0_4):

Add comment about setting PKG_CONFIG_PATH.

2005-04-13 Wednesday 12:50 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.81):

Rework Linux partition detection to detect devices called "c0d0" (etc.)
and not assume they're partitions -- the DAC* and Compaq RAID devices do
this.

2005-04-04 Monday 15:27 committed by tdb

projects/libstatgrab/configure.in (1.82),
projects/libstatgrab/src/Makefile.am (1.4):

Add build bits for sgps.

2005-03-31 Thursday 21:49 committed by tdb

projects/cms/source/reports/rrdgraphing/graph.pl (1.16):

Fix problem when free == total, which resulted in graphs being drawn
at 100% when they should be 0%.

Pointed out by skel.

2005-03-30 Wednesday 20:31 committed by tdb

projects/cms/source/reports/php/latest/latest.php (1.48):

return nothing if we don't get a match - this is what was happening
anyway, except it generated a warning whilst doing it.

2005-03-11 Friday 17:29 committed by tdb

projects/cms/source/reports/php/shared/iutils.inc.php (1.7):

Catch another undefined variable.

2005-03-01 Tuesday 18:14 committed by tdb

projects/libstatgrab/configure.in (1.81):

Post release version increment.

2005-03-01 Tuesday 18:13 committed by tdb

projects/libstatgrab/src/libstatgrab/Makefile.am (1.29, LIBSTATGRAB_0_11_1):

Update for new release.

2005-03-01 Tuesday 18:12 committed by tdb

projects/libstatgrab/NEWS (1.36, LIBSTATGRAB_0_11_1):

Prepare NEWS for new release.

2005-02-24 Thursday 18:35 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.72, LIBSTATGRAB_0_11_1):

The labels in this case statement were the wrong way round, so the duplex
settings were being reported incorrectly on linux. Use the defines instead
of the values so we can be sure they're right.

Spotted by Pete.

2005-02-24 Thursday 12:34 committed by tdb

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.80, LIBSTATGRAB_0_11_1):

Add NFS to list of file systems that we return information for.

2005-02-11 Friday 14:05 committed by tdb

projects/cms/source/reports/php/alerts/alerts.php (1.37),
projects/cms/source/reports/php/graphs/graphs.php (1.5),
projects/cms/source/reports/php/graphs/graphs_config.inc.php (1.6),
projects/cms/source/reports/php/index/index.php (1.22),
projects/cms/source/reports/php/latest/latest.php (1.46),
projects/cms/source/reports/php/latest/latest_display.inc.php (1.14),
projects/cms/source/reports/php/logins/logins_config.inc.php (1.2),
projects/cms/source/reports/php/shared/bottom.inc (1.11),
projects/cms/source/reports/php/shared/iutils.inc.php (1.6),
projects/cms/source/reports/php/shared/title.inc.php (1.20):

                

skel (Daniel Piddock):

 - Fix overflow in disk inodes on PHP page.
 - Added code to get passed in variables from the $_GET variable. Makes
   things work under a pretty default Debian apache2/php4 set up.
 - Graphs displays "Network IO" in the drop down list, not "Network usage"
   for consistency with everything else.
 - Display Swap, memory and disk usage in MB rather than bytes in latest
   view.
 - Display uptime in a pretty days/hours/minutes/seconds rather than just
   seconds, in latest view
 - Include file system type under Disks in latest view

Thanks Daniel!

2005-02-11 Friday 14:05 committed by tdb

projects/cms/source/reports/php/alerts/alertsRSS.php (1.1):

Add RSS alerts page.

2005-02-10 Thursday 17:35 committed by tdb

projects/cms/source/reports/php/graphs/graphs_config.inc.php (1.5),
projects/cms/source/reports/rrdgraphing/graph.pl (1.15),
projects/cms/source/reports/rrdgraphing/rrdgraphing.conf (1.5),
projects/cms/source/reports/rrdgraphing/watch.pl (1.9),
projects/cms/source/server/Config2.inc (1.45),
projects/cms/source/server/configure (1.26),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Disk__Monitor.java (1.23):

                

skel (Daniel Piddock):

CMS Server:
 - DiskMonitor was overflowing due to using an int variable for the
   inode count. Upped to a long.
 - Updated URL to iscream cms javadoc

RRD graphing:
 - added uptime logging and graph creation
 - diskio - Cope with modern linux device paths
   (eg "ide/host0/bus0/target0/lun0/disc") by replacing / with hex
 - diskio - Cope with windows device paths (eg "0 C: D:") by
   replacing : and space with hex
 - disk - Cope with windows mount points (eg C:\) by
   replacing : and \ with hex
 - net - Cope with windows network "device names". Basically
   the whole network card as it appears in Device Manager,
   not "Local Area Connection"
 - Include total processes (for winhost)

Also modified the PHP code to catch up. Patch slightly modified from that
submitted, but only minor alterations.

Thanks skel!

2005-01-17 Monday 16:34 committed by tdb

projects/libstatgrab/src/saidar/saidar.c (1.33, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1):

Make size_conv deal with negative numbers too (it does happen :-).

2004-12-08 Wednesday 14:50 committed by tdb

projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/PacketSorter.java (1.25):

Check packet isn't null. Another one of those "shouldn't happen but did"
things ;-)

2004-11-08 Monday 18:47 committed by tdb

projects/libstatgrab/NEWS (1.35, LIBSTATGRAB_0_11):

Give Roy credit for the work on HP-UX.

2004-11-08 Monday 18:46 committed by tdb

projects/libstatgrab/configure.in (1.80, LIBSTATGRAB_0_11_1):

Post-release version increment.

2004-11-08 Monday 18:45 committed by tdb

projects/libstatgrab/NEWS (1.34):

Reword NEWS slightly.

2004-11-08 Monday 18:42 committed by tdb

projects/libstatgrab/NEWS (1.33):

Update NEWS for new release.

2004-11-08 Monday 08:07 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.71, LIBSTATGRAB_0_11):

Raise SG_ERROR_UNSUPPORTED for interface stats on Cygwin and HP-UX.

2004-11-07 Sunday 15:06 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.79, LIBSTATGRAB_0_11):

HP-UX disk IO calculation, version 3.

2004-11-07 Sunday 12:36 committed by ats

projects/libstatgrab/src/saidar/saidar.c (1.32, LIBSTATGRAB_0_11):

Put back the dummy argument -- I know it's not used, but signal handlers
have to have it.

2004-11-07 Sunday 12:34 committed by ats

projects/libstatgrab/src/libstatgrab/tools.c (1.62, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11):

Linux always has atoll, but Cygwin doesn't.

2004-11-07 Sunday 12:32 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.80, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11):

Always include string.h (for strcmp).

2004-11-07 Sunday 12:31 committed by ats

projects/libstatgrab/src/libstatgrab/os_info.c (1.22, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11):

Add tools.h include.

2004-11-07 Sunday 12:30 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.70):

HP-UX can't do network stats.

2004-11-07 Sunday 12:29 committed by ats

projects/libstatgrab/src/libstatgrab/load_stats.c (1.17, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11):

loadav is only needed on non-HP-UX.

2004-11-06 Saturday 23:54 committed by tdb

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.78),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.79),
projects/libstatgrab/src/libstatgrab/tools.c (1.61):

Cast numbers to be the same type when doing a comparison.

2004-11-06 Saturday 19:09 committed by tdb

projects/libstatgrab/src/libstatgrab/tools.c (1.60):

atoll is only used in one place in libstatgrab, so move it's definition to
before that one use. Given this hasn't caused us problems I'm guessing that
atoll is actually available on Linux and Cygwin, which would make having
the function here void.

If so, it can simply be removed instead.

2004-11-06 Saturday 19:02 committed by tdb

projects/libstatgrab/src/saidar/saidar.c (1.31):

Remove another unused parameter.

2004-11-06 Saturday 18:58 committed by tdb

projects/libstatgrab/examples/os_info.c (1.9, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11),
projects/libstatgrab/examples/vm_stats.c (1.12, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11):

Remove a couple of unused parameters.

2004-11-06 Saturday 15:41 committed by ats

projects/libstatgrab/src/libstatgrab/swap_stats.c (1.23, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11):

Rework the HP-UX swap stats code to fetch batches of swap devices.
(Untested.)

2004-11-06 Saturday 15:36 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.77):

Add a FIXME (it'd be preferable to avoid the /dev/dsk search when
possible).

2004-11-06 Saturday 15:33 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.76):

Fix IO bytes calculation -- the value returned is in 16-bit words, so
divide by two to get bytes.

2004-11-06 Saturday 15:32 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.75):

Rework the HP-UX disk stats code to fetch batches of disks. (Untested.)

2004-11-06 Saturday 15:31 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.78):

Oops -- make the loop work. (Untested.)

2004-11-06 Saturday 15:10 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.77):

Rework the HP-UX process stats code to fetch batches of processes in
fewer system calls. (Untested.)

2004-11-06 Saturday 14:55 committed by ats

projects/libstatgrab/src/libstatgrab/memory_stats.c (1.31, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11),
projects/libstatgrab/src/libstatgrab/os_info.c (1.21),
projects/libstatgrab/src/libstatgrab/tools.c (1.59),
projects/libstatgrab/src/libstatgrab/tools.h (1.25, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11):

Add sg_get_pstat_static for HP-UX. (Untested.)

2004-11-01 Monday 20:36 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.74):

Correct comment.

2004-11-01 Monday 20:34 committed by ats

projects/libstatgrab/configure.in (1.79, LIBSTATGRAB_0_11),
projects/libstatgrab/src/libstatgrab/tools.c (1.58):

We don't need the realloc workaround -- we don't rely on the GNU
behaviour.

2004-11-01 Monday 18:43 committed by tdb

projects/libstatgrab/docs/statgrab.xml (1.13, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11),
projects/libstatgrab/docs/libstatgrab/statgrab.xml (1.13, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11):

Lets not forget the documentation.

2004-11-01 Monday 18:33 committed by tdb

projects/libstatgrab/configure.in (1.78),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.28, LIBSTATGRAB_0_11):

Next release will be 0.11.

2004-11-01 Monday 18:30 committed by tdb

projects/libstatgrab/PLATFORMS (1.9, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11),
projects/libstatgrab/configure.in (1.77),
projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.25, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.73),
projects/libstatgrab/src/libstatgrab/error.c (1.16, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11),
projects/libstatgrab/src/libstatgrab/load_stats.c (1.16),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.30),
projects/libstatgrab/src/libstatgrab/os_info.c (1.20),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.76),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.54, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.22),
projects/libstatgrab/src/libstatgrab/tools.c (1.57),
projects/libstatgrab/src/libstatgrab/user_stats.c (1.27, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11):

Merge in patch to provide support for HP-UX 11.11.

Contributed by Roy Keene - thanks Roy!

2004-10-23 Saturday 15:36 committed by ats

projects/libstatgrab/src/statgrab/statgrab-make-mrtg-config.in (1.9, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11):

The maximum value must be an integer.

2004-10-18 Monday 11:37 committed by tdb

projects/libukcprog/Makefile.am (1.6):

Undo accidental change to AUTOMAKE_OPTIONS.

2004-10-18 Monday 11:36 committed by tdb

projects/libukcprog/Makefile.am (1.5),
projects/libukcprog/README (1.3):

Remove reference to INSTALL file that doesn't exist.

2004-10-11 Monday 12:53 committed by tdb

projects/libstatgrab/src/saidar/saidar.c (1.30):

Fix when used percentage hits 100%.

2004-09-10 Friday 16:15 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.75):

Fix some nasty repeated if()s (reported by Fred Barnes).

2004-08-24 Tuesday 21:45 committed by tdb

projects/libstatgrab/configure.in (1.76),
projects/pystatgrab/setup.py (1.18):

Post release version increment.

2004-08-24 Tuesday 21:43 committed by tdb

projects/pystatgrab/NEWS (1.4, PYSTATGRAB_0_3),
projects/pystatgrab/_statgrab.pyx (1.15, PYSTATGRAB_0_3),
projects/pystatgrab/setup.py (1.17, PYSTATGRAB_0_3),
projects/pystatgrab/statgrab.py (1.7, PYSTATGRAB_0_4, PYSTATGRAB_0_3):

Catch up to new features in libstatgrab 0.10.2.

2004-08-24 Tuesday 20:02 committed by tdb

projects/libstatgrab/NEWS (1.32, LIBSTATGRAB_0_10_3):

Add mention of FreeBSD 6.0 -CURRENT support.

2004-08-24 Tuesday 20:00 committed by tdb

projects/libstatgrab/configure.in (1.75, LIBSTATGRAB_0_10_3):

Add support for FreeBSD 6.0.
Drop version back to get this into the new release.

2004-08-23 Monday 17:09 committed by tdb

projects/libstatgrab/configure.in (1.74):

Post release version increment.

2004-08-23 Monday 16:04 committed by ats

projects/libstatgrab/src/statgrab/statgrab-make-mrtg-config.in (1.8, LIBSTATGRAB_0_10_3):

Fix logic error: maximum network speeds should be KiB, not Mbit.

2004-08-23 Monday 15:56 committed by ats

projects/libstatgrab/NEWS (1.31):

Update NEWS for statgrab changes.

2004-08-10 Tuesday 22:10 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.32, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3):

Repair whitespace damage in help message. (It's still there in the
other code.)

2004-08-10 Tuesday 22:08 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.31):

"Mebibyte", not "mibibyte".

2004-08-10 Tuesday 20:13 committed by ats

projects/libstatgrab/src/statgrab/statgrab-make-mrtg-config.in (1.7):

We do know the interface speed these days, so we don't (always) have to
guess.

2004-08-10 Tuesday 20:07 committed by ats

projects/libstatgrab/src/statgrab/statgrab-make-mrtg-config.in (1.6):

Use -K and -f to produce better MRTG output.

2004-08-10 Tuesday 19:58 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.30):

Add -K, -M and -G to display byte counts in kibibytes, mibibytes and
gibibytes (mostly for MRTG use, since it can't deal with numbers bigger
than 32 bits).

2004-08-10 Tuesday 19:50 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.29):

Add -f option to scale floating-point values to integers for MRTG
output.

2004-08-01 Sunday 11:39 committed by tdb

projects/cms/documentation/minutes/minutes-20010309.txt (1.2),
projects/cms/documentation/papers/corba.txt (1.2),
projects/cms/documentation/papers/cvs-1.txt (1.4),
projects/cms/documentation/papers/cvs-2.txt (1.6),
projects/cms/documentation/papers/wbem.txt (1.3),
projects/cms/documentation/specification/coding_standards.txt (1.2),
projects/cms/documentation/specification/configuration.txt (1.3),
projects/cms/documentation/specification/doc_spec.txt (1.5),
projects/cms/documentation/specification/expected_data.txt (1.7),
projects/cms/documentation/specification/logging.txt (1.2),
projects/cms/documentation/specification/protocols.txt (1.11),
projects/cms/documentation/specification/using_queue.txt (1.2),
projects/cms/documentation/specification/xml_via_udp.txt (1.3),
projects/cms/source/TemplateClass.java (1.16),
projects/cms/source/conient/Config2.inc (1.24),
projects/cms/source/conient/build.config (1.6),
projects/cms/source/conient/build.xml (1.3),
projects/cms/source/conient/configure (1.14),
projects/cms/source/conient/uk/org/iscream/cms/conient/Configuration.java (1.14),
projects/cms/source/conient/uk/org/iscream/cms/conient/ConfigurationDialog.java (1.17),
projects/cms/source/conient/uk/org/iscream/cms/conient/Conient.java (1.36),
projects/cms/source/conient/uk/org/iscream/cms/conient/ConnectionHandler.java (1.37),
projects/cms/source/conient/uk/org/iscream/cms/conient/ControlPanel.java (1.19),
projects/cms/source/conient/uk/org/iscream/cms/conient/DataPanel.java (1.31),
projects/cms/source/conient/uk/org/iscream/cms/conient/DataReader.java (1.18),
projects/cms/source/conient/uk/org/iscream/cms/conient/HostDisplayPanel.java (1.52),
projects/cms/source/conient/uk/org/iscream/cms/conient/PacketTimer.java (1.9),
projects/cms/source/conient/uk/org/iscream/cms/conient/QueueFrame.java (1.21),
projects/cms/source/conient/uk/org/iscream/cms/conient/SwingSafeAdd.java (1.6),
projects/cms/source/conient/uk/org/iscream/cms/conient/SwingSafeAddCard.java (1.5),
projects/cms/source/conient/uk/org/iscream/cms/conient/TunnelProcess.java (1.5),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/CPUDataComponent.java (1.15),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/DataComponent.java (1.13),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/DataFormatException.java (1.9),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/DateDataComponent.java (1.14),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/DiskDataComponent.java (1.6),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/IODataComponent.java (1.2),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/ProcessesDataComponent.java (1.9),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/ServiceDataComponent.java (1.11),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/StorageDataComponent.java (1.8),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/StringDataComponent.java (1.21),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/UptimeDataComponent.java (1.9),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/UsersDataComponent.java (1.21),
projects/cms/source/conient/uk/org/iscream/cms/conient/datacomponents/VisibleDataComponent.java (1.10),
projects/cms/source/corbaservices/Config2.inc (1.18),
projects/cms/source/corbaservices/build.config (1.6),
projects/cms/source/corbaservices/build.xml (1.3),
projects/cms/source/corbaservices/uk/org/iscream/cms/corbaservices/CorbaServices.java (1.13),
projects/cms/source/corbaservices/uk/org/iscream/cms/corbaservices/MiniWebServer.java (1.10),
projects/cms/source/reports/php/Config2.inc (1.2),
projects/cms/source/reports/php/README (1.2),
projects/cms/source/reports/php/alerts/alerts.php (1.36),
projects/cms/source/reports/php/graphs/graphs.php (1.4),
projects/cms/source/reports/php/historical/browser.php (1.43),
projects/cms/source/reports/php/index/index.php (1.21),
projects/cms/source/reports/php/latest/latest.php (1.45),
projects/cms/source/reports/php/logins/logins.php (1.4),
projects/cms/source/reports/php/public/public.php (1.11),
projects/cms/source/reports/php/shared/bottom.inc (1.10),
projects/cms/source/reports/php/shared/iutils.inc.php (1.5),
projects/cms/source/reports/php/shared/title.inc.php (1.19),
projects/cms/source/reports/rrdgraphing/Config2.inc (1.4),
projects/cms/source/reports/rrdgraphing/graph.pl (1.14),
projects/cms/source/reports/rrdgraphing/rrdgraphing.conf (1.4),
projects/cms/source/reports/rrdgraphing/watch.pl (1.8),
projects/cms/source/reports/rrdgraphing/iscream/XMLParser.pm (1.3),
projects/cms/source/server/Config2.inc (1.44),
projects/cms/source/server/build.config (1.19),
projects/cms/source/server/build.xml (1.14),
projects/cms/source/server/configure (1.25),
projects/cms/source/server/build/etc/system.conf (1.77),
projects/cms/source/server/idl/iscream.idl (1.25),
projects/cms/source/server/uk/org/iscream/cms/server/client/Alert.java (1.20),
projects/cms/source/server/uk/org/iscream/cms/server/client/AlerterManager.java (1.13),
projects/cms/source/server/uk/org/iscream/cms/server/client/AlerterSkeleton.java (1.13),
projects/cms/source/server/uk/org/iscream/cms/server/client/ClientMain.java (1.26),
projects/cms/source/server/uk/org/iscream/cms/server/client/ClientServant.java (1.15),
projects/cms/source/server/uk/org/iscream/cms/server/client/MonitorManager.java (1.21),
projects/cms/source/server/uk/org/iscream/cms/server/client/MonitorSkeleton.java (1.19),
projects/cms/source/server/uk/org/iscream/cms/server/client/PluginAlerter.java (1.9),
projects/cms/source/server/uk/org/iscream/cms/server/client/PluginMonitor.java (1.10),
projects/cms/source/server/uk/org/iscream/cms/server/client/Register.java (1.22),
projects/cms/source/server/uk/org/iscream/cms/server/client/WebFeeder.java (1.25),
projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/EMail__Alerter.java (1.28),
projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/IRC__Alerter.java (1.36),
projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/Logging__Alerter.java (1.6),
projects/cms/source/server/uk/org/iscream/cms/server/client/alerters/WebFeeder__Alerter.java (1.13),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/CPU__Monitor.java (1.30),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/DiskIO__Monitor.java (1.4),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Disk__Monitor.java (1.22),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Heartbeat__Monitor.java (1.28),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Load__Monitor.java (1.10),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Memory__Monitor.java (1.19),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/NetIO__Monitor.java (1.4),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Paging__Monitor.java (1.5),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Process__Monitor.java (1.10),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Queue__Monitor.java (1.18),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Services__Monitor.java (1.12),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Swap__Monitor.java (1.16),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/UserCount__Monitor.java (1.9),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/WebFeeder__Monitor.java (1.11),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/ClientInterfaceMain.java (1.31),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/ClientInterfaceServant.java (1.16),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/CorbaClientListenerServant.java (1.14),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/CorbaControlHandlerServant.java (1.19),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/CorbaDataHandler.java (1.16),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/PacketSorter.java (1.24),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/TCPClientListener.java (1.19),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/TCPControlHandler.java (1.29),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/TCPDataHandler.java (1.17),
projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/Component.java (1.9),
projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/ComponentCORBAException.java (1.6),
projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/ComponentManager.java (1.44),
projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/ComponentStartException.java (1.8),
projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/ConfigurationCache.java (1.8),
projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/ConfigurationProxy.java (1.19),
projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/PropertyNotFoundException.java (1.6),
projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/ReferenceManager.java (1.21),
projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/XMLCache.java (1.4),
projects/cms/source/server/uk/org/iscream/cms/server/core/CircularIncludeException.java (1.7),
projects/cms/source/server/uk/org/iscream/cms/server/core/ConfigurationManagerServant.java (1.26),
projects/cms/source/server/uk/org/iscream/cms/server/core/ConfigurationServant.java (1.24),
projects/cms/source/server/uk/org/iscream/cms/server/core/Core.java (1.29),
projects/cms/source/server/uk/org/iscream/cms/server/core/LoggerImpl.java (1.10),
projects/cms/source/server/uk/org/iscream/cms/server/core/LoggerServant.java (1.14),
projects/cms/source/server/uk/org/iscream/cms/server/core/loggers/FileLogger.java (1.13),
projects/cms/source/server/uk/org/iscream/cms/server/core/loggers/MultiLogger.java (1.12),
projects/cms/source/server/uk/org/iscream/cms/server/core/loggers/ScreenLogger.java (1.11),
projects/cms/source/server/uk/org/iscream/cms/server/core/loggers/SimpleGUILogger.java (1.12),
projects/cms/source/server/uk/org/iscream/cms/server/core/loggers/SimpleSwingLogger.java (1.14),
projects/cms/source/server/uk/org/iscream/cms/server/filter/FilterInfoServant.java (1.6),
projects/cms/source/server/uk/org/iscream/cms/server/filter/FilterMain.java (1.40),
projects/cms/source/server/uk/org/iscream/cms/server/filter/FilterServant.java (1.23),
projects/cms/source/server/uk/org/iscream/cms/server/filter/FilterThread.java (1.40),
projects/cms/source/server/uk/org/iscream/cms/server/filter/PluginFilter.java (1.10),
projects/cms/source/server/uk/org/iscream/cms/server/filter/PluginFilterManager.java (1.14),
projects/cms/source/server/uk/org/iscream/cms/server/filter/PluginServiceCheck.java (1.8),
projects/cms/source/server/uk/org/iscream/cms/server/filter/PluginServiceCheckManager.java (1.10),
projects/cms/source/server/uk/org/iscream/cms/server/filter/PluginServiceCheckPipeline.java (1.11),
projects/cms/source/server/uk/org/iscream/cms/server/filter/ServiceCheckSkeleton.java (1.8),
projects/cms/source/server/uk/org/iscream/cms/server/filter/UDPReader.java (1.26),
projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/EnforceEssentialData__Plugin.java (1.16),
projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/FTP__ServiceCheck.java (1.9),
projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/HTTP__ServiceCheck.java (1.12),
projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/IMAP__ServiceCheck.java (1.9),
projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/POP3__ServiceCheck.java (1.9),
projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/SMTP__ServiceCheck.java (1.12),
projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/SSH__ServiceCheck.java (1.8),
projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/SourceChecker__Plugin.java (1.7),
projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/Telnet__ServiceCheck.java (1.7),
projects/cms/source/server/uk/org/iscream/cms/server/filter/plugins/TypeChecker__Plugin.java (1.10),
projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/FilterManager.java (1.28),
projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/HostInit.java (1.40),
projects/cms/source/server/uk/org/iscream/cms/server/filtermanager/HostListener.java (1.16),
projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/CorbaClientListenerServant.java (1.2),
projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/CorbaControlHandlerServant.java (1.2),
projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/CorbaDataHandler.java (1.2),
projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/RootFilter.java (1.44),
projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/RootFilterServant.java (1.22),
projects/cms/source/util/Config2.inc (1.7),
projects/cms/source/util/uk/org/iscream/cms/util/ACL.java (1.8),
projects/cms/source/util/uk/org/iscream/cms/util/ACLDatagramSocket.java (1.5),
projects/cms/source/util/uk/org/iscream/cms/util/ACLServerSocket.java (1.5),
projects/cms/source/util/uk/org/iscream/cms/util/DateUtils.java (1.9),
projects/cms/source/util/uk/org/iscream/cms/util/FormatName.java (1.16),
projects/cms/source/util/uk/org/iscream/cms/util/InvalidQueueException.java (1.8),
projects/cms/source/util/uk/org/iscream/cms/util/InvalidXMLException.java (1.7),
projects/cms/source/util/uk/org/iscream/cms/util/Queue.java (1.27),
projects/cms/source/util/uk/org/iscream/cms/util/QueueMonitor.java (1.12),
projects/cms/source/util/uk/org/iscream/cms/util/Smtp.java (1.12),
projects/cms/source/util/uk/org/iscream/cms/util/StringUtils.java (1.10),
projects/cms/source/util/uk/org/iscream/cms/util/XMLPacket.java (1.16),
projects/cms/source/util/uk/org/iscream/cms/util/XMLPacketMaker.java (1.20),
projects/cms/source/util/uk/org/iscream/cms/util/XMLStringParser.java (1.18),
projects/libukcprog/doc/ukcprog.3 (1.3):

Catch a lot of old URL's and update them. Also remove a couple of old files
that aren't used.

2004-07-27 Tuesday 21:25 committed by tdb

projects/libstatgrab/configure.in (1.73):

Post release version increment.

2004-07-27 Tuesday 21:24 committed by tdb

projects/libstatgrab/NEWS (1.30, LIBSTATGRAB_0_10_2),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.27, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2):

Fix the shared library version.

2004-07-26 Monday 00:39 committed by tdb

projects/libstatgrab/NEWS (1.29, LIBSTATGRAB_0_10_1):

Fix release date.

2004-07-18 Sunday 22:31 committed by ats

projects/libstatgrab/src/libstatgrab/memory_stats.c (1.29, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1):

getpagesize() cannot fail.

2004-07-18 Sunday 22:30 committed by ats

projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.24, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.72, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.28),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.69, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/src/libstatgrab/os_info.c (1.19, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.22, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.74, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.21, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/src/libstatgrab/tools.c (1.56, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/src/libstatgrab/user_stats.c (1.26, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1):

Use sg_set_error_with_errno whenever errno's valid.
Change the one user of SG_ERROR_ENOENT to SG_ERROR_SYSCTL instead (since
that's what it should have been).

2004-07-18 Sunday 21:48 committed by ats

projects/libstatgrab/docs/statgrab.xml (1.12, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/docs/libstatgrab/statgrab.xml (1.12, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1):

Document sg_get_error_errno.
Note that sg_get_error_arg can return NULL.

2004-07-18 Sunday 21:44 committed by ats

projects/libstatgrab/src/libstatgrab/error.c (1.15, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.53, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1):

Remove extraneous consts.

2004-07-18 Sunday 21:39 committed by ats

projects/libstatgrab/src/libstatgrab/error.c (1.14):

Clear errno_value on errors that don't have a valid errno.

2004-07-18 Sunday 21:36 committed by ats

projects/libstatgrab/NEWS (1.28):

Fix a couple of typos.

2004-07-18 Sunday 21:22 committed by tdb

projects/libstatgrab/configure.in (1.72, LIBSTATGRAB_0_10_2):

Post-release version increment.

2004-07-18 Sunday 21:21 committed by tdb

projects/libstatgrab/PLATFORMS (1.8, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/docs/sg_get_disk_io_stats.xml (1.8, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/docs/libstatgrab/sg_get_disk_io_stats.xml (1.8, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/src/statgrab/statgrab.c (1.28, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1):

Catch a few bits of documentation/comments containing the deprecated
function names.

2004-07-18 Sunday 21:17 committed by tdb

projects/libstatgrab/NEWS (1.27),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.26, LIBSTATGRAB_0_10_1):

Update NEWS and library version for next release.

2004-07-16 Friday 16:07 committed by tdb

projects/libstatgrab/src/libstatgrab/error.c (1.12),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.51),
projects/libstatgrab/src/libstatgrab/tools.c (1.54):

Add function to allow grabbing of the current errno. Should we store errno
too maybe?

2004-07-16 Friday 12:17 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.27):

Make sure that network interfaces get an interface_name stat, even if they
don't have IO stats (like for loopback interfaces on Solaris).

2004-07-02 Friday 12:21 committed by tdb

projects/libstatgrab/src/libstatgrab/statgrab.h (1.50):

Make sure statgrab.h can't be included twice.

2004-06-21 Monday 22:41 committed by tdb

projects/libstatgrab/configure.in (1.71, LIBSTATGRAB_0_10_1),
projects/libstatgrab/libstatgrab.pc.in (1.4, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1):

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.

2004-06-21 Monday 17:40 committed by tdb

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.71):

Let libstatgrab know about the veritas file system (vxfs).

2004-06-21 Monday 15:48 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.73):

Fix memory leak on NetBSD 2.0.
(kl_stats wasn't being free'd)

2004-06-20 Sunday 21:32 committed by tdb

projects/libstatgrab/configure.in (1.70),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.70):

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.

2004-06-20 Sunday 18:00 committed by tdb

projects/libstatgrab/configure.in (1.69),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.69):

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.

2004-06-19 Saturday 00:45 committed by tdb

projects/libstatgrab/src/saidar/Makefile.am (1.7, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1),
projects/libstatgrab/src/statgrab/Makefile.am (1.10, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1):

Fix permission setting when DESTDIR is used. There still seems to be an
issue with libtool on my FreeBSD box, but a google search suggests this is
fixed in later versions of libtool.

Thanks to Daniel <dragonheart@gentoo.org> for this one.

2004-06-02 Wednesday 17:13 committed by ats

projects/cms/source/idar/idar.c (1.24):

Include ukcprog.h after all the system headers, so that it defines
get_host_addr correctly on Linux.

2004-06-02 Wednesday 17:11 committed by ats

projects/cms/source/idar/idar.c (1.23):

getch() returns int.

2004-06-02 Wednesday 17:06 committed by ats

projects/cms/source/idar/idar.c (1.22):

Fix memory leak.

2004-05-31 Monday 15:50 committed by tdb

projects/pystatgrab/setup.py (1.16):

Post release version increment.

2004-05-31 Monday 15:49 committed by tdb

projects/pystatgrab/AUTHORS (1.1, PYSTATGRAB_0_5, PYSTATGRAB_0_4, PYSTATGRAB_0_3, PYSTATGRAB_0_2),
projects/pystatgrab/MANIFEST.in (1.4, PYSTATGRAB_0_5, PYSTATGRAB_0_4, PYSTATGRAB_0_3, PYSTATGRAB_0_2),
projects/pystatgrab/NEWS (1.3, PYSTATGRAB_0_2),
projects/pystatgrab/setup.py (1.15, PYSTATGRAB_0_2):

Prepare for 0.2 release of pystatgrab.

2004-05-31 Monday 14:53 committed by tdb

projects/cms/source/ihost/configure.in (1.33):

Post release version increment.

2004-05-31 Monday 14:52 committed by tdb

projects/cms/source/ihost/AUTHORS (1.4, IHOST_1_5_8),
projects/cms/source/ihost/Makefile.am (1.14, IHOST_1_5_8),
projects/cms/source/ihost/NEWS (1.11, IHOST_1_5_8),
projects/cms/source/ihost/README (1.7, IHOST_1_5_8),
projects/cms/source/ihost/README.CVS (1.4, IHOST_1_5_8),
projects/cms/source/ihost/ihost.c (1.52, IHOST_1_5_8):

Prepare new release of ihost.

2004-05-31 Monday 14:35 committed by tdb

projects/cms/source/ihost/ihost.c (1.51):

Properly fix for libstatgrab 0.10 (more errors were apparent when I used
-Wall). Add support for libstatgrab 0.10's error reporting. Whitespace
cleanup's - yes, I did it again :-)

2004-05-30 Sunday 18:13 committed by tdb

projects/cms/source/ihost/configure.in (1.32, IHOST_1_5_8),
projects/cms/source/ihost/ihost.c (1.50):

"Fix" ihost to work with libstatgrab 0.10. This is very much a fix, rather
than a proper solution :-)

2004-05-30 Sunday 18:07 committed by ats

projects/libstatgrab/src/libstatgrab/tools.c (1.53):

Clear the error buffer on startup.

2004-05-30 Sunday 17:41 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.14, PYSTATGRAB_0_2),
projects/pystatgrab/statgrab.py (1.6, PYSTATGRAB_0_2):

Stage 3: Add new functions.

2004-05-30 Sunday 16:32 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.13),
projects/pystatgrab/statgrab.py (1.5):

Stage 2: Reorder functions and structures to match statgrab.h order.

2004-05-30 Sunday 16:21 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.12),
projects/pystatgrab/statgrab.py (1.4):

Stage 1: Update all existing functions to have new names.

2004-05-19 Wednesday 16:12 committed by tdb

projects/libstatgrab/configure.in (1.68):

Post-release increment.

2004-05-19 Wednesday 15:54 committed by tdb

projects/libstatgrab/NEWS (1.26, LIBSTATGRAB_0_10),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.25, LIBSTATGRAB_0_10):

Update NEWS file for 0.10 release.

2004-05-18 Tuesday 15:33 committed by pajs

projects/libstatgrab/docs/sg_get_process_stats.xml (1.9, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/libstatgrab/sg_get_process_stats.xml (1.9, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10):

Added details about the supplied sorting functions that can be passed to qsort

2004-05-08 Saturday 17:40 committed by tdb

projects/libstatgrab/docs/sg_get_fs_stats.xml (1.3, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/libstatgrab/sg_get_fs_stats.xml (1.3, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10):

Eek. I commited XML that didn't parse!

2004-05-05 Wednesday 11:41 committed by tdb

projects/libstatgrab/docs/statgrab.xml (1.11, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/libstatgrab/statgrab.xml (1.11, LIBSTATGRAB_0_10):

And add sg_get_fs_stats properly :-)

2004-05-05 Wednesday 11:40 committed by tdb

projects/libstatgrab/docs/statgrab.xml (1.10),
projects/libstatgrab/docs/libstatgrab/statgrab.xml (1.10):

Add sg_get_fs_stats to statgrab.xml.

2004-05-05 Wednesday 11:19 committed by tdb

projects/libstatgrab/docs/Makefile.am (1.27, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/sg_get_fs_stats.xml (1.1),
projects/libstatgrab/docs/libstatgrab/sg_get_fs_stats.xml (1.1):

Add docs for sg_get_fs_stats.

2004-05-04 Tuesday 20:28 committed by tdb

projects/libstatgrab/docs/Makefile.am (1.26),
projects/libstatgrab/docs/sg_get_process_stats.xml (1.7),
projects/libstatgrab/docs/statgrab.xml (1.9),
projects/libstatgrab/docs/libstatgrab/sg_get_process_stats.xml (1.7),
projects/libstatgrab/docs/libstatgrab/statgrab.xml (1.9):

Document the new process stats code a bit, and the error reporting code.
No mention of the sorting stuff, because I'm not sure how that works.

That's it for new stuff - assuming I haven't missed anything.

2004-05-02 Sunday 18:39 committed by tdb

projects/libstatgrab/docs/Makefile.am (1.25),
projects/libstatgrab/docs/sg_get_cpu_stats.xml (1.6, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/sg_get_process_stats.xml (1.6),
projects/libstatgrab/docs/statgrab.xml (1.8),
projects/libstatgrab/docs/libstatgrab/sg_get_cpu_stats.xml (1.6, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/libstatgrab/sg_get_process_stats.xml (1.6),
projects/libstatgrab/docs/libstatgrab/statgrab.xml (1.8):

                

stats (new stuff),

Another pass, finish off the main page and fix a few problems.

related stuff.

2004-05-02 Sunday 18:21 committed by tdb

projects/libstatgrab/docs/Makefile.am (1.24),
projects/libstatgrab/docs/sg_get_cpu_stats.xml (1.5),
projects/libstatgrab/docs/sg_get_disk_io_stats.xml (1.7, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/sg_get_host_info.xml (1.5, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/sg_get_load_stats.xml (1.5, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/sg_get_mem_stats.xml (1.5, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/sg_get_network_iface_stats.xml (1.5, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/sg_get_network_io_stats.xml (1.7, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/sg_get_page_stats.xml (1.5, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/sg_get_process_stats.xml (1.5),
projects/libstatgrab/docs/sg_get_user_stats.xml (1.5, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/libstatgrab/sg_get_cpu_stats.xml (1.5),
projects/libstatgrab/docs/libstatgrab/sg_get_disk_io_stats.xml (1.7, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/libstatgrab/sg_get_host_info.xml (1.5, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/libstatgrab/sg_get_load_stats.xml (1.5, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/libstatgrab/sg_get_mem_stats.xml (1.5, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/libstatgrab/sg_get_network_iface_stats.xml (1.5, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/libstatgrab/sg_get_network_io_stats.xml (1.7, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/libstatgrab/sg_get_page_stats.xml (1.5, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/docs/libstatgrab/sg_get_process_stats.xml (1.5),
projects/libstatgrab/docs/libstatgrab/sg_get_user_stats.xml (1.5, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10):

First pass as updating contents of documentation.

2004-05-02 Sunday 10:35 committed by tdb

projects/libstatgrab/docs/cpu_percent_usage.xml (1.4),
projects/libstatgrab/docs/get_diskio_stats.xml (1.6),
projects/libstatgrab/docs/get_general_stats.xml (1.4),
projects/libstatgrab/docs/get_load_stats.xml (1.4),
projects/libstatgrab/docs/get_memory_stats.xml (1.4),
projects/libstatgrab/docs/get_network_iface_stats.xml (1.4),
projects/libstatgrab/docs/get_network_stats.xml (1.6),
projects/libstatgrab/docs/get_page_stats.xml (1.4),
projects/libstatgrab/docs/get_process_stats.xml (1.4),
projects/libstatgrab/docs/get_user_stats.xml (1.4),
projects/libstatgrab/docs/sg_get_cpu_stats.xml (1.4),
projects/libstatgrab/docs/sg_get_disk_io_stats.xml (1.6),
projects/libstatgrab/docs/sg_get_host_info.xml (1.4),
projects/libstatgrab/docs/sg_get_load_stats.xml (1.4),
projects/libstatgrab/docs/sg_get_mem_stats.xml (1.4),
projects/libstatgrab/docs/sg_get_network_iface_stats.xml (1.4),
projects/libstatgrab/docs/sg_get_network_io_stats.xml (1.6),
projects/libstatgrab/docs/sg_get_page_stats.xml (1.4),
projects/libstatgrab/docs/sg_get_process_stats.xml (1.4),
projects/libstatgrab/docs/sg_get_user_stats.xml (1.4),
projects/libstatgrab/docs/libstatgrab/sg_get_cpu_stats.xml (1.4),
projects/libstatgrab/docs/libstatgrab/sg_get_disk_io_stats.xml (1.6),
projects/libstatgrab/docs/libstatgrab/sg_get_host_info.xml (1.4),
projects/libstatgrab/docs/libstatgrab/sg_get_load_stats.xml (1.4),
projects/libstatgrab/docs/libstatgrab/sg_get_mem_stats.xml (1.4),
projects/libstatgrab/docs/libstatgrab/sg_get_network_iface_stats.xml (1.4),
projects/libstatgrab/docs/libstatgrab/sg_get_network_io_stats.xml (1.6),
projects/libstatgrab/docs/libstatgrab/sg_get_page_stats.xml (1.4),
projects/libstatgrab/docs/libstatgrab/sg_get_process_stats.xml (1.4),
projects/libstatgrab/docs/libstatgrab/sg_get_user_stats.xml (1.4):

Do a repo copy of the documentation to their new names, then delete the old
ones. They still need their content updating though. We also need docs for
the new process stats stuff, the error reporting code, and I think the FS
stats which seem to be missing.

2004-04-09 Friday 00:30 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.72, LIBSTATGRAB_0_10):

Skip over argv pointers on OpenBSD.

2004-04-08 Thursday 18:20 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.71):

Attempt to rework the command line argument fetching - mallocing 256Kb was
a bit on the large side. Now we start with something sensible and make it
bigger as required.

This produces odd results on OpenBSD.

2004-04-08 Thursday 15:30 committed by tdb

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.68, LIBSTATGRAB_0_10):

Fix bugs in error code.

2004-04-08 Thursday 14:44 committed by ats

projects/libstatgrab/examples/network_iface_stats.c (1.6, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.67),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.68, LIBSTATGRAB_0_10),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.70),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.49, LIBSTATGRAB_0_10):

Add comparison functions for names where that's likely to be useful.

Make the network_iface_stats example show how to use bsearch to find an
interface by name.

2004-04-08 Thursday 14:16 committed by ats

projects/libstatgrab/examples/process_snapshot.c (1.10, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.69),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.48):

Nuke sg_process_sort, and make the process stats example demonstrate how
to sort using the compare functions and qsort.

2004-04-08 Thursday 14:03 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.68),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.47):

s/sg_sort_method/sg_process_sort_method/

2004-04-08 Thursday 13:40 committed by pajs

projects/libstatgrab/src/libstatgrab/process_stats.c (1.67),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.46):

Name change for future friendlyness.

2004-04-08 Thursday 12:26 committed by pajs

projects/libstatgrab/src/libstatgrab/process_stats.c (1.66),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.45):

Added some generic sorting methods for process_stats.

2004-04-08 Thursday 12:14 committed by ats

projects/libstatgrab/src/libstatgrab/error.c (1.11, LIBSTATGRAB_0_10):

... and include tools.h to get the definition of sg_strlcpy.

2004-04-08 Thursday 12:01 committed by ats

projects/libstatgrab/src/libstatgrab/error.c (1.10):

sg_strlcpy, not strlcpy.

(I think that bit of code's won the "most errors in a three-line commit"
award...)

2004-04-08 Thursday 11:56 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.67),
projects/libstatgrab/src/libstatgrab/tools.c (1.52, LIBSTATGRAB_0_10),
projects/libstatgrab/src/libstatgrab/tools.h (1.24, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10):

Shift a bunch of parsing functions to be linux/cygwin only. Prompted by
a regex related compile error on FreeBSD (we don't use regex's on FreeBSD).

2004-04-07 Wednesday 22:47 committed by tdb

projects/libstatgrab/examples/vm_stats.c (1.11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/src/libstatgrab/error.c (1.9):

Bugfix in error setting code - we can't strlcpy a NULL.
Test out the error code in an example.

2004-04-07 Wednesday 22:20 committed by ats

projects/libstatgrab/src/libstatgrab/statgrab.h (1.44):

Remove a couple of FIXMEs that have been dealt with.

2004-04-07 Wednesday 22:19 committed by ats

projects/libstatgrab/src/libstatgrab/error.c (1.8),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.43):

Add sg_get_error_arg. It uses a static buffer for storage rather than
sg_update_string because we can't do anything about a malloc failure at
that point.

Remove the default case in the switch, so GCC will give an "unhandled
enum value in switch" warning if we add a new error code without a
string.

2004-04-07 Wednesday 22:08 committed by tdb

projects/libstatgrab/src/libstatgrab/error.c (1.7),
projects/libstatgrab/src/libstatgrab/load_stats.c (1.15, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.27, LIBSTATGRAB_0_10),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.66),
projects/libstatgrab/src/libstatgrab/os_info.c (1.18, LIBSTATGRAB_0_10),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.21, LIBSTATGRAB_0_10),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.65),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.42),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.20, LIBSTATGRAB_0_10),
projects/libstatgrab/src/libstatgrab/tools.c (1.51),
projects/libstatgrab/src/libstatgrab/user_stats.c (1.25, LIBSTATGRAB_0_10):

The rest of the error handling stuff (except the vector code).

I've been extremely unimaginative with the string names in error.c, but
they're all in one place so much easier to tidy up. I'm also beginning to
wonder if we actually needed an SG_ERROR_SYSTEM_CALL to indicate some call
into the system failed - because the majority of our errors are those :-)

Still to do, then:
 - vector code
 - better string names in error.c
 - deal with arg string in some way
 - make use of the error status in statgrab/saidar/examples

2004-04-07 Wednesday 16:50 committed by tdb

projects/libstatgrab/examples/process_snapshot.c (1.9),
projects/libstatgrab/src/saidar/saidar.c (1.29, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/src/statgrab/statgrab.c (1.26, LIBSTATGRAB_0_10):

More whitespace tidyup (spaces->tabs).

2004-04-07 Wednesday 16:46 committed by pajs

projects/libstatgrab/src/libstatgrab/process_stats.c (1.64),
projects/libstatgrab/src/libstatgrab/tools.c (1.50):

Fixed tools.c change of enum
Fixed a FD leak in solaris and added nice value.

2004-04-07 Wednesday 15:45 committed by pajs

projects/libstatgrab/src/libstatgrab/process_stats.c (1.62):

More linux code, now does uid/gid.

2004-04-07 Wednesday 15:36 committed by ats

projects/libstatgrab/src/libstatgrab/vector.c (1.8):

Include tools.h to get sg_realloc.

2004-04-07 Wednesday 11:33 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.64),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.61),
projects/libstatgrab/src/libstatgrab/tools.c (1.48),
projects/libstatgrab/src/libstatgrab/vector.c (1.7):

Change malloc -> sg_malloc, realloc -> sg_realloc, and rewrite the one
calloc call to use sg_malloc.

2004-04-07 Wednesday 11:27 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.60),
projects/libstatgrab/src/libstatgrab/tools.c (1.47):

Change the last few instances of strdup to use sg_update_string.

2004-04-06 Tuesday 23:09 committed by ats

projects/libstatgrab/src/libstatgrab/error.c (1.2),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.37):

Add SG_ERROR_NONE.

Make sg_str_error return const char *.

2004-04-06 Tuesday 22:38 committed by tdb

projects/libstatgrab/src/libstatgrab/Makefile.am (1.24),
projects/libstatgrab/src/libstatgrab/error.c (1.1),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.36):

Some very basic startings of error handling stuff. I've not put much
thought into this yet, it's basically just the idea we've discussed.

Of course, this is the easy task. The hard job is creating a whole list of
different errors and using them across libstatgrab :-)

2004-04-06 Tuesday 22:08 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.59),
projects/libstatgrab/src/libstatgrab/statgrab_deprecated.c (1.2, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10):

Fix a couple of includes.

2004-04-06 Tuesday 18:55 committed by ats

projects/libstatgrab/src/libstatgrab/tools.c (1.45):

Consistently return -1 for error.

2004-04-06 Tuesday 18:42 committed by ats

projects/libstatgrab/src/libstatgrab/tools.c (1.44):

NetBSD's sysctl sometimes (repeatably) misreports the size of struct uvmexp.
Fortunately, it's a fixed-size structure anyway, so we don't need to
dynamically allocate it.

We probably should be using struct uvmexp_sysctl anyway, since it's ABI-stable.

2004-04-06 Tuesday 17:37 committed by tdb

projects/libstatgrab/configure.in (1.67, LIBSTATGRAB_0_10),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.23),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.35),
projects/libstatgrab/src/libstatgrab/statgrab_deprecated.c (1.1),
projects/libstatgrab/src/libstatgrab/statgrab_deprecated.h (1.1, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10):

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.

2004-04-06 Tuesday 17:29 committed by pajs

projects/libstatgrab/src/libstatgrab/process_stats.c (1.58):

A bit more of the linux code.. Need to do uid/gid bit still.
Also, haven't done nice on solaris yet.

2004-04-06 Tuesday 15:54 committed by tdb

projects/libstatgrab/src/libstatgrab/vector.h (1.7, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10):

Add header block.

2004-04-06 Tuesday 15:52 committed by tdb

projects/libstatgrab/examples/cpu_usage.c (1.10, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/examples/disk_traffic.c (1.10, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/examples/load_stats.c (1.10, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/examples/network_iface_stats.c (1.5),
projects/libstatgrab/examples/network_traffic.c (1.14, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/examples/os_info.c (1.8, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/examples/page_stats.c (1.9, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/examples/process_snapshot.c (1.8),
projects/libstatgrab/examples/process_stats.c (1.10, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/examples/user_list.c (1.10, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/examples/vm_stats.c (1.10),
projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.21),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.63),
projects/libstatgrab/src/libstatgrab/load_stats.c (1.13),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.25),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.64),
projects/libstatgrab/src/libstatgrab/os_info.c (1.16),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.19),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.57),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.34),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.19),
projects/libstatgrab/src/libstatgrab/tools.c (1.43),
projects/libstatgrab/src/libstatgrab/tools.h (1.22),
projects/libstatgrab/src/libstatgrab/user_stats.c (1.23),
projects/libstatgrab/src/libstatgrab/vector.c (1.6),
projects/libstatgrab/src/saidar/saidar.c (1.28),
projects/libstatgrab/src/statgrab/statgrab-make-mrtg-config.in (1.5, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/src/statgrab/statgrab-make-mrtg-index.in (1.7, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/src/statgrab/statgrab.c (1.25),
projects/pystatgrab/_statgrab.pyx (1.11),
projects/pystatgrab/setup.py (1.14),
projects/pystatgrab/statgrab.py (1.3):

Update name of project at the top of all soure files. These files now exist
in their own right, rather than as part of the "CMS".

2004-04-06 Tuesday 15:44 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.56):

Add a note about something that needs fixing. We still have problems
getting proctitle on some of the BSD's :-(

2004-04-06 Tuesday 15:21 committed by tdb

projects/libstatgrab/PLATFORMS (1.7, LIBSTATGRAB_0_10):

Add mention of NetBSD 2.0.
I'm not sure of the best way to format this.. we have platforms we
expect to work, and platforms we know to work. For example, we might
not have tested OpenBSD 3.4 but we're pretty sure it works.

2004-04-06 Tuesday 14:40 committed by tdb

projects/libstatgrab/configure.in (1.66),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.55):

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).

2004-04-05 Monday 20:55 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.54):

To quote from the FreeBSD kernel source: "/* overestimate by 5 procs */".
This is the workaround.

2004-04-05 Monday 19:10 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.62),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.63),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.53),
projects/libstatgrab/src/libstatgrab/tools.c (1.42),
projects/libstatgrab/src/libstatgrab/tools.h (1.21):

Make sg_update_string return an int to indicate success, so that it can
be used to set a string to NULL.

Make Linux process_stats code set proctitle to NULL if it's empty rather
than "".

2004-04-05 Monday 16:40 committed by ats

projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.20),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.61),
projects/libstatgrab/src/libstatgrab/load_stats.c (1.12),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.24),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.62),
projects/libstatgrab/src/libstatgrab/os_info.c (1.15),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.18),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.52),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.33),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.18),
projects/libstatgrab/src/libstatgrab/tools.c (1.41),
projects/libstatgrab/src/libstatgrab/tools.h (1.20),
projects/libstatgrab/src/libstatgrab/user_stats.c (1.22),
projects/libstatgrab/src/libstatgrab/vector.c (1.5),
projects/libstatgrab/src/libstatgrab/vector.h (1.6),
projects/libstatgrab/src/saidar/saidar.c (1.27),
projects/libstatgrab/src/statgrab/statgrab.c (1.24):

Rename all the functions, types and enums in the API to be consistent.
Types are now of the form "sg_mem_stats"; functions of the form
"sg_get_mem_stats"; enums of the form "SG_PROCESS_STATE_RUNNING".
(The old get_proc_snapshot follows the usual calling convention now.)

Make internal functions static where possible.

Rename non-static internal functions to have an sg_ prefix so they don't
collide with those from other libraries. In particular, strlcpy and
strlcat are now called sg_strlcpy and sg_strlcat and are always
included.

Fix saidar and statgrab to use the new API.

2004-04-05 Monday 12:21 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.51):

Fixed, and properly tested.

2004-04-05 Monday 10:33 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.50):

Instead of reallocing on the fly, work out the size of the buffer in
advance and then fill it on a second pass. Suggested by Adam.

2004-04-05 Monday 02:44 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.49):

NULL -> \0, initialise malloced memory to \0, and plug a memory leak.

2004-04-05 Monday 02:41 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.48):

Use vectors and update_string. (I haven't really touched the BSD code
here yet.)

2004-04-05 Monday 02:06 committed by ats

projects/libstatgrab/src/libstatgrab/tools.c (1.40):

Kill a memory leak when the mapping already exists.

2004-04-05 Monday 01:59 committed by ats

projects/libstatgrab/src/libstatgrab/user_stats.c (1.21):

Add a missing check for vector resize failing.

2004-04-05 Monday 01:58 committed by ats

projects/libstatgrab/src/libstatgrab/vector.c (1.4),
projects/libstatgrab/src/libstatgrab/vector.h (1.5):

Fix the strict-aliasing problem in a clean, sensible way that actually
works.

As a bonus, we now get a "value computed is not used" warning from GCC
if we don't check the return value of VECTOR_RESIZE. (This is dubiously
a bonus when it's being resized to 0, but it's not going to hurt to
check even then -- we might support destructors failing in the future.)

2004-04-05 Monday 01:45 committed by ats

projects/libstatgrab/src/libstatgrab/vector.c (1.3),
projects/libstatgrab/src/libstatgrab/vector.h (1.4):

Fix the strict-aliasing warnings.

This is even uglier than the previous code, since it pushes a test for a
sentinel value into the VECTOR_RESIZE macro. I'm pretty certain that the
pointer-to-static-used-as-sentinel is my own invention. I'm not entirely
convinced that it's a good idea, but I can't see anything technically
wrong with it...

2004-04-05 Monday 01:21 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.47):

We nearly forgot to make the process stats work on cygwin again :-)

2004-04-05 Monday 01:20 committed by ats

projects/libstatgrab/src/libstatgrab/vector.c (1.2),
projects/libstatgrab/src/libstatgrab/vector.h (1.3):

Deal with vectors as char ** rather than void **, so we can do pointer
arithmetic without Sun cc complaining.

2004-04-05 Monday 01:17 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.61),
projects/libstatgrab/src/libstatgrab/tools.c (1.39):

Fix a couple of warnings on Solaris.

2004-04-05 Monday 01:16 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.60):

Use update_string.

2004-04-05 Monday 01:07 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.60):

Use update_string throughout.

2004-04-05 Monday 01:01 committed by ats

projects/libstatgrab/src/libstatgrab/tools.c (1.38),
projects/libstatgrab/src/libstatgrab/tools.h (1.19):

Add prototype for get_svr_from_bsd, and make it take and return const
char *.

2004-04-05 Monday 00:57 committed by tdb

projects/libstatgrab/examples/process_snapshot.c (1.6),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.46):

Returning NULL in a function that returns int's is wrong :)

Now returns -1 on failure. Also change code that calls us to check for < 0
for failures.

2004-04-05 Monday 00:55 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.59),
projects/libstatgrab/src/libstatgrab/tools.c (1.37),
projects/libstatgrab/src/libstatgrab/tools.h (1.18):

I like copy_string. We should use it EVERYWHERE. Also, the name needed
changing.

2004-04-05 Monday 00:48 committed by ats

projects/libstatgrab/src/libstatgrab/tools.c (1.36):

Fix realloc memory leak.

2004-04-05 Monday 00:45 committed by ats

projects/libstatgrab/src/libstatgrab/user_stats.c (1.20):

Rework user_stats to use vectors, which gets rid of all the
MAX_LOGIN_NAME_SIZE stuff too.

2004-04-05 Monday 00:35 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.45):

Minor bugfixes.

2004-04-05 Monday 00:26 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.58):

Convert another realloc-managed static array to a vector.

2004-04-05 Monday 00:24 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.44):

Fix a bunch of silly errors.

2004-04-04 Sunday 23:52 committed by tdb

projects/libstatgrab/examples/process_snapshot.c (1.5):

get_proc_snapshot returns an int, not a pointer.

2004-04-04 Sunday 23:52 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.59):

Make network_stats use vectors.

2004-04-04 Sunday 23:40 committed by ats

projects/libstatgrab/src/libstatgrab/tools.h (1.16):

atoll's a static helper function; it shouldn't be in the header.

2004-04-04 Sunday 23:29 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.57):

Make copy_string not leak memory on realloc() failure.
Make copy_string static.

We probably ought to move copy_string to tools.c/h at some point in the
future, since it's useful.

2004-04-04 Sunday 23:18 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.56):

Make disk_stats use vectors.

(Note that this introduces some harmless strict aliasing warnings on GCC
3.3; I'll do something about that later.)

2004-04-04 Sunday 23:09 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.42),
projects/libstatgrab/src/libstatgrab/tools.c (1.34):

Add an get_kvm2 function to open kvm with slightly different args. This
set of args doesn't seem to need elevated privileges, but in my last test
wouldn't perform the functions required in swap_stats.

2004-04-04 Sunday 22:59 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.23):

Fix TIME_T printing on systems where time_t isn't a long.

2004-04-04 Sunday 22:44 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.40):

Silence a (harmless) "enumeration value `UNKNOWN' not handled in switch"
error.

2004-04-04 Sunday 22:42 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.39):

get_proc_snapshot returns an integer, not a pointer.

2004-04-04 Sunday 22:40 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.38):

Silence 40-odd (harmless) "use of assignment suppression and length
modifier together" errors.

2004-04-04 Sunday 22:38 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.57):

Silence another (harmless) "may be used uninitialised" error.

2004-04-04 Sunday 22:38 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.55):

Silence a (harmless) "may be used uninitialised" error.

2004-04-04 Sunday 22:35 committed by tdb

projects/libstatgrab/configure.in (1.65):

No longer need kvm on FreeBSD 5, OpenBSD, and NetBSD.

2004-04-04 Sunday 22:34 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.37):

This has been a bit more complex than it probably should have been. We now
have the command line arguments on FreeBSD5, NetBSD, and probably OpenBSD
without using kvm. The sysctl interface provided the required information.

However, on FreeBSD 4 and Dragonfly BSD there was no matching sysctl
interface, so the kvm way remains. Fortunately neither of those two OS's
require elevated privileges to use that bit of kvm.

Finally in a decent position with no elevated privileges required for this
section of code, on any of the BSD's.

Still one bug to fix: there are 5 "null" processes on the end of the list.
This has been introduced at some point, because it wasn't there yesterday.

2004-04-04 Sunday 22:33 committed by ats

projects/libstatgrab/src/libstatgrab/vector.h (1.2):

Add a macro for declaring static vectors too.

2004-04-04 Sunday 22:17 committed by ats

projects/libstatgrab/src/libstatgrab/Makefile.am (1.22),
projects/libstatgrab/src/libstatgrab/vector.c (1.1),
projects/libstatgrab/src/libstatgrab/vector.h (1.1):

Add generic vector-handling code. This can be used to implement
resizable arrays of objects with optional initialisation/destruction
functions.

2004-04-04 Sunday 17:12 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.36):

                

fails (eg. not enough privs),

Revert to using sysctl instead of kvm to get process stats. This should be
more compatible with NetBSD and OpenBSD. Still need to use kvm to get the
command line args, but this seems unavoidable.

the command line args will just be set to NULL. Seems a fair compromise.

2004-04-04 Sunday 16:56 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.35):

Add support for DragonFly BSD. Seems to be working correctly, and works
without needing any extra privileges. Some stuff comes from proc.h,
whilst some comes from thread.h.

A word of warning - the DragonFly folk seem to be changing a lot of stuff
to do with processes and threads, so it's likely this could break very
easily :-)

2004-04-04 Sunday 12:46 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.34):

Support for OpenBSD, although it suffers the same problems as NetBSD.

2004-04-04 Sunday 12:28 committed by tdb

projects/libstatgrab/configure.in (1.64),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.33):

This adds support for NetBSD, although it currently needs elevated
privileges. I will try and fix that.

2004-04-04 Sunday 12:02 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.32):

Handle failure to get a snapshot.

2004-04-04 Sunday 00:02 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.31):

Add default to case statement which uses the UNKNOWN process state.

2004-04-03 Saturday 23:59 committed by tdb

projects/libstatgrab/examples/process_snapshot.c (1.3),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.30),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.32):

Add support for FreeBSD 4. I suspect this may work on OpenBSD and NetBSD
too, although I'll need to verify that.

Also add an additional process state of UNKNOWN.

2004-04-03 Saturday 22:05 committed by tdb

projects/libstatgrab/configure.in (1.63):

Now need -lkvm on FreeBSD 5.

2004-04-03 Saturday 22:02 committed by tdb

projects/libstatgrab/examples/process_snapshot.c (1.2):

Add test for failure to get stats.

2004-04-03 Saturday 21:33 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.29):

Got the command line args. Now using kvm to get information, although
fortunately this doesn't need any special privileges. Switched to using
kvm to get the process listing too.

When no command line arguments available doing something similar to ps and
putting the command name in brackets.

2004-04-03 Saturday 17:57 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.28):

Fix CPU percentages on FreeBSD 5. Set args to NULL until we can figure out
how to collect them. Still need to add code for other BSD's.

2004-04-03 Saturday 17:55 committed by tdb

projects/libstatgrab/examples/Makefile.am (1.12, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10),
projects/libstatgrab/examples/process_snapshot.c (1.1):

Add process_snapshot example for testing the new process stats code.

2004-04-02 Friday 22:20 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.27):

Reimplement get_process_stats. I presume the plan was to rewrite this to
use the new function for collecting stats :-)

Seems to work on FreeBSD5 - but I'm not entirely convinced my BSD code is
working yet.

2004-03-31 Wednesday 22:15 committed by tdb

projects/cms/source/conient/build.config (1.5),
projects/cms/source/corbaservices/build.config (1.5),
projects/cms/source/server/build.config (1.18):

Various updates due to repository reorganisation.

2004-03-30 Tuesday 23:10 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.26),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.31):

The startings of the BSD code. Only works on FreeBSD 5 so far.

Doesn't yet do command line arguments, or CPU percentages correctly.

2004-03-30 Tuesday 14:41 committed by pajs

projects/libstatgrab/src/libstatgrab/process_stats.c (1.25):

Basic framework for linux.. Doesn't do CPU on a per process basis, as i'm
not sure the best way to approach that yet.

2004-03-28 Sunday 19:22 committed by pajs

projects/libstatgrab/src/libstatgrab/process_stats.c (1.24):

Added the state for solaris

2004-03-28 Sunday 19:07 committed by pajs

projects/libstatgrab/src/libstatgrab/statgrab.h (1.30):

Modifying the type of process states to an enum. The names maybe a touch
unfriendly however..?

2004-03-28 Sunday 19:04 committed by pajs

projects/libstatgrab/src/libstatgrab/process_stats.c (1.23),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.29):

The start of the rework for process_stats to give more information, and
to become a standard proc interface.

2004-03-25 Thursday 23:01 committed by tdb

projects/pystatgrab/NEWS (1.2),
projects/pystatgrab/README (1.3, PYSTATGRAB_0_3, PYSTATGRAB_0_2),
projects/pystatgrab/setup.py (1.13):

pystatgrab now has it's own webpage.

2004-03-22 Monday 01:00 committed by tdb

projects/pystatgrab/setup.py (1.12):

Post release version bump.

2004-03-21 Sunday 13:37 committed by tdb

projects/pystatgrab/setup.py (1.11, PYSTATGRAB_0_1):

sys.exit, not exit.

2004-03-20 Saturday 22:43 committed by tdb

projects/pystatgrab/README (1.2, PYSTATGRAB_0_1),
projects/pystatgrab/setup.py (1.10):

Add more documentation to the README file.

2004-03-20 Saturday 21:34 committed by tdb

projects/pystatgrab/statgrab.py (1.2, PYSTATGRAB_0_1):

Add duplex globals.

2004-03-20 Saturday 21:29 committed by tdb

projects/pystatgrab/MANIFEST.in (1.3, PYSTATGRAB_0_1),
projects/pystatgrab/_statgrab.pyx (1.10, PYSTATGRAB_0_1),
projects/pystatgrab/setup.py (1.9),
projects/pystatgrab/statgrab.py (1.1):

Move the wrapper module to _statgrab, and then add a module to interface
to the user with correct function names.

2004-03-20 Saturday 21:28 committed by tdb

projects/libstatgrab/src/libstatgrab/tools.c (1.33):

We don't need kvm on FreeBSD 5 any more.

2004-03-20 Saturday 19:45 committed by tdb

projects/pystatgrab/MANIFEST.in (1.2),
projects/pystatgrab/setup.py (1.8):

Package should be pystatgrab, not statgrab.
Add ChangeLog to MANIFEST.

2004-03-20 Saturday 19:25 committed by tdb

projects/libstatgrab/Makefile.am (1.17, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10):

The libstatgrab python bindings are now their own package - pystatgrab.

2004-03-20 Saturday 19:25 committed by tdb

projects/pystatgrab/COPYING (1.1, PYSTATGRAB_0_5, PYSTATGRAB_0_4, PYSTATGRAB_0_3, PYSTATGRAB_0_2, PYSTATGRAB_0_1),
projects/pystatgrab/MANIFEST.in (1.1),
projects/pystatgrab/NEWS (1.1, PYSTATGRAB_0_1),
projects/pystatgrab/README (1.1),
projects/pystatgrab/setup.py (1.7):

Modify setup.py to do more exhaustive testing.
Also create statgrab.c using pyrexc if it doesn't exist.

2004-03-19 Friday 23:44 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.54):

People using devfs have partition names longer than 20 characters.

2004-03-17 Wednesday 11:58 committed by ats

projects/libstatgrab/src/libstatgrab/tools.c (1.32):

Add a workaround for NetBSD: the first call to get_uvmexp() doesn't fill
in the structure, so we would normally get junk values on the first call
that used it.

2004-03-11 Thursday 17:35 committed by tdb

projects/libstatgrab/docs/cpu_percent_usage.xml (1.3),
projects/libstatgrab/docs/get_diskio_stats.xml (1.5),
projects/libstatgrab/docs/get_general_stats.xml (1.3),
projects/libstatgrab/docs/get_load_stats.xml (1.3),
projects/libstatgrab/docs/get_memory_stats.xml (1.3),
projects/libstatgrab/docs/get_network_iface_stats.xml (1.3),
projects/libstatgrab/docs/get_network_stats.xml (1.5),
projects/libstatgrab/docs/get_page_stats.xml (1.3),
projects/libstatgrab/docs/get_process_stats.xml (1.3),
projects/libstatgrab/docs/get_user_stats.xml (1.3),
projects/libstatgrab/docs/sg_get_cpu_stats.xml (1.3),
projects/libstatgrab/docs/sg_get_disk_io_stats.xml (1.5),
projects/libstatgrab/docs/sg_get_host_info.xml (1.3),
projects/libstatgrab/docs/sg_get_load_stats.xml (1.3),
projects/libstatgrab/docs/sg_get_mem_stats.xml (1.3),
projects/libstatgrab/docs/sg_get_network_iface_stats.xml (1.3),
projects/libstatgrab/docs/sg_get_network_io_stats.xml (1.5),
projects/libstatgrab/docs/sg_get_page_stats.xml (1.3),
projects/libstatgrab/docs/sg_get_process_stats.xml (1.3),
projects/libstatgrab/docs/sg_get_user_stats.xml (1.3),
projects/libstatgrab/docs/statgrab.xml (1.7),
projects/libstatgrab/docs/libstatgrab/sg_get_cpu_stats.xml (1.3),
projects/libstatgrab/docs/libstatgrab/sg_get_disk_io_stats.xml (1.5),
projects/libstatgrab/docs/libstatgrab/sg_get_host_info.xml (1.3),
projects/libstatgrab/docs/libstatgrab/sg_get_load_stats.xml (1.3),
projects/libstatgrab/docs/libstatgrab/sg_get_mem_stats.xml (1.3),
projects/libstatgrab/docs/libstatgrab/sg_get_network_iface_stats.xml (1.3),
projects/libstatgrab/docs/libstatgrab/sg_get_network_io_stats.xml (1.5),
projects/libstatgrab/docs/libstatgrab/sg_get_page_stats.xml (1.3),
projects/libstatgrab/docs/libstatgrab/sg_get_process_stats.xml (1.3),
projects/libstatgrab/docs/libstatgrab/sg_get_user_stats.xml (1.3),
projects/libstatgrab/docs/libstatgrab/statgrab.xml (1.7):

Put libstatgrab URL, rather than i-scream URL, in the docs.

2004-03-09 Tuesday 18:57 committed by tdb

projects/libstatgrab/configure.in (1.62),
projects/pystatgrab/setup.py (1.6):

Post release version increment.

2004-03-09 Tuesday 13:50 committed by tdb

projects/libstatgrab/docs/get_network_iface_stats.xml (1.2, LIBSTATGRAB_0_9),
projects/libstatgrab/docs/sg_get_network_iface_stats.xml (1.2, LIBSTATGRAB_0_9),
projects/libstatgrab/docs/libstatgrab/sg_get_network_iface_stats.xml (1.2, LIBSTATGRAB_0_9):

Mention what UNKNOWN_DUPLEX could mean.

2004-03-09 Tuesday 12:43 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.56, LIBSTATGRAB_0_9):

Rework transfer_diff so that it doesn't need an inexpressible constant
on 64-bit systems.
Add OpenBSD to the platforms with 32-bit transfer stats.

2004-03-09 Tuesday 12:34 committed by tdb

projects/libstatgrab/PLATFORMS (1.6, LIBSTATGRAB_0_9):

Add note about privileges, and more comment on state of cygwin port.

2004-03-09 Tuesday 12:25 committed by tdb

projects/libstatgrab/NEWS (1.25, LIBSTATGRAB_0_9):

Add note about PLATFORMS to the NEWS file.

2004-03-09 Tuesday 12:24 committed by tdb

projects/libstatgrab/PLATFORMS (1.5),
projects/libstatgrab/README (1.9, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10, LIBSTATGRAB_0_9):

Add platform specific notes (particularly on required privileges) to
the PLATFORMS file.

2004-03-09 Tuesday 11:29 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.55):

Add a FIXME note on the network interface stats code; some Solaris
interfaces have packet counts but not byte counts, so it would be useful
to return those once we have a way of indicating the byte count is
unknown.

2004-03-08 Monday 14:27 committed by tdb

projects/libstatgrab/NEWS (1.24),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.21, LIBSTATGRAB_0_9):

Getting ready for 0.9.

2004-03-08 Monday 13:48 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.54):

On OpenBSD IFM_1000_TX is defined to be IFM_1000_T. We can't have both in
our case statement, so ignore IFM_1000_TX.

2004-03-08 Monday 12:31 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.53):

Add support for new network stats on Solaris. Please check this change cos
this is the first time I've coded Solaris stuff :-)

2004-03-08 Monday 12:30 committed by tdb

projects/libstatgrab/examples/network_traffic.c (1.11, LIBSTATGRAB_0_9):

The values are long long, not long.

2004-03-08 Monday 11:58 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.52):

Change MAXVAL to Hex. I've made an assumption that they were +1 too big
before. I might be wrong, though.

2004-03-08 Monday 11:58 committed by tdb

projects/libstatgrab/examples/network_traffic.c (1.10):

Fix layout problems with network traffic example.

2004-03-06 Saturday 23:03 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.51):

"And if a 4 turned out to be 9, I don't mind, I don't mind..."
Fix regexec result count.

2004-03-06 Saturday 22:41 committed by tdb

projects/libstatgrab/examples/network_iface_stats.c (1.3, LIBSTATGRAB_0_9):

Fix bug in network_iface_stats example - I forgot to increment pointer :-)

2004-03-06 Saturday 22:37 committed by tdb

projects/libstatgrab/examples/network_traffic.c (1.9):

Update network traffic example to make it aware of new data.

2004-03-06 Saturday 22:34 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.22, LIBSTATGRAB_0_9):

Chase new network interface stats.

2004-03-06 Saturday 22:30 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.50):

Make the network stats regexp simpler. Since /proc/net/dev is a fixed
format, there's no need to use [[:space:]] and [[:digit:]]; a literal
space and [0-9] will suffice.

2004-03-06 Saturday 22:27 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.49):

Make the regexp match array the right size for Linux.

2004-03-06 Saturday 22:11 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.9):

Add new features to python wrapper.

2004-03-06 Saturday 21:56 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.48):

Add support for errors/packets/collisions to Linux.

2004-03-06 Saturday 21:49 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.47):

Make the rest of the code aware of the new values in the struct.

2004-03-06 Saturday 19:04 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.46):

Add getting errors, packets, and collisions for network interfaces on BSD.

2004-03-04 Thursday 23:38 committed by tdb

projects/libstatgrab/src/libstatgrab/statgrab.h (1.28, LIBSTATGRAB_0_9):

An "idea" what the network stats might look like with extra stuff in. Pete,
please approve/fix then I'll do the BSD code :-)

2004-03-04 Thursday 11:27 committed by tdb

projects/cms/source/reports/rrdgraphing/graph.pl (1.13),
projects/cms/source/reports/rrdgraphing/watch.pl (1.7):

Latest versions of the rrdgraphing code. Some graphs now use areas, others
use stacks. Added cache memory, and our mail queue graphs.

2004-02-18 Wednesday 17:29 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.21):

Buggy Solaris qsort/bsearch still try to access the array if the length
is zero.

2004-02-15 Sunday 21:18 committed by tdb

projects/libstatgrab/configure.in (1.60),
projects/libstatgrab/src/saidar/Makefile.am (1.6, LIBSTATGRAB_0_10, LIBSTATGRAB_0_9),
projects/libstatgrab/src/statgrab/Makefile.am (1.9, LIBSTATGRAB_0_10, LIBSTATGRAB_0_9):

Seems we sometimes need root privs on linux :/

2004-02-15 Sunday 17:47 committed by tdb

projects/libstatgrab/AUTHORS (1.7, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10, LIBSTATGRAB_0_9):

Update AUTHORS; it's not quite so clear cut anymore, so just list
names.

2004-02-14 Saturday 20:42 committed by ats

projects/libstatgrab/src/libstatgrab/tools.h (1.14):

get_kvm() only on FreeBSD.

2004-02-14 Saturday 19:21 committed by tdb

projects/libstatgrab/configure.in (1.59):

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.

2004-02-14 Saturday 19:03 committed by tdb

projects/libstatgrab/configure.in (1.58),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.15):

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.

2004-02-14 Saturday 18:07 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.8):

Chase changes in statgrab.h.

2004-02-14 Saturday 16:58 committed by ats

projects/libstatgrab/configure.in (1.57),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.44):

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).

2004-02-14 Saturday 16:43 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.21):

Move free inside the right #ifdef, and fix a memory leak when sysctl fails.

2004-02-14 Saturday 16:12 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.20):

Look at all the process states on all the BSD's. Tidly done using ifdef's.

2004-02-14 Saturday 15:48 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.43):

ifaces doesn't need to be static.

2004-02-14 Saturday 13:43 committed by ats

projects/libstatgrab/src/libstatgrab/tools.c (1.30):

There's no need to get_uvmexp on startup on NetBSD any more.

2004-02-14 Saturday 12:38 committed by tdb

projects/libstatgrab/src/libstatgrab/tools.c (1.29),
projects/libstatgrab/src/libstatgrab/tools.h (1.13):

kvm is now only needed for FreeBSD, so change defines accordingly.

2004-02-14 Saturday 12:22 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.42):

Define u64 to fix Linux 2.4.21 build.

2004-02-14 Saturday 12:20 committed by tdb

projects/libstatgrab/configure.in (1.56):

NetBSD and OpenBSD no longer need any elevated privileges, or any extra
libraries to link against.

2004-02-14 Saturday 11:33 committed by pajs

projects/libstatgrab/src/libstatgrab/network_stats.c (1.41):

Fixed compile error. We not sure that link_up gets us what we want tho.

2004-02-14 Saturday 02:56 committed by tdb

projects/libstatgrab/src/libstatgrab/process_stats.c (1.19):

Switch process stats to using sysctl on ALLBSD. On OpenBSD and hopefully
NetBSD (this hasn't been tested yet - but I'm quite confident) this means
we no longer need any elevated privileges.

2004-02-14 Saturday 00:47 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.40):

Rearrange the BSD network_iface_stat code in the same way as the Linux code;
try SIOCGIFFLAGS first to find out whether the interface is up, then only
fill in the other information if it's available.

2004-02-14 Saturday 00:29 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.39):

Make the unknown speed 0 to match the BSD code.

2004-02-14 Saturday 00:27 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.38):

Tidy up the Linux iface_stat code.

- fclose(f) once we're done to avoid fd leak
- no need to malloc struct ethtool_cmd since it's of constant size (and
  this avoids some odd-looking casts)
- use switch rather than multiple ifs for duplex codes
- use SIOCGIFFLAGS ioctl first to find out whether the interface is up,
  since this works on all interfaces

The user-visible change here is that ->speed and ->dup now get filled in
with -1, UNKNOWN_DUPLEX for interfaces that don't support SIOCETHTOOL.
Fixing this properly is on the todo list...

2004-02-14 Saturday 00:08 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.37):

Rename BSD "int s" to "int sock" to match Linux code and fix compile error.
Make BSD code set the interface name before calling ioctl so it gets the
stats for the right interface.

2004-02-14 Saturday 00:06 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.20):

Add support for interface .up.

2004-02-14 Saturday 00:04 committed by ats

projects/libstatgrab/src/libstatgrab/memory_stats.c (1.22),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.14):

uvm.h needs sys/time.h on NetBSD to get struct timeval.

2004-02-13 Friday 18:54 committed by pajs

projects/libstatgrab/src/libstatgrab/network_stats.c (1.36):

*bsd didn't do what i wanted. Still needs testing for all platforms.

2004-02-13 Friday 18:45 committed by pajs

projects/libstatgrab/src/libstatgrab/network_stats.c (1.35),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.27):

Added up/down interface detection. Not tested (or even compiled) on any
os. So that really needs to be done :)

2004-02-13 Friday 17:53 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.7):

Chase statgrab_duplex name changes.
Add variables that can be accessed within python for the duplex enum.

2004-02-13 Friday 16:46 committed by tdb

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.52),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.21),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.16),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.13),
projects/libstatgrab/src/libstatgrab/tools.h (1.12):

Finish support for OpenBSD.

Get disknames out of sysctl as well for Disk IO.
Fix memory/page/swap stats to use get_uvmexp in tools.c (same as NetBSD).

2004-02-13 Friday 15:51 committed by tdb

projects/libstatgrab/examples/network_iface_stats.c (1.2):

Remove debugging line.

2004-02-13 Friday 15:40 committed by tdb

projects/libstatgrab/examples/Makefile.am (1.11, LIBSTATGRAB_0_9),
projects/libstatgrab/examples/network_iface_stats.c (1.1),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.34):

Add example for network_iface_stats.
Fix duplex on Solaris.

2004-02-13 Friday 15:29 committed by pajs

projects/libstatgrab/src/libstatgrab/network_stats.c (1.33):

Solaris bug fix for duplex detection.

2004-02-13 Friday 15:24 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.32):

Fix another DUPEX-for-DUPLEX typo.
Include <unistd.h> to get the definition of close().

2004-02-13 Friday 15:22 committed by ats

projects/libstatgrab/src/libstatgrab/tools.c (1.28):

Use sysctl to read struct uvmexp, since this works on both NetBSD and OpenBSD.

2004-02-13 Friday 15:13 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.19):

Track rename of duplex to statgrab_duplex.

2004-02-13 Friday 15:12 committed by ats

projects/libstatgrab/src/libstatgrab/network_stats.c (1.31):

DUPLEX, not DUPEX.
NetBSD has FreeBSD 5-like speed definitions.

2004-02-13 Friday 14:41 committed by pajs

projects/libstatgrab/src/libstatgrab/network_stats.c (1.30):

Added a couple of forgotten close's.

2004-02-13 Friday 14:39 committed by pajs

projects/libstatgrab/src/libstatgrab/network_stats.c (1.29),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.26):

Couple of name changes, and a tidy up.

2004-02-13 Friday 12:52 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.18):

Add network_iface_stat support.

2004-02-13 Friday 12:03 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.6):

There's no need to return how many entries are in a list at the start of
the list. There's much easier ways to work out how many there are :-)

2004-02-13 Friday 00:16 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.5),
projects/pystatgrab/setup.py (1.5):

Bring the python extension up-to-date with the latest libstatgrab
functions. Still need to look at that enum thing and how best to use it.

2004-02-12 Thursday 23:58 committed by tdb

projects/libstatgrab/src/libstatgrab/network_stats.c (1.28):

Fix on FreeBSD 5. Also add IFM_1000_FX missed on FreeBSD 4.

2004-02-12 Thursday 23:28 committed by tdb

projects/libstatgrab/configure.in (1.55):

We'll almost certainly go with 0.9 for our next release.

2004-02-12 Thursday 23:04 committed by tdb

projects/libstatgrab/PLATFORMS (1.3),
projects/libstatgrab/configure.in (1.54),
projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.18),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.51),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.20),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.15),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.12),
projects/libstatgrab/src/libstatgrab/user_stats.c (1.18):

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.

2004-02-12 Thursday 21:25 committed by pajs

projects/libstatgrab/src/libstatgrab/network_stats.c (1.27):

Added network interface stats for linux.

Points to remember:
a) This code will need to be run as root. Otherwise, it should
   safely return null.
b) the "speed" may be incorrect if the interface is not actually up
   and talking to anything. However, duplex will be set to NO_DUPLEX
   so as long as they use that test first, there should be no problem.
   (This is safe assumption to work on, even for other platforms)
c) This was a nastyish and hard bit of code. Maybe bugs, would appricate
   a look over by people :)

2004-02-10 Tuesday 20:25 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.4):

StatgrabException should be derived from Exception.

2004-02-10 Tuesday 20:16 committed by tdb

projects/pystatgrab/setup.py (1.4):

Post release version increment.

2004-02-10 Tuesday 20:15 committed by tdb

projects/pystatgrab/setup.py (1.3):

Update version.

2004-02-10 Tuesday 20:03 committed by tdb

projects/libstatgrab/configure.in (1.53):

Post release version increment.

2004-02-10 Tuesday 19:50 committed by tdb

projects/libstatgrab/NEWS (1.23, LIBSTATGRAB_0_8_2),
projects/libstatgrab/PLATFORMS (1.2, LIBSTATGRAB_0_8_2),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.20, LIBSTATGRAB_0_8_2):

Update for release of 0.8.2.

2004-02-10 Tuesday 19:04 committed by tdb

projects/pystatgrab/setup.py (1.2):

Make setup.py figure out compiler flags using pkg-config. This makes it
portable across platforms.

2004-02-10 Tuesday 16:42 committed by tdb

projects/libstatgrab/configure.in (1.52, LIBSTATGRAB_0_8_2):

On solaris 6/7 test for libdevinfo and only try to link it if we find it.

2004-02-10 Tuesday 16:23 committed by pajs

projects/libstatgrab/src/libstatgrab/tools.c (1.27, LIBSTATGRAB_0_8_2):

Added extra ifdef due to compile error

2004-02-10 Tuesday 16:16 committed by pajs

projects/libstatgrab/src/libstatgrab/tools.c (1.26):

Ooops, wrong logic and didn't think hard enough about it.

2004-02-10 Tuesday 16:07 committed by pajs

projects/libstatgrab/src/libstatgrab/tools.c (1.25):

Solaris 6 doesn't have libdevinfo. So, as a way to get it to compile, we will
not do the drive mappings sol 6 and lower.

2004-02-10 Tuesday 16:02 committed by tdb

projects/libstatgrab/configure.in (1.51):

Add check for libdevinfo.h

2004-02-10 Tuesday 14:44 committed by pajs

projects/libstatgrab/src/libstatgrab/load_stats.c (1.11, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2):

Fix it so it will actually work :)

2004-02-10 Tuesday 12:24 committed by pajs

projects/libstatgrab/src/libstatgrab/load_stats.c (1.10):

Allow load_stats to work on solaris 6 (and probably 5)

2004-02-10 Tuesday 12:14 committed by tdb

projects/libstatgrab/configure.in (1.50):

Add check for sys/loadavg.h. We need to test for it on Solaris 2.6...

2004-02-09 Monday 23:18 committed by tdb

projects/libstatgrab/Makefile.am (1.16, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2):

statgrabmodule -> statgrab.

2004-02-09 Monday 23:07 committed by tdb

projects/libstatgrab/Makefile.am (1.15),
projects/pystatgrab/_statgrab.pyx (1.3),
projects/pystatgrab/setup.py (1.1):

Add error checking to the python bindings. They previously didn't check
for a NULL response from the libstatgrab functions - which resulted in
python core dumping. It now raises an exception instead.
Also add a first stab at a setup.py so people can quickly build/install
this extension if they want.

2004-02-06 Friday 15:12 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.2):

Return objects instead of hash-like-things :)

2004-02-06 Friday 14:18 committed by tdb

projects/libstatgrab/Makefile.am (1.14):

Add the python wrappers to the Makefile so they're added to the dist.

2004-02-06 Friday 14:10 committed by tdb

projects/pystatgrab/_statgrab.pyx (1.1):

Add libstatgrab python wrapper. This won't be installed with libstatgrab,
or in fact have anything done to it - it's just there if people want it.
If it matures, I'll consider making it a package in it's own right.

2004-01-25 Sunday 20:13 committed by pajs

projects/libstatgrab/src/libstatgrab/network_stats.c (1.26),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.25):

Added code for freebsd to do the network interface speeds. I've put it
under the label ALLBSD however, as i suspect it will work on all the
BSD's of intrest.

2004-01-23 Friday 23:23 committed by pajs

projects/libstatgrab/src/libstatgrab/network_stats.c (1.25),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.24):

Added the ability to get the interface speed/duplex for solaris.
Not really checked code, but it appears to work.

2004-01-21 Wednesday 23:46 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.50, LIBSTATGRAB_0_8_2),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.24, LIBSTATGRAB_0_8_2):

Tidy up get_network_stats_diff and get_diskio_stats_diff.

2004-01-21 Wednesday 14:44 committed by ats

projects/libstatgrab/src/libstatgrab/user_stats.c (1.17, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1):

Fix build on NetBSD.

2004-01-21 Wednesday 11:32 committed by tdb

projects/libstatgrab/src/libstatgrab/user_stats.c (1.16):

Fix compile error on cygwin.

2004-01-21 Wednesday 10:27 committed by tdb

projects/libstatgrab/NEWS (1.22, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/saidar/saidar.c (1.25, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1):

Very minor fix to saidar. It happily accepted a negative number for
it's delay flag - which wasn't overly useful :-)

2004-01-19 Monday 17:01 committed by tdb

projects/libstatgrab/configure.in (1.49):

Post release version increment.

2004-01-19 Monday 16:49 committed by tdb

projects/libstatgrab/AUTHORS (1.6, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/Makefile.am (1.13, LIBSTATGRAB_0_8_1),
projects/libstatgrab/NEWS (1.21),
projects/libstatgrab/README (1.8, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/README.CVS (1.5, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/libstatgrab.pc.in (1.3, LIBSTATGRAB_0_10, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/docs/Makefile.am (1.22, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/examples/Makefile.am (1.10, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/examples/cpu_usage.c (1.7, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/examples/disk_traffic.c (1.7, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/examples/load_stats.c (1.7, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/examples/network_traffic.c (1.8, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/examples/os_info.c (1.6, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/examples/page_stats.c (1.6, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/examples/process_stats.c (1.7, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/examples/user_list.c (1.7, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/examples/vm_stats.c (1.7, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/Makefile.am (1.3, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.19, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.17, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.49, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/load_stats.c (1.9, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.19, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.23, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/os_info.c (1.13, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.14, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.18, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.23, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.11, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/tools.c (1.24, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/tools.h (1.11, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/libstatgrab/user_stats.c (1.15),
projects/libstatgrab/src/saidar/Makefile.am (1.5, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/saidar/saidar.c (1.24),
projects/libstatgrab/src/statgrab/Makefile.am (1.8, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/statgrab/statgrab-make-mrtg-config.in (1.4, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/statgrab/statgrab-make-mrtg-index.in (1.6, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/src/statgrab/statgrab.c (1.17, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1):

A whole bunch of minor cosmetic changes.

2004-01-19 Monday 16:38 committed by tdb

projects/libstatgrab/NEWS (1.20),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.18):

Update relevant files for release of 0.8.1.

2004-01-18 Sunday 23:29 committed by tdb

projects/cms/source/ihost/ihost.c (1.49):

Correct spelling mistake.

2004-01-16 Friday 15:54 committed by tdb

projects/libstatgrab/COPYING (1.1, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/COPYING.LGPL (1.1, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1),
projects/libstatgrab/Makefile.am (1.12),
projects/libstatgrab/README (1.7),
projects/libstatgrab/examples/cpu_usage.c (1.6),
projects/libstatgrab/examples/disk_traffic.c (1.6),
projects/libstatgrab/examples/load_stats.c (1.6),
projects/libstatgrab/examples/network_traffic.c (1.7),
projects/libstatgrab/examples/os_info.c (1.5),
projects/libstatgrab/examples/page_stats.c (1.5),
projects/libstatgrab/examples/process_stats.c (1.6),
projects/libstatgrab/examples/user_list.c (1.6),
projects/libstatgrab/examples/vm_stats.c (1.6),
projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.16),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.48),
projects/libstatgrab/src/libstatgrab/load_stats.c (1.8),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.18),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.22),
projects/libstatgrab/src/libstatgrab/os_info.c (1.12),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.13),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.17),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.22),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.10),
projects/libstatgrab/src/libstatgrab/tools.c (1.23),
projects/libstatgrab/src/libstatgrab/tools.h (1.10),
projects/libstatgrab/src/libstatgrab/user_stats.c (1.14),
projects/libstatgrab/src/saidar/saidar.c (1.23),
projects/libstatgrab/src/statgrab/statgrab-make-mrtg-config.in (1.3),
projects/libstatgrab/src/statgrab/statgrab-make-mrtg-index.in (1.5),
projects/libstatgrab/src/statgrab/statgrab.c (1.16):

Alter the licensing of libstatgrab. The library part is now under the
LGPL, whilst the tools/examples are under the GPL. Both licenses are
included in the distribution (and are both now in CVS). Also made a
minor alteration to the webpage where it said everything was licensed
under the GPL.

2004-01-15 Thursday 22:21 committed by pajs

projects/libstatgrab/src/libstatgrab/tools.c (1.22):

Not the exactly "nice" code. Infact, not entirely happy with it...
But, it makes a *massive* speed increase to the statgrab_init() function on
solaris. It goes from take 15-20 seconds on pelican to < 1.

2004-01-15 Thursday 13:41 committed by tdb

projects/cms/source/server/build/etc/system.conf (1.76),
projects/cms/source/server/uk/org/iscream/cms/server/client/MonitorSkeleton.java (1.17),
projects/cms/source/server/uk/org/iscream/cms/server/client/Register.java (1.21),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/CPU__Monitor.java (1.28),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/DiskIO__Monitor.java (1.2),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Disk__Monitor.java (1.20),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Heartbeat__Monitor.java (1.26),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Load__Monitor.java (1.8),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Memory__Monitor.java (1.17),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/NetIO__Monitor.java (1.2),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Paging__Monitor.java (1.3),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Process__Monitor.java (1.8),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Queue__Monitor.java (1.17),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Services__Monitor.java (1.10),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/Swap__Monitor.java (1.14),
projects/cms/source/server/uk/org/iscream/cms/server/client/monitors/UserCount__Monitor.java (1.7):

Assuming I can still program in Java, these changes allow monitoring to
be disabled at a per-host level or a per-host-per-monitor level.

2004-01-10 Saturday 16:25 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.47),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.21):

Add a couple of missing checks for NULL return values; this fixes the
crash when libstatgrab runs out of FDs.

2004-01-10 Saturday 16:12 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.46):

Don't close f twice.

2004-01-10 Saturday 15:28 committed by ats

projects/libstatgrab/src/libstatgrab/tools.c (1.21):

Fix broken comment.

2004-01-09 Friday 22:06 committed by pajs

projects/libstatgrab/src/libstatgrab/statgrab.h (1.21):

As pointed out by azz.... time_t will be needed, thus the #include of
sys/types.h

2004-01-09 Friday 16:37 committed by pajs

projects/libstatgrab/src/libstatgrab/tools.c (1.20):

Solaris 7 "fix" :)

2004-01-09 Friday 16:31 committed by pajs

projects/libstatgrab/src/libstatgrab/statgrab.h (1.20):

Removed #ifdef's as they should not be there.

2004-01-09 Friday 16:19 committed by pajs

projects/libstatgrab/src/libstatgrab/tools.c (1.19),
projects/libstatgrab/src/libstatgrab/tools.h (1.9):

Added strlcat/strlcpy (taken from openssh). Added a #define for both, and
also atoll which we appear to of forgotten about when it was written.

Removed that #ifdef around get_ll_match as atoll will now always be defined.

2004-01-09 Friday 12:32 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.45):

Oops, yes. f can't be NULL at that point, though.
Fix unterminated comment.

2004-01-09 Friday 10:06 committed by pajs

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.44),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.12):

Fixed leaking fd in diskio_stats code. Fixed a potential leak in page_stats.

2004-01-07 Wednesday 11:37 committed by tdb

projects/cms/source/ihost/ihost.c (1.48, IHOST_1_5_7):

Fix the test of libstatgrab failure. Pete assures me this is right :-)

2004-01-06 Tuesday 23:05 committed by tdb

projects/cms/source/ihost/ihost.c (1.47):

If I'm gonna change the command line arguments I should update the getopt
line aswell :-)

2004-01-06 Tuesday 22:28 committed by pajs

projects/libstatgrab/src/libstatgrab/statgrab.h (1.19),
projects/libstatgrab/src/libstatgrab/user_stats.c (1.13):

Moving the MAX_LOGIN_NAME_SIZE to where it should be.

2004-01-06 Tuesday 17:15 committed by pajs

projects/libstatgrab/docs/statgrab.xml (1.5, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8),
projects/libstatgrab/docs/libstatgrab/statgrab.xml (1.5, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8):

Minor correction in docs.

2004-01-06 Tuesday 17:02 committed by tdb

projects/cms/source/idar/configure.in (1.12),
projects/cms/source/ihost/configure.in (1.31),
projects/libstatgrab/configure.in (1.48, LIBSTATGRAB_0_8_1):

Post-release version increments.

2004-01-06 Tuesday 16:02 committed by tdb

projects/libstatgrab/NEWS (1.19, LIBSTATGRAB_0_8),
projects/libstatgrab/configure.in (1.47, LIBSTATGRAB_0_8):

We're going with 0.8.

2004-01-06 Tuesday 15:49 committed by tdb

projects/libstatgrab/NEWS (1.18):

Add new drop privileges function to NEWS.

2004-01-06 Tuesday 15:35 committed by tdb

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

Add dropping privileges to all the examples.

2004-01-05 Monday 17:29 committed by ats

projects/libstatgrab/examples/network_traffic.c (1.6, LIBSTATGRAB_0_8):

Make one of the examples use statgrab_drop_privileges.

2004-01-05 Monday 17:27 committed by ats

projects/libstatgrab/docs/statgrab.xml (1.4),
projects/libstatgrab/docs/libstatgrab/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 committed by tdb

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

Update shared library version.

2004-01-05 Monday 17:20 committed by ats

projects/libstatgrab/docs/statgrab.xml (1.3),
projects/libstatgrab/docs/libstatgrab/statgrab.xml (1.3),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.18, LIBSTATGRAB_0_8),
projects/libstatgrab/src/libstatgrab/tools.c (1.18, LIBSTATGRAB_0_8),
projects/libstatgrab/src/saidar/saidar.c (1.22, LIBSTATGRAB_0_8),
projects/libstatgrab/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:55 committed by tdb

projects/cms/source/idar/NEWS (1.4, IDAR_1_2):

Update news for new idar.

2004-01-05 Monday 16:52 committed by tdb

projects/cms/source/ihost/NEWS (1.10, IHOST_1_5_7):

Add that ihost isn't statically compiled anymore.

2004-01-05 Monday 16:51 committed by tdb

projects/cms/source/ihost/NEWS (1.9):

Add latest changes to the NEWS file.

2004-01-05 Monday 16:48 committed by tdb

projects/cms/source/ihost/ihost.c (1.46):

A few more minor tidies.

2004-01-05 Monday 16:47 committed by ats

projects/libstatgrab/src/saidar/saidar.c (1.21):

Remove unused variable "gid".

2004-01-05 Monday 16:47 committed by tdb

projects/cms/source/ihost/ihost.c (1.45):

Remove some old commented-out code.

2004-01-05 Monday 16:39 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.14):

Drop setuidness on Solaris.

2004-01-05 Monday 16:02 committed by tdb

projects/cms/source/ihost/configure.in (1.30, IHOST_1_5_7):

Stop statically linking ihost.

2004-01-05 Monday 15:59 committed by tdb

projects/cms/source/idar/configure.in (1.11, IDAR_1_2):

Drop all the platform specific stuff - we only need to do something
slightly different on solaris. Also stop statically linking.

2004-01-05 Monday 15:51 committed by tdb

projects/cms/source/ihost/configure.in (1.29):

Update configure script for ihost. We know about new platforms now.
Also move the test for libstatgrab to a bit later on.

2004-01-05 Monday 15:22 committed by pajs

projects/cms/source/ihost/ihost.c (1.44):

Added statgrab_init.

2004-01-05 Monday 15:04 committed by tdb

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

Update stuff for new release.

2004-01-05 Monday 14:25 committed by pajs

projects/libstatgrab/src/saidar/saidar.c (1.20):

Drop setuid for solaris.

2004-01-05 Monday 14:21 committed by pajs

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

Minor tiding

2003-12-12 Friday 09:48 committed by tdb

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

On Solaris we sometimes need to be setuid root.

2003-12-11 Thursday 14:27 committed by tdb

projects/libstatgrab/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-22 Saturday 16:15 committed by ajm

projects/cms/source/TemplateModule.py (1.7):

jeez I am SO fussy

2003-11-21 Friday 09:24 committed by tdb

projects/libstatgrab/docs/get_diskio_stats.xml (1.4, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8),
projects/libstatgrab/docs/sg_get_disk_io_stats.xml (1.4, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8),
projects/libstatgrab/docs/libstatgrab/sg_get_disk_io_stats.xml (1.4, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8):

Add section about new disk mappings.

2003-11-20 Thursday 23:15 committed by tdb

projects/libstatgrab/Makefile.am (1.11, LIBSTATGRAB_0_8),
projects/libstatgrab/PLATFORMS (1.1, LIBSTATGRAB_0_8_1, 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 13:07 committed by ajm

projects/cms/source/TemplateModule.py (1.6):

differentiated between class and module constants.
added section for module exceptions.
removed module attributes - baaaa'd.
explicitly stated that class attributes should be private.

2003-11-20 Thursday 12:13 committed by tdb

projects/libstatgrab/configure.in (1.45),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.43, LIBSTATGRAB_0_8),
projects/libstatgrab/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 committed by tdb

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

Die nasty incorrect whitespace. Ahem. Excuse me.

2003-11-19 Wednesday 00:09 committed by ajm

projects/cms/source/TemplateModule.py (1.5):

tim and I are just fussy :p

2003-11-19 Wednesday 00:04 committed by ajm

projects/cms/source/TemplateModule.py (1.4):

lame syntax errors and id is back in...we like it :)

2003-11-18 Tuesday 23:54 committed by tdb

projects/cms/source/TemplateModule.py (1.3):

Fix some bugs. I think. I don't know python that well yet.

2003-11-18 Tuesday 23:43 committed by ajm

projects/cms/source/TemplateModule.py (1.2):

removed sh'ness to avoid confusion

2003-11-18 Tuesday 23:33 committed by ajm

projects/cms/source/TemplateModule.py (1.1):

initial checkin of template python module

2003-11-13 Thursday 17:02 committed by pajs

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/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 committed by ats

projects/libstatgrab/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 committed by ats

projects/libstatgrab/src/libstatgrab/disk_stats.c (1.42),
projects/libstatgrab/src/libstatgrab/load_stats.c (1.6),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.20, LIBSTATGRAB_0_8),
projects/libstatgrab/src/libstatgrab/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 committed by tdb

projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.15, LIBSTATGRAB_0_8),
projects/libstatgrab/src/libstatgrab/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 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.13):

Strip colons from Cygwin drive names.

2003-11-10 Monday 23:32 committed by ats

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

Factor out duplicated code that checks for valid FS types.

2003-11-10 Monday 23:25 committed by ats

projects/libstatgrab/configure.in (1.44),
projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.14),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.40),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.17, LIBSTATGRAB_0_8),
projects/libstatgrab/src/libstatgrab/os_info.c (1.11, LIBSTATGRAB_0_8),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.11, LIBSTATGRAB_0_8),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.9, LIBSTATGRAB_0_8),
projects/libstatgrab/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 committed by ats

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

Provide atoll() on platforms that don't have it.

2003-11-10 Monday 21:07 committed by tdb

projects/libstatgrab/README (1.6, LIBSTATGRAB_0_8),
projects/libstatgrab/configure.in (1.43),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.39),
projects/libstatgrab/src/libstatgrab/load_stats.c (1.5),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.14),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.16),
projects/libstatgrab/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:39 committed by ats

projects/libstatgrab/src/saidar/saidar.c (1.18):

Remove a little bit of duplicated code.

2003-11-07 Friday 18:38 committed by ats

projects/libstatgrab/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 committed by ats

projects/libstatgrab/src/saidar/saidar.c (1.16):

getopt returns -1 on completion, not EOF.

2003-11-07 Friday 18:27 committed by ats

projects/libstatgrab/src/saidar/saidar.c (1.15):

Fix type of ch.

2003-11-07 Friday 18:25 committed by ats

projects/libstatgrab/src/saidar/saidar.c (1.14):

Use curses' timeout() rather than select().

2003-11-07 Friday 12:57 committed by tdb

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/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 committed by ats

projects/libstatgrab/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 committed by ats

projects/libstatgrab/src/libstatgrab/memory_stats.c (1.16),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.10),
projects/libstatgrab/src/libstatgrab/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 committed by ats

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

Add the correct type to a couple of long long constants.

2003-10-24 Friday 18:03 committed by ats

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

Initial Linux 2.6 support.

2003-10-24 Friday 18:00 committed by ats

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

Move MAX_LOGIN_NAME_SIZE definition to the right place.

2003-10-24 Friday 14:33 committed by tdb

projects/libstatgrab/src/saidar/Makefile.am (1.3),
projects/libstatgrab/src/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 committed by tdb

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/configure.in (1.41):

Bump version post release.

2003-10-22 Wednesday 15:38 committed by tdb

projects/libstatgrab/NEWS (1.16, LIBSTATGRAB_0_7):

Update the NEWS file to add new platforms we've tested on.

2003-10-22 Wednesday 14:07 committed by tdb

projects/libstatgrab/src/saidar/saidar.c (1.13):

Do the divides a bit more safely :-)

2003-10-21 Tuesday 19:01 committed by tdb

projects/libstatgrab/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 committed by tdb

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

Update for new release.

2003-10-21 Tuesday 16:48 committed by pajs

projects/libstatgrab/docs/statgrab.xml (1.2, LIBSTATGRAB_0_7),
projects/libstatgrab/docs/libstatgrab/statgrab.xml (1.2, LIBSTATGRAB_0_7):

Added doc's for statgrab_init

2003-10-20 Monday 23:35 committed by ats

projects/libstatgrab/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 committed by ats

projects/libstatgrab/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 committed by ats

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

Clean up NetBSD memory calculations.

2003-10-20 Monday 17:20 committed by pajs

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

Changed the style slightly to be more readable.

2003-10-20 Monday 16:25 committed by pajs

projects/libstatgrab/src/libstatgrab/statgrab.h (1.14, LIBSTATGRAB_0_7),
projects/libstatgrab/src/libstatgrab/tools.c (1.10),
projects/libstatgrab/src/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 committed by tdb

projects/libstatgrab/configure.in (1.40, LIBSTATGRAB_0_7):

Bump the version number.

2003-10-19 Sunday 22:22 committed by ats

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

Correct comment about where dk_rbytes is available.

2003-10-19 Sunday 22:12 committed by ats

projects/libstatgrab/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 committed by ats

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

Update VALID_FS_TYPES for NetBSD.

2003-10-19 Sunday 13:04 committed by ats

projects/libstatgrab/configure.in (1.39),
projects/libstatgrab/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 committed by ats

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

Avoid bzero(NULL, ...) on malloc failure.

2003-10-19 Sunday 12:15 committed by ats

projects/libstatgrab/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 committed by ats

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

Remove another patch glitch.

2003-10-19 Sunday 03:11 committed by ats

projects/libstatgrab/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 committed by ats

projects/libstatgrab/configure.in (1.38),
projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.13, LIBSTATGRAB_0_7),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.31),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.12),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.18, LIBSTATGRAB_0_7),
projects/libstatgrab/src/libstatgrab/os_info.c (1.9),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.9, LIBSTATGRAB_0_7),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.13, LIBSTATGRAB_0_7),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.7, LIBSTATGRAB_0_7),
projects/libstatgrab/src/libstatgrab/tools.c (1.9),
projects/libstatgrab/src/libstatgrab/tools.h (1.8, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7),
projects/libstatgrab/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 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.11):

Correct type of page.systime.

2003-10-19 Sunday 01:25 committed by ats

projects/libstatgrab/src/libstatgrab/process_stats.c (1.12),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.6),
projects/libstatgrab/src/libstatgrab/tools.c (1.8),
projects/libstatgrab/src/libstatgrab/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 committed by ats

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

Fix warning when building on Linux.

2003-10-19 Sunday 01:09 committed by ats

projects/libstatgrab/src/libstatgrab/tools.c (1.7),
projects/libstatgrab/src/libstatgrab/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 committed by ats

projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.12),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.11),
projects/libstatgrab/src/libstatgrab/os_info.c (1.8),
projects/libstatgrab/src/libstatgrab/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 committed by ats

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

Fix a little bit of slightly-confused comment formatting.

2003-10-18 Saturday 23:15 committed by ats

projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.11),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.10),
projects/libstatgrab/src/libstatgrab/os_info.c (1.7),
projects/libstatgrab/src/libstatgrab/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 committed by tdb

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

Update for new release - 0.6.1.

2003-10-18 Saturday 17:12 committed by ats

projects/libstatgrab/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 committed by ats

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/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 committed by pajs

projects/libstatgrab/src/saidar/saidar.c (1.8):

Brain failure over a confusion with strncpy (thinking it worked like strlcpy)

2003-10-18 Saturday 15:00 committed by pajs

projects/libstatgrab/src/saidar/saidar.c (1.7):

Fix an annoying long hostname problem.

2003-10-18 Saturday 13:40 committed by tdb

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/Makefile.am (1.10, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1),
projects/libstatgrab/configure.in (1.37, LIBSTATGRAB_0_6_1),
projects/libukcprog/Makefile.am (1.4, LIBUKCPROG_1_0_2),
projects/libukcprog/configure.in (1.9, LIBUKCPROG_1_0_2):

Unbodge the pkgconfig stuff.

2003-10-09 Thursday 23:56 committed by tdb

projects/libstatgrab/configure.in (1.36):

Push version number for next release.

2003-10-09 Thursday 22:01 committed by tdb

projects/libukcprog/src/Makefile.am (1.3, LIBUKCPROG_1_0_2):

Catch up the shared library version that should have been updated in
the last release.

2003-10-09 Thursday 20:40 committed by pajs

projects/libstatgrab/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 20:17 committed by tdb

projects/libukcprog/NEWS (1.3, LIBUKCPROG_1_0_2),
projects/libukcprog/configure.in (1.8):

New minor release that just has a pkgconfig file.

2003-10-09 Thursday 17:48 committed by pajs

projects/libstatgrab/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 committed by pajs

projects/libstatgrab/src/saidar/saidar.c (1.5, LIBSTATGRAB_0_6):

Another stupid mistake. Now actually prints the program name :)

2003-10-09 Thursday 17:24 committed by pajs

projects/libstatgrab/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 committed by tdb

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

Ready for new release of libstatgrab - 0.6.

2003-10-09 Thursday 17:08 committed by pajs

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/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 committed by pajs

projects/libstatgrab/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 committed by pajs

projects/libstatgrab/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 committed by pajs

projects/libstatgrab/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 committed by pajs

projects/libstatgrab/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:43 committed by tdb

projects/libukcprog/Makefile.am (1.3),
projects/libukcprog/configure.in (1.7):

Allow user to specify a different pkgconfig directory.

2003-10-09 Thursday 11:37 committed by tdb

projects/libstatgrab/configure.in (1.35, LIBSTATGRAB_0_6),
projects/libstatgrab/src/saidar/Makefile.am (1.2, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/src/statgrab/Makefile.am (1.5, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, 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 committed by tdb

projects/libstatgrab/configure.in (1.34):

Add a define for FreeBSD 5.x.

2003-10-08 Wednesday 10:20 committed by tdb

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/Makefile.am (1.9, LIBSTATGRAB_0_6),
projects/libstatgrab/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 committed by tdb

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/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-05 Sunday 13:52 committed by tdb

projects/cms/source/ihost/configure.in (1.28),
projects/cms/source/ihost/ihost.c (1.43):

Tweak the option parsing. Made ihost a bit like idar; the server and
port are given as options, and have defaults at compile time.

Also tided up the usage and removed some debugging (?) printf's.

Can someone check this bit of code:

ihost_state.filtermanager_host=strdup(optarg);

I copied that strdup from the existing line of code, but in idar it
wasn't needed. Is it necessary here?

2003-10-05 Sunday 13:36 committed by tdb

projects/cms/source/idar/configure.in (1.10):

Fix a couple of typo's.

2003-10-04 Saturday 18:07 committed by tdb

projects/cms/source/idar/README.CVS (1.3, IDAR_1_2),
projects/cms/source/idar/autogen.sh (1.1, IDAR_1_2),
projects/cms/source/ihost/README.CVS (1.3, IHOST_1_5_7),
projects/cms/source/ihost/autogen.sh (1.1, IHOST_1_5_8, IHOST_1_5_7),
projects/libstatgrab/README.CVS (1.4, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/autogen.sh (1.1, LIBSTATGRAB_0_17, LIBSTATGRAB_0_16, LIBSTATGRAB_0_15, LIBSTATGRAB_0_14, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libukcprog/README.CVS (1.3, LIBUKCPROG_1_0_2),
projects/libukcprog/autogen.sh (1.1, LIBUKCPROG_1_0_2):

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 committed by tdb

projects/cms/source/idar/configure.in (1.9),
projects/libstatgrab/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 committed by tdb

projects/libstatgrab/acinclude.m4 (1.1, LIBSTATGRAB_0_13, LIBSTATGRAB_0_12, LIBSTATGRAB_0_11_1, LIBSTATGRAB_0_11, LIBSTATGRAB_0_10_3, LIBSTATGRAB_0_10_2, LIBSTATGRAB_0_10_1, LIBSTATGRAB_0_10, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/configure.in (1.31),
projects/libstatgrab/docs/Makefile.am (1.21, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/examples/Makefile.am (1.9, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/src/Makefile.am (1.2, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/src/saidar/Makefile.am (1.1),
projects/libstatgrab/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 committed by tdb

projects/libstatgrab/docs/Makefile.am (1.20),
projects/libstatgrab/docs/cpu_percent_usage.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/get_diskio_stats.xml (1.3, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/get_general_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/get_load_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/get_memory_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/get_network_stats.xml (1.3, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/get_page_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/get_process_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/get_user_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/sg_get_cpu_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/sg_get_disk_io_stats.xml (1.3, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/sg_get_host_info.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/sg_get_load_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/sg_get_mem_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/sg_get_network_io_stats.xml (1.3, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/sg_get_page_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/sg_get_process_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/sg_get_user_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/statgrab.xml (1.1, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/libstatgrab/sg_get_cpu_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/libstatgrab/sg_get_disk_io_stats.xml (1.3, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/libstatgrab/sg_get_host_info.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/libstatgrab/sg_get_load_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/libstatgrab/sg_get_mem_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/libstatgrab/sg_get_network_io_stats.xml (1.3, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/libstatgrab/sg_get_page_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/libstatgrab/sg_get_process_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/libstatgrab/sg_get_user_stats.xml (1.2, LIBSTATGRAB_0_9, LIBSTATGRAB_0_8_2, LIBSTATGRAB_0_8_1, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/docs/libstatgrab/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 16:17 committed by tdb

projects/libstatgrab/docs/Makefile.am (1.14),
projects/libstatgrab/docs/get_diskio_stats.xml (1.1),
projects/libstatgrab/docs/sg_get_disk_io_stats.xml (1.1),
projects/libstatgrab/docs/libstatgrab/sg_get_disk_io_stats.xml (1.1):

Add diskio stats. Anyone notice there's no documentation or examples
for the disk stats? :)

2003-10-01 Wednesday 14:47 committed by tdb

projects/libstatgrab/docs/Makefile.am (1.11),
projects/libstatgrab/docs/get_general_stats.xml (1.1),
projects/libstatgrab/docs/get_load_stats.xml (1.1),
projects/libstatgrab/docs/sg_get_host_info.xml (1.1),
projects/libstatgrab/docs/sg_get_load_stats.xml (1.1),
projects/libstatgrab/docs/libstatgrab/sg_get_host_info.xml (1.1),
projects/libstatgrab/docs/libstatgrab/sg_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 committed by tdb

projects/libstatgrab/configure.in (1.30):

By popular demand the next release will be 0.6 :-)

2003-09-29 Monday 09:59 committed by tdb

projects/libstatgrab/configure.in (1.29),
projects/libstatgrab/libstatgrab.pc.in (1.2, LIBSTATGRAB_0_8, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6),
projects/libstatgrab/examples/Makefile.am (1.8),
projects/libstatgrab/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 committed by pajs

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

Bug fix on systems with large path_to_inst files.

2003-09-26 Friday 22:17 committed by tdb

projects/libukcprog/Makefile.am (1.2),
projects/libukcprog/configure.in (1.6),
projects/libukcprog/libukcprog.pc.in (1.1, LIBUKCPROG_1_0_2):

Add pkg-config file for libukcprog.

2003-09-26 Friday 22:11 committed by tdb

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

Add pkg-config file for libstatgrab.

2003-09-26 Friday 17:33 committed by pajs

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/configure.in (1.27):

Update configure.in for next release.

2003-09-09 Tuesday 11:55 committed by tdb

projects/libstatgrab/AUTHORS (1.4, LIBSTATGRAB_0_5_1),
projects/libstatgrab/NEWS (1.12, LIBSTATGRAB_0_5_1),
projects/libstatgrab/README (1.5, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, 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 committed by ats

projects/libstatgrab/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 committed by ats

projects/libstatgrab/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 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.8):

Only fetch the stats that we're actually interested in.

2003-08-29 Friday 07:49 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.7):

*Really* fill in time_taken correctly.

2003-08-29 Friday 07:48 committed by ats

projects/libstatgrab/src/statgrab/statgrab.c (1.6):

Fill in time_taken correctly.

2003-08-29 Friday 00:05 committed by ats

projects/libstatgrab/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 committed by ats

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

Don't fclose(NULL).

2003-08-28 Thursday 22:21 committed by ats

projects/libstatgrab/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),
projects/libstatgrab/src/statgrab/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 committed by ats

projects/libstatgrab/configure.in (1.26, LIBSTATGRAB_0_5_1):

Generate statgrab MRTG scripts.

2003-08-28 Thursday 12:26 committed by ats

projects/libstatgrab/src/statgrab/Makefile.am (1.2, LIBSTATGRAB_0_5_1),
projects/libstatgrab/src/statgrab/statgrab-make-mrtg-config.in (1.1),
projects/libstatgrab/src/statgrab/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 committed by tdb

projects/libstatgrab/src/statgrab/statgrab.c (1.4):

Apply patch in bug id #10. Submitted by Adam :-)

2003-08-27 Wednesday 15:04 committed by tdb

projects/libstatgrab/src/statgrab/statgrab.c (1.3):

Have to pull in the definitions from config.h.

2003-08-27 Wednesday 15:00 committed by tdb

projects/libstatgrab/src/statgrab/statgrab.c (1.2):

Put the version number in the usage page.

2003-08-26 Tuesday 23:34 committed by pajs

projects/libstatgrab/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 committed by pajs

projects/libstatgrab/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 committed by tdb

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

Move the world around a bit to allow for subdirs in src.

2003-08-26 Tuesday 13:09 committed by tdb

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/configure.in (1.24):

Update version number for next release.

2003-08-25 Monday 13:41 committed by tdb

projects/libstatgrab/NEWS (1.11, LIBSTATGRAB_0_5),
projects/libstatgrab/configure.in (1.23, LIBSTATGRAB_0_5),
projects/libstatgrab/docs/Makefile.am (1.10, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.11, 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 committed by tdb

projects/libstatgrab/docs/Makefile.am (1.9),
projects/libstatgrab/docs/page_stat.txt (1.2, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/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 committed by pajs

projects/libstatgrab/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:43 committed by pajs

projects/libstatgrab/docs/page_stat.txt (1.1):

Page stats

2003-08-24 Sunday 22:20 committed by tdb

projects/libstatgrab/docs/Makefile.am (1.8),
projects/libstatgrab/docs/cpu.txt (1.2, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5):

Tidy cpu.txt and add to Makefile.

2003-08-24 Sunday 22:00 committed by pajs

projects/libstatgrab/docs/cpu.txt (1.1):

CPU documentaion

2003-08-24 Sunday 21:36 committed by tdb

projects/libstatgrab/docs/Makefile.am (1.7),
projects/libstatgrab/docs/user_list.txt (1.2, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5):

Tidy user_list too.

2003-08-24 Sunday 21:24 committed by tdb

projects/libstatgrab/NEWS (1.10),
projects/libstatgrab/README (1.4, LIBSTATGRAB_0_5),
projects/libstatgrab/docs/Makefile.am (1.6),
projects/libstatgrab/docs/diskio.txt (1.3, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/docs/load_average.txt (1.2, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/docs/network.txt (1.4, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/docs/os_stats.txt (1.2, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/docs/process_stats.txt (1.3, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/docs/vm_stats.txt (1.2, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/examples/Makefile.am (1.5),
projects/libstatgrab/examples/cpu_usage.c (1.2, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/examples/disk_traffic.c (1.2, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/examples/load_stats.c (1.2, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/examples/network_traffic.c (1.3, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/examples/os_info.c (1.2, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/examples/process_stats.c (1.2, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/examples/user_list.c (1.2, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/examples/vm_stats.c (1.2, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/Makefile.am (1.10),
projects/libstatgrab/src/libstatgrab/cpu_stats.c (1.10, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/disk_stats.c (1.18, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/load_stats.c (1.4, LIBSTATGRAB_0_7, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/memory_stats.c (1.7, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/network_stats.c (1.15, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/os_info.c (1.6, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/page_stats.c (1.6, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/process_stats.c (1.8, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/statgrab.h (1.13, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/swap_stats.c (1.5, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/tools.c (1.6, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/src/libstatgrab/tools.h (1.5, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_5),
projects/libstatgrab/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:20 committed by pajs

projects/libstatgrab/docs/user_list.txt (1.1):

User docs

2003-08-24 Sunday 21:09 committed by pajs

projects/libstatgrab/examples/user_list.c (1.1):

User details example.

2003-08-24 Sunday 20:38 committed by pajs

projects/libstatgrab/docs/vm_stats.txt (1.1):

Documentation for memory and swap stats.

2003-08-24 Sunday 20:15 committed by pajs

projects/libstatgrab/examples/vm_stats.c (1.1):

Memory and swap stats example

2003-08-24 Sunday 19:20 committed by tdb

projects/libstatgrab/AUTHORS (1.3, LIBSTATGRAB_0_5):

The AUTHORS file has been here since it was copied from ihost ;)

2003-08-24 Sunday 17:18 committed by tdb

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

Add latest docs and examples.

2003-08-24 Sunday 16:37 committed by pajs

projects/libstatgrab/docs/os_stats.txt (1.1),
projects/libstatgrab/docs/process_stats.txt (1.2):

os_stats docs

2003-08-24 Sunday 16:23 committed by pajs

projects/libstatgrab/examples/os_info.c (1.1):

OS stats example

2003-08-22 Friday 16:17 committed by pajs

projects/libstatgrab/docs/process_stats.txt (1.1):

Basic process_stats documentation

2003-08-22 Friday 16:00 committed by tdb

projects/libukcprog/NEWS (1.2, LIBUKCPROG_1_0_1),
projects/libukcprog/configure.in (1.5, LIBUKCPROG_1_0_1):

libukcprog 1.0.1 :-)

2003-08-22 Friday 15:44 committed by tdb

projects/cms/source/ihost/configure.in (1.27):

Update version number for next release...

2003-08-22 Friday 15:43 committed by tdb

projects/cms/source/ihost/NEWS (1.8, IHOST_1_5_6):

Version 1.5.6 with a relatively minor change for the UKMS :-)

2003-08-22 Friday 15:40 committed by pajs

projects/cms/source/ihost/ihost.c (1.41, IHOST_1_5_6):

Added support to be able to specify the hostname or IP address of the host.
This is mainly useful for machines with multiple NIC's and you want it to be
called something specific (which may not be the IP you use to connect to the
server with)

2003-08-21 Thursday 23:48 committed by pajs

projects/libstatgrab/examples/process_stats.c (1.1):

Added a process stats example.

2003-08-21 Thursday 23:32 committed by tdb

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

Add the load stats to the Makefile.

2003-08-21 Thursday 23:19 committed by pajs

projects/libstatgrab/docs/load_average.txt (1.1):

Added load_average examples and documentation.

2003-08-21 Thursday 23:18 committed by pajs

projects/libstatgrab/examples/load_stats.c (1.1):

Added load_stats example, and documentation.

2003-08-21 Thursday 22:53 committed by tdb

projects/libukcprog/src/formf.c (1.4, LIBUKCPROG_1_0_2, LIBUKCPROG_1_0_1):

Further to bug #8 - restore errno at the end of the function.

2003-08-21 Thursday 22:46 committed by tdb

projects/libukcprog/src/formf.c (1.3):

Fix bug #8 using patch given by Adam Sampson.
"sys_errlist is deprecated; strerror() should be used instead."

2003-08-21 Thursday 22:44 committed by tdb

projects/libukcprog/configure.in (1.4):

AC_CANONICAL_HOST is already done by one of the preceding macros.

2003-08-21 Thursday 22:27 committed by tdb

projects/libukcprog/src/formf.c (1.2):

Fix bug #9 using patch given by Adam Sampson.
"handle shorts correctly in varargs"

2003-08-21 Thursday 22:10 committed by tdb

projects/cms/source/idar/idar.c (1.20):

Fix bug #7 using patch given by Adam Sampson.
Added include to compile on Linux.

2003-08-21 Thursday 21:48 committed by tdb

projects/cms/source/idar/configure.in (1.8),
projects/cms/source/ihost/configure.in (1.26, IHOST_1_5_6),
projects/libstatgrab/configure.in (1.22),
projects/libukcprog/configure.in (1.3):

Bug reporting address is now bugs@i-scream.org.

2003-08-21 Thursday 21:36 committed by tdb

projects/cms/source/idar/idar.c (1.19):

Add a default option to the command line parsing. This does the same as
the -h flag and shows the usage. The intention is to catch unknown flags
and tell the user, rather than printing a warning and loading anyway.

2003-08-21 Thursday 15:00 committed by tdb

projects/cms/source/idar/idar.c (1.18):

Typo fix :-)

2003-08-21 Thursday 14:51 committed by tdb

projects/cms/source/idar/configure.in (1.7),
projects/cms/source/idar/idar.c (1.17):

Tidy up of my previous commit to make the command line arguments optional.

- Made the default hostname 'i-scream'. Users could have this in their
  hosts file, or they might have a CNAME to their server.
- Added a usage function listing new command line arguments.
- Made the server name and port be options (-s and -p) instead of args.
- Changed the sort option from -s to -o (order).
- Made the host list an option (-l) instead of an argument.
- Added sort options for net and disk io.

This should be slightly tidier than before, and more useful.

2003-07-25 Friday 15:35 committed by tdb

projects/cms/source/server/uk/org/iscream/cms/server/client/MonitorManager.java (1.20):

Fix bug #6. On occasions a NullPointer would creep out of this bit of code.
My guess is it was either a Null packet, or a packet with no data type,
both of which shouldn't really happen. Put in kludges to catch them, but
it would be nice to know why it happened ;)

2003-07-14 Monday 17:05 committed by ajm

projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/ReferenceManager.java (1.20):

Added a NullPointerException check Niklas Saers, it now errors with a vaguely sensible error of:

"Unable to resolve reference to the Naming Service!"

2003-06-09 Monday 14:47 committed by tdb

projects/cms/source/idar/configure.in (1.6),
projects/cms/source/idar/idar.c (1.16):

Add option to build default hostname/port in at compile time. This makes
it easier for users to run where the sysadmin has preconfigured idar to
automatically connect. Pete might want to tidy this up a bit ;)

2003-06-05 Thursday 17:03 committed by tdb

projects/libstatgrab/examples/Makefile.am (1.2):

Add new examples to Makefile.

2003-06-05 Thursday 17:02 committed by tdb

projects/libstatgrab/docs/Makefile.am (1.3),
projects/libstatgrab/docs/diskio.txt (1.2),
projects/libstatgrab/docs/network.txt (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 committed by pajs

projects/libstatgrab/examples/disk_traffic.c (1.1):

Example for disk traffic.

2003-06-05 Thursday 15:45 committed by pajs

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

Example of how to get and display cpu usage.

2003-06-04 Wednesday 17:24 committed by pajs

projects/libstatgrab/docs/diskio.txt (1.1):

Diskio doc's... Prob needs some serious proof reading :)

2003-06-04 Wednesday 17:03 committed by pajs

projects/libstatgrab/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 committed by tdb

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

Added building of examples. We don't, currently, install them though.

2003-05-20 Tuesday 14:44 committed by tdb

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

Allow documentation to be installed to $(datadir)/libstatgrab/docs.

2003-05-12 Monday 14:37 committed by pajs

projects/libstatgrab/docs/network.txt (1.2):

Typo fixed, added another bug

2003-05-11 Sunday 18:05 committed by pajs

projects/libstatgrab/docs/network.txt (1.1),
projects/libstatgrab/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-05-05 Monday 23:04 committed by tdb

projects/cms/source/server/Config2.inc (1.42),
projects/cms/source/server/configure (1.22),
projects/cms/source/server/build/run.bat (1.4),
projects/cms/source/server/build/run.sh (1.5),
projects/cms/source/server/build/etc/default.properties (1.20),
projects/cms/source/server/build/etc/system.conf (1.75),
projects/cms/source/server/idl/Makefile (1.13),
projects/cms/source/server/idl/iscream.idl (1.24),
projects/cms/source/server/uk/org/iscream/cms/server/Makefile (1.13),
projects/cms/source/server/uk/org/iscream/cms/server/client/ClientMain.java (1.25),
projects/cms/source/server/uk/org/iscream/cms/server/client/ClientServant.java (1.14),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/ClientInterfaceMain.java (1.30),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/ClientInterfaceServant.java (1.15),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/CorbaClientListenerServant.java (1.13),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/CorbaControlHandlerServant.java (1.18),
projects/cms/source/server/uk/org/iscream/cms/server/clientinterface/CorbaDataHandler.java (1.15),
projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/ComponentManager.java (1.43),
projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/CIWrapper.java (1.15),
projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/CorbaClientListenerServant.java (1.1),
projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/CorbaControlHandlerServant.java (1.1),
projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/CorbaDataHandler.java (1.1),
projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/Makefile (1.7),
projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/RootFilter.java (1.43),
projects/cms/source/server/uk/org/iscream/cms/server/rootfilter/RootFilterServant.java (1.21):

Tidy up of the client interface code - more commonly known as the
"right hand side of the server". Right since the start the filter
side of the server has been nice and tree like - every Filter sent
data to another Filter. At the top of the tree there was a "special"
Filter known as the RootFilter, which to the other Filters just
looked like a normal Filter. This was nice, and simple, and expandable.

The Client Interface on the other hand was messy. The root filter
had some hacky wrapper threads which pulled from a queue and pushed
to the relevant client interfaces (one for real time stuff, and the
other for databases). There was no simple room for expandability -
it was all hardwired to do just what was needed at the time.

This commit changes that. A Client Interface now connects to another
Client Interface, with a special one being found in the RootFilter
(yes, maybe that needs a name change now :-). So we can chain client
interfaces, and move other bits and bobs around in the server - for
example, alerting no longer needs to be connected to the Client
Interface, it can connect straight to the RootFilter (or, wherever
the config tells it ;).

Hopefully this sanitizes the underlying layout of the server a bit.

As a final note, I dropped the DBInterface. This used to insert
data in to a MySQL database. We've long since stopped using that,
and it's fallen behind and is way out of date. For now, it's gone
in to the attic.

2003-05-03 Saturday 14:14 committed by tdb

projects/libukcprog/configure.in (1.2, LIBUKCPROG_1_0):

Make the library be linked with -lnsl and -lsocket on solaris. This helps
people using libukcprog, without it they need to add those every time they
use this library.

2003-04-10 Thursday 13:42 committed by tdb

projects/cms/source/idar/configure.in (1.5):

Update version number for next release.

2003-04-10 Thursday 13:42 committed by tdb

projects/cms/source/idar/NEWS (1.3, IDAR_1_1):

Updated for version 1.1.

2003-04-10 Thursday 13:31 committed by pajs

projects/cms/source/idar/idar.c (1.15, IDAR_1_1):

Proper resize support by catching SIGWINCH. Done some tiding. Added the ability
to do process stats (r).

Changed the megabytes units to have 2d.p. so it would show more than units of
100k/sec.

2003-04-09 Wednesday 22:55 committed by pajs

projects/cms/source/idar/idar.c (1.14):

Now copes with resizing with regard to x-coord. This also copes with
units changing. (u or U)

It still doesn't do resizing properly tho :)

2003-04-09 Wednesday 22:18 committed by tdb

projects/cms/source/ihost/configure.in (1.24):

Update version number prior to next release.

2003-04-09 Wednesday 22:17 committed by tdb

projects/cms/source/ihost/NEWS (1.7, IHOST_1_5_5):

Version 1.5.5.

2003-04-09 Wednesday 22:13 committed by tdb

projects/libstatgrab/configure.in (1.18):

Increment for next release.

2003-04-09 Wednesday 22:12 committed by tdb

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

Version 0.4 now with FreeBSD support.

2003-04-09 Wednesday 22:01 committed by tdb

projects/libstatgrab/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 committed by tdb

projects/libstatgrab/NEWS (1.8),
projects/libstatgrab/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-09 Wednesday 21:13 committed by pajs

projects/cms/source/idar/idar.c (1.13):

Ok, im sure this prob isn't the "right" way to do resizing.. but it seems
to work.

2003-04-06 Sunday 13:08 committed by pajs

projects/cms/source/ihost/configure.in (1.23, IHOST_1_5_5),
projects/cms/source/ihost/ihost.c (1.40, IHOST_1_5_5):

Fixed to compile on freebsd. ihost required an extra header.
configure.in needed -lkvm to be supplied before statgrab and i added
-ldevstat as statgrab requires this also.

2003-04-06 Sunday 12:59 committed by pajs

projects/libstatgrab/configure.in (1.16):

Added a library to link against on freebsd so that it will compile.

2003-04-06 Sunday 12:57 committed by pajs

projects/libstatgrab/src/libstatgrab/tools.c (1.4),
projects/libstatgrab/src/libstatgrab/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 committed by pajs

projects/libstatgrab/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 committed by pajs

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

Should now work on freebsd.

2003-04-05 Saturday 12:25 committed by tdb

projects/libstatgrab/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 committed by pajs

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

Disk stats for freebsd. This does not currently include diskio stats.

2003-04-04 Friday 14:08 committed by pajs

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

Ported to work onto freebsd.

2003-04-04 Friday 12:45 committed by pajs

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

Now works on freebsd

2003-04-04 Friday 00:14 committed by pajs

projects/libstatgrab/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 committed by pajs

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

Now works on freebsd.

2003-04-03 Thursday 21:14 committed by pajs

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

Now works on freebsd

2003-04-03 Thursday 21:05 committed by pajs

projects/libstatgrab/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 committed by pajs

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

Freebsd support. Smile tim ;)

2003-04-03 Thursday 11:59 committed by pajs

projects/cms/source/idar/idar.c (1.12):

Fixed bug which caused it to seg fault if given a invalid host. (I
carefully did the check, then forgot to call exit(1).. Ooops :) )

2003-04-02 Wednesday 20:04 committed by tdb

projects/cms/source/idar/configure.in (1.4, IDAR_1_1):

Update version for next release.

2003-04-02 Wednesday 20:03 committed by tdb

projects/cms/source/idar/NEWS (1.2, IDAR_1_0),
projects/cms/source/idar/README (1.2, IDAR_1_1, IDAR_1_0):

Updated for 1.0 release.

2003-04-02 Wednesday 16:47 committed by pajs

projects/cms/source/idar/idar.c (1.11, IDAR_1_0):

Now works on freebsd too :)

2003-04-02 Wednesday 16:41 committed by pajs

projects/cms/source/idar/idar.c (1.10):

Linux now working.

2003-04-02 Wednesday 16:23 committed by pajs

projects/cms/source/idar/idar.c (1.9):

(unchecked) This update should mean it will compile on linux and freebsd.
I think we've got to the point where it should be called 1.1 :)
(If this actually works that is :) )

2003-03-31 Monday 16:47 committed by tdb

projects/libstatgrab/configure.in (1.14):

Update version for next release.

2003-03-31 Monday 16:47 committed by tdb

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

Package up 0.3.4 which fixes some leaking linux issues :-)

2003-03-31 Monday 14:24 committed by pajs

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

Fixed memory leak in regex stuff

2003-03-31 Monday 12:30 committed by pajs

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

Fixed some issues with not closing FILE*'s.

2003-03-31 Monday 00:21 committed by pajs

projects/cms/source/idar/idar.c (1.8):

Now allows the user to choose whats being displayed. Currently only allows
the toggling of what we display by default, but its minor work adding the
others. I think may need to change the display structure, as i dont think
i will end up implementing like my original plan was.

Currently it does
'm' (memory)
's' (swap)
'l' (load)
'd' (disk_io)
'n' (network)
'p' (paging)
'c' (cpu)

2003-03-31 Monday 00:00 committed by tdb

projects/cms/source/idar/configure.in (1.3, IDAR_1_0):

Checks for strlcpy and atoll. These functions will need to be found
for platforms that don't have them.

2003-03-30 Sunday 23:16 committed by pajs

projects/cms/source/idar/idar.c (1.7):

Added support for sorting on the fly. I have followed a basic convention of
a capital letter will do sorting, and a lower case letter will change the
display properties.

Currently q or Q will quit.
C will sort by CPU
S will sort by Swap
M will sort by Memory
L will sort by Load
N will sort by Network. Network sorting is toggled thru 3 options. First
time it will sort by rx+tx. 2nd time it will sort by rx, 3rd time tx. Then
it will repeat to the start again.

The display function has been updated slightly. The arguments it takes
(num_lines) now means the