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(): |
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(): |
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 |