ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/pystatgrab/_statgrab.pyx
(Generate patch)

Comparing projects/pystatgrab/_statgrab.pyx (file contents):
Revision 1.15 by tdb, Tue Aug 24 20:43:47 2004 UTC vs.
Revision 1.17 by tdb, Sat Jul 30 18:16:14 2005 UTC

# Line 140 | Line 140 | cdef extern from "statgrab.h":
140          long long total_inodes
141          long long used_inodes
142          long long free_inodes
143 +        long long avail_inodes
144 +        long long io_size
145 +        long long block_size
146 +        long long total_blocks
147 +        long long free_blocks
148 +        long long used_blocks
149 +        long long avail_blocks
150  
151      cdef extern sg_fs_stats *sg_get_fs_stats(int *entries)
152  
# Line 174 | Line 181 | cdef extern from "statgrab.h":
181      ctypedef struct sg_network_iface_stats:
182          char *interface_name
183          int speed
184 <        sg_iface_duplex dup
184 >        sg_iface_duplex duplex
185          int up
186  
187      cdef extern sg_network_iface_stats *sg_get_network_iface_stats(int *entries)
# Line 448 | Line 455 | def py_sg_get_fs_stats():
455               'total_inodes': s.total_inodes,
456               'used_inodes': s.used_inodes,
457               'free_inodes': s.free_inodes,
458 +             'avail_inodes': s.avail_inodes,
459 +             'io_size': s.io_size,
460 +             'block_size': s.block_size,
461 +             'total_blocks': s.total_blocks,
462 +             'free_blocks': s.free_blocks,
463 +             'used_blocks': s.used_blocks,
464 +             'avail_blocks': s.avail_blocks,
465              }
466          ))
467          s = s + 1
# Line 546 | Line 560 | def py_sg_get_network_iface_stats():
560          list.append(Result(
561              {'interface_name': s.interface_name,
562               'speed': s.speed,
563 <             'dup': s.dup,
563 >             'duplex': s.duplex,
564               'up' : s.up,
565              }
566          ))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines