ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/load_stats.c
Revision 1.9 - (view) (annotate) - [select for diffs]
Mon Jan 19 16:49:21 2004 UTC (20 years, 4 months ago) by tdb
Branch: MAIN
CVS Tags: LIBSTATGRAB_0_8_1
Changes since 1.8: +2 -0 lines
Diff to previous 1.8
A whole bunch of minor cosmetic changes.

Revision 1.8 - (view) (annotate) - [select for diffs]
Fri Jan 16 15:54:54 2004 UTC (20 years, 4 months ago) by tdb
Branch: MAIN
Changes since 1.7: +13 -12 lines
Diff to previous 1.7
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.

Revision 1.7 - (view) (annotate) - [select for diffs]
Wed Nov 12 11:48:06 2003 UTC (20 years, 6 months ago) by tdb
Branch: MAIN
CVS Tags: LIBSTATGRAB_0_8
Changes since 1.6: +0 -1 lines
Diff to previous 1.6
Remove a line added for Cygwin that's no longer needed.

Revision 1.6 - (view) (annotate) - [select for diffs]
Wed Nov 12 01:36:19 2003 UTC (20 years, 6 months ago) by ats
Branch: MAIN
Changes since 1.5: +6 -5 lines
Diff to previous 1.5
Make libstatgrab functions return NULL for stats that can't be fetched
on cygwin.

Revision 1.5 - (view) (annotate) - [select for diffs]
Mon Nov 10 21:07:04 2003 UTC (20 years, 6 months ago) by tdb
Branch: MAIN
Changes since 1.4: +5 -0 lines
Diff to previous 1.4
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!

Revision 1.4 - (view) (annotate) - [select for diffs]
Sun Aug 24 20:24:09 2003 UTC (20 years, 8 months ago) by tdb
Branch: MAIN
CVS Tags: LIBSTATGRAB_0_5, LIBSTATGRAB_0_5_1, LIBSTATGRAB_0_6, LIBSTATGRAB_0_6_1, LIBSTATGRAB_0_7
Changes since 1.3: +2 -2 lines
Diff to previous 1.3
Tidy up of lots of little things. :)

Revision 1.3 - (view) (annotate) - [select for diffs]
Fri Feb 28 22:59:35 2003 UTC (21 years, 2 months ago) by tdb
Branch: MAIN
CVS Tags: LIBSTATGRAB_0_2, LIBSTATGRAB_0_3, LIBSTATGRAB_0_3_1, LIBSTATGRAB_0_3_2, LIBSTATGRAB_0_3_3, LIBSTATGRAB_0_3_4, LIBSTATGRAB_0_4
Changes since 1.2: +1 -1 lines
Diff to previous 1.2
Tidy up of configure script, and includes.

Revision 1.2 - (view) (annotate) - [select for diffs]
Thu Feb 20 13:19:52 2003 UTC (21 years, 2 months ago) by tdb
Branch: MAIN
Changes since 1.1: +1 -27 lines
Diff to previous 1.1
Removed references to ukcprog.h.
Fixed a missing * in the disk stats.
And removed a block of linux stuff that shouldn't have been there :-)
All with Pete's approval, of course.

Revision 1.1 - (view) (annotate) - [select for diffs]
Tue Feb 18 19:28:30 2003 UTC (21 years, 3 months ago) by pajs
Branch: MAIN
The new revesion of libstatgrab, which is a complete rewrite essentially.

Firstly the data is now returned in structures rather than xml strings.
The structures returned are all static, so what ever calls the library doesn't
have to deal with the memory management of it.

Secondly the general efficency of the code is now significantly faster. It no
longer needs to fork a process, connect file descriptors and run ps, and then
parse the output like it used to. Now it walks /proc and reads it into the
correct data structures. This works without needing any special privilages, so
it can still run as a normal mortal without needing any special group. (Freebsd
will be an exception to this, but this commit only works with solaris, and that
requires nothing special)

Thridly it has more functionality than it used to. It not for instance is capable
of showing network traffic stats, (although its not completely finished yet). It
also in the near future be able to disk io stats as well. Several bug fixes have
been aplied over the original version. For example the cpu_stats used to only reply
the stats for the first processor. This now will report the total stats of all of
them. Paging stats will also be fixed, but haven't been done yet.

Convenience Links

Links to HEAD: (view) (annotate) Links to LIBSTATGRAB_0_8_1: (view) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a