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

Comparing projects/pystatgrab/statgrab.py (file contents):
Revision 1.4 by tdb, Sun May 30 15:21:19 2004 UTC vs.
Revision 1.5 by tdb, Sun May 30 15:32:28 2004 UTC

# Line 22 | Line 22
22  
23   import _statgrab
24  
25 + def sg_init():
26 +    return _statgrab.py_sg_init()
27 + def sg_drop_privileges():
28 +    return _statgrab.py_sg_drop_privileges()
29 + def sg_get_host_info():
30 +    return _statgrab.py_sg_get_host_info()
31   def sg_get_cpu_stats():
32      return _statgrab.py_sg_get_cpu_stats()
33   def sg_get_cpu_stats_diff():
# Line 36 | Line 42 | def sg_get_user_stats():
42      return _statgrab.py_sg_get_user_stats()
43   def sg_get_swap_stats():
44      return _statgrab.py_sg_get_swap_stats()
39 def sg_get_host_info():
40    return _statgrab.py_sg_get_host_info()
45   def sg_get_fs_stats():
46      return _statgrab.py_sg_get_fs_stats()
47   def sg_get_disk_io_stats():
48      return _statgrab.py_sg_get_disk_io_stats()
49   def sg_get_disk_io_stats_diff():
50      return _statgrab.py_sg_get_disk_io_stats_diff()
47 def sg_get_process_count():
48    return _statgrab.py_sg_get_process_count()
51   def sg_get_network_io_stats():
52      return _statgrab.py_sg_get_network_io_stats()
53   def sg_get_network_io_stats_diff():
# Line 56 | Line 58 | def sg_get_page_stats():
58      return _statgrab.py_sg_get_page_stats()
59   def sg_get_page_stats_diff():
60      return _statgrab.py_sg_get_page_stats_diff()
61 < def sg_init():
62 <    return _statgrab.py_sg_init()
61 < def sg_drop_privileges():
62 <    return _statgrab.py_sg_drop_privileges()
61 > def sg_get_process_count():
62 >    return _statgrab.py_sg_get_process_count()
63  
64   SG_IFACE_DUPLEX_FULL = _statgrab.py_SG_IFACE_DUPLEX_FULL
65   SG_IFACE_DUPLEX_HALF = _statgrab.py_SG_IFACE_DUPLEX_HALF

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines