ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/pystatgrab/_statgrab.pyx
Revision 1.21 - (view) (annotate) - [select for diffs]
Mon Jun 16 21:06:49 2008 UTC (16 years, 5 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.20: +10 -9 lines
Diff to previous 1.20
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.

Revision 1.20 - (view) (annotate) - [select for diffs]
Fri Jul 13 22:26:19 2007 UTC (17 years, 4 months ago) by tdb
Branch: MAIN
CVS Tags: PYSTATGRAB_0_5
Changes since 1.19: +3 -1 lines
Diff to previous 1.19
Properly import sg_shutdown and sg_snapshot.

Revision 1.19 - (view) (annotate) - [select for diffs]
Fri Jul 13 22:19:56 2007 UTC (17 years, 4 months ago) by tdb
Branch: MAIN
Changes since 1.18: +13 -1 lines
Diff to previous 1.18
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.

Revision 1.18 - (view) (annotate) - [select for diffs]
Wed Sep 14 18:15:44 2005 UTC (19 years, 2 months ago) by ats
Branch: MAIN
Changes since 1.17: +11 -7 lines
Diff to previous 1.17
Don't change the structure returned from sg_get_process_stats (because
that causes a segfault when libstatgrab tries to free it).

Revision 1.17 - (view) (annotate) - [select for diffs]
Sat Jul 30 18:16:14 2005 UTC (19 years, 3 months ago) by tdb
Branch: MAIN
CVS Tags: PYSTATGRAB_0_4
Changes since 1.16: +15 -1 lines
Diff to previous 1.16
Yes, and the REST of libstatgrab 0.12 too :)

Revision 1.16 - (view) (annotate) - [select for diffs]
Sat Jul 30 10:49:42 2005 UTC (19 years, 3 months ago) by tdb
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15
Chase libstatgrab API changes.

Revision 1.15 - (view) (annotate) - [select for diffs]
Tue Aug 24 20:43:47 2004 UTC (20 years, 3 months ago) by tdb
Branch: MAIN
CVS Tags: PYSTATGRAB_0_3
Changes since 1.14: +11 -2 lines
Diff to previous 1.14
Catch up to new features in libstatgrab 0.10.2.

Revision 1.14 - (view) (annotate) - [select for diffs]
Sun May 30 16:41:03 2004 UTC (20 years, 5 months ago) by tdb
Branch: MAIN
CVS Tags: PYSTATGRAB_0_2
Changes since 1.13: +153 -1 lines
Diff to previous 1.13
Stage 3: Add new functions.

Revision 1.13 - (view) (annotate) - [select for diffs]
Sun May 30 15:32:28 2004 UTC (20 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.12: +84 -71 lines
Diff to previous 1.12
Stage 2: Reorder functions and structures to match statgrab.h order.

Revision 1.12 - (view) (annotate) - [select for diffs]
Sun May 30 15:21:19 2004 UTC (20 years, 5 months ago) by tdb
Branch: MAIN
Changes since 1.11: +115 -115 lines
Diff to previous 1.11
Stage 1: Update all existing functions to have new names.

Revision 1.11 - (view) (annotate) - [select for diffs]
Tue Apr 6 14:53:01 2004 UTC (20 years, 7 months ago) by tdb
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
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".

Revision 1.10 - (view) (annotate) - [select for diffs]
Sat Mar 20 21:29:59 2004 UTC (20 years, 8 months ago) by tdb
Branch: MAIN
CVS Tags: PYSTATGRAB_0_1
Changes since 1.9: +9 -3 lines
Diff to previous 1.9
Move the wrapper module to _statgrab, and then add a module to interface
to the user with correct function names.

Revision 1.9 - (view) (annotate) - [select for diffs]
Sat Mar 6 22:11:22 2004 UTC (20 years, 8 months ago) by tdb
Branch: MAIN
Changes since 1.8: +16 -1 lines
Diff to previous 1.8
Add new features to python wrapper.

Revision 1.8 - (view) (annotate) - [select for diffs]
Sat Feb 14 18:07:30 2004 UTC (20 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.7: +3 -1 lines
Diff to previous 1.7
Chase changes in statgrab.h.

Revision 1.7 - (view) (annotate) - [select for diffs]
Fri Feb 13 17:53:15 2004 UTC (20 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.6: +9 -4 lines
Diff to previous 1.6
Chase statgrab_duplex name changes.
Add variables that can be accessed within python for the duplex enum.

Revision 1.6 - (view) (annotate) - [select for diffs]
Fri Feb 13 12:03:29 2004 UTC (20 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.5: +7 -7 lines
Diff to previous 1.5
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 :-)

Revision 1.5 - (view) (annotate) - [select for diffs]
Fri Feb 13 00:16:20 2004 UTC (20 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.4: +29 -1 lines
Diff to previous 1.4
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.

Revision 1.4 - (view) (annotate) - [select for diffs]
Tue Feb 10 20:25:54 2004 UTC (20 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3
StatgrabException should be derived from Exception.

Revision 1.3 - (view) (annotate) - [select for diffs]
Mon Feb 9 23:07:25 2004 UTC (20 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.2: +59 -1 lines
Diff to previous 1.2
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.

Revision 1.2 - (view) (annotate) - [select for diffs]
Fri Feb 6 15:12:14 2004 UTC (20 years, 9 months ago) by tdb
Branch: MAIN
Changes since 1.1: +135 -98 lines
Diff to previous 1.1
Return objects instead of hash-like-things :)

Revision 1.1 - (view) (annotate) - [select for diffs]
Fri Feb 6 14:10:08 2004 UTC (20 years, 9 months ago) by tdb
Branch: MAIN
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.

Convenience Links

Links to HEAD: (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