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

Comparing projects/libstatgrab/src/libstatgrab/statgrab.h (file contents):
Revision 1.2 by pajs, Tue Feb 18 23:12:08 2003 UTC vs.
Revision 1.8 by pajs, Sat Mar 1 15:01:01 2003 UTC

# Line 58 | Line 58 | typedef struct{
58   #define MAX_LOGIN_NAME_SIZE 8
59   #endif
60  
61 typedef char name[MAX_LOGIN_NAME_SIZE+1];
62
61   typedef struct{
62 <        name *name_list;
62 >        char *name_list;
63          int num_entries;
64   }user_stat_t;
65  
# Line 93 | Line 91 | typedef struct {
91   }disk_stat_t;
92  
93   typedef struct{
94 +        char *disk_name;
95 +        long long read_bytes;
96 +        long long write_bytes;
97 +        time_t systime;
98 + }diskio_stat_t;
99 +
100 + typedef struct{
101          int total;
102          int running;
103          int sleeping;
# Line 130 | Line 135 | swap_stat_t *get_swap_stats();
135   general_stat_t *get_general_stats();
136  
137   disk_stat_t *get_disk_stats(int *entries);
138 + diskio_stat_t *get_diskio_stats(int *entries);
139 + diskio_stat_t *get_diskio_stats_diff(int *entries);
140  
141   process_stat_t *get_process_stats();
142  
143   network_stat_t *get_network_stats(int *entries);
144 + network_stat_t *get_network_stats_diff(int *entries);
145  
146   page_stat_t *get_page_stats();
147 + page_stat_t *get_page_stats_diff();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines