]> granicus.if.org Git - sysstat/blob - xml/sysstat.xsd
08d76125a754c6e94756b37605490ba61c97393b
[sysstat] / xml / sysstat.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://pagesperso-orange.fr/sebastien.godard/sysstat" targetNamespace="http://pagesperso-orange.fr/sebastien.godard/sysstat" elementFormDefault="qualified">
3 <xs:annotation><xs:appinfo>-- XML Schema v2.9 for sysstat. See sadf.h --</xs:appinfo></xs:annotation>
4
5     <xs:element name="queue" type="queue-type"></xs:element>
6
7     <xs:complexType name="queue-type">
8         <xs:sequence></xs:sequence>
9         <xs:attribute name="runq-sz" type="xs:nonNegativeInteger"></xs:attribute>
10         <xs:attribute name="plist-sz" type="xs:nonNegativeInteger"></xs:attribute>
11         <xs:attribute name="ldavg-1" type="hundredth-type"></xs:attribute>
12         <xs:attribute name="ldavg-5" type="hundredth-type"></xs:attribute>
13         <xs:attribute name="ldavg-15" type="hundredth-type"></xs:attribute>
14     </xs:complexType>
15
16     <xs:element name="kernel" type="kernel-type"></xs:element>
17
18     <xs:complexType name="kernel-type">
19         <xs:sequence></xs:sequence>
20         <xs:attribute name="dentunusd" type="xs:nonNegativeInteger">
21         <xs:attribute name="file-nr" type="xs:nonNegativeInteger">
22         <xs:attribute name="inode-nr" type="xs:nonNegativeInteger">
23         <xs:attribute name="pty-nr" type="xs:nonNegativeInteger">
24         </xs:attribute>
25     </xs:complexType>
26
27     <xs:simpleType name="per-type">
28         <xs:restriction base="xs:string">
29                 <xs:enumeration value="second"></xs:enumeration>
30         </xs:restriction>
31     </xs:simpleType>
32
33     <xs:element name="memory" type="memory-type"></xs:element>
34
35     <xs:complexType name="memory-type">
36         <xs:sequence>
37                 <xs:element name="memfree" type="xs:negativeInteger"></xs:element>
38                 <xs:element name="memused" type="xs:nonNegativeInteger"></xs:element>
39                 <xs:element name="memused-percent" type="hundredth-type"></xs:element>
40                 <xs:element name="buffers" type="xs:nonNegativeInteger"></xs:element>
41                 <xs:element name="cached" type="xs:nonNegativeInteger"></xs:element>
42                 <xs:element name="commit" type="xs:nonNegativeInteger"></xs:element>
43                 <xs:element name="commit-percent" type="hundredth-type"></xs:element>
44                 <xs:element name="swpfree" type="xs:nonNegativeInteger"></xs:element>
45                 <xs:element name="swpused" type="xs:nonNegativeInteger"></xs:element>
46                 <xs:element name="swpused-percent" type="hundredth-type"></xs:element>
47                 <xs:element name="swpcad" type="xs:nonNegativeInteger"></xs:element>
48                 <xs:element name="swpcad-percent" type="hundredth-type"></xs:element>
49                 <xs:element name="frmpg" type="hundredth-type"></xs:element>
50                 <xs:element name="bufpg" type="hundredth-type"></xs:element>
51                 <xs:element name="campg" type="hundredth-type"></xs:element>
52         </xs:sequence>
53         <xs:attribute name="unit" type="unit-type"></xs:attribute>
54     </xs:complexType>
55     
56     <xs:element name="hugepages" type="hugepages-type"></xs:element>
57
58     <xs:complexType name="hugepages-type">
59         <xs:sequence>
60                 <xs:element name="hugfree" type="xs:nonNegativeInteger"></xs:element>
61                 <xs:element name="hugused" type="xs:nonNegativeInteger"></xs:element>
62                 <xs:element name="hugused-percent" type="hundredth-type"></xs:element>
63         </xs:sequence>
64     </xs:complexType>
65     
66     <xs:simpleType name="unit-type">
67         <xs:restriction base="xs:string">
68                 <xs:enumeration value="kB"></xs:enumeration>
69         </xs:restriction>
70     </xs:simpleType>
71
72
73     <xs:simpleType name="hundredth-type">
74         <xs:restriction base="xs:float">
75                 <xs:pattern value="\d*\.\d\d"></xs:pattern>
76         </xs:restriction>
77     </xs:simpleType>
78
79     <xs:element name="paging" type="paging-type"></xs:element>
80     
81     <xs:complexType name="paging-type">
82         <xs:sequence></xs:sequence>
83         <xs:attribute name="per" type="per-type"></xs:attribute>
84         <xs:attribute name="pgpgin" type="hundredth-type"></xs:attribute>
85         <xs:attribute name="pgpgout" type="hundredth-type"></xs:attribute>
86         <xs:attribute name="fault" type="hundredth-type"></xs:attribute>
87         <xs:attribute name="majflt" type="hundredth-type"></xs:attribute>
88         <xs:attribute name="pgfree" type="hundredth-type"></xs:attribute>
89         <xs:attribute name="pgscank" type="hundredth-type"></xs:attribute>
90         <xs:attribute name="pgscand" type="hundredth-type"></xs:attribute>
91         <xs:attribute name="pgsteal" type="hundredth-type"></xs:attribute>
92         <xs:attribute name="vmeff-precent" type="hundredth-type"></xs:attribute>
93     </xs:complexType>
94
95     <xs:element name="net-sock" type="net-sock-type"></xs:element>
96
97     <xs:complexType name="net-sock-type">
98         <xs:attribute name="totsck" type="xs:nonNegativeInteger"></xs:attribute>
99         <xs:attribute name="tcpsck" type="xs:nonNegativeInteger"></xs:attribute>
100         <xs:attribute name="udpsck" type="xs:nonNegativeInteger"></xs:attribute>
101         <xs:attribute name="rawsck" type="xs:nonNegativeInteger"></xs:attribute>
102         <xs:attribute name="ip-frag" type="xs:nonNegativeInteger"></xs:attribute>
103         <xs:attribute name="tcp-tw" type="xs:nonNegativeInteger"></xs:attribute>
104     </xs:complexType>
105
106     <xs:element name="net-sock6" type="net-sock6-type"></xs:element>
107
108     <xs:complexType name="net-sock6-type">
109         <xs:attribute name="tcp6sck" type="xs:nonNegativeInteger"></xs:attribute>
110         <xs:attribute name="udp6sck" type="xs:nonNegativeInteger"></xs:attribute>
111         <xs:attribute name="raw6sck" type="xs:nonNegativeInteger"></xs:attribute>
112         <xs:attribute name="ip6-frag" type="xs:nonNegativeInteger"></xs:attribute>
113     </xs:complexType>
114
115     <xs:element name="net-nfsd" type="net-nfsd-type"></xs:element>
116
117     <xs:complexType name="net-nfsd-type">
118         <xs:sequence></xs:sequence>
119         <xs:attribute name="scall" type="hundredth-type"></xs:attribute>
120         <xs:attribute name="badcall" type="hundredth-type"></xs:attribute>
121         <xs:attribute name="packet" type="hundredth-type"></xs:attribute>
122         <xs:attribute name="udp" type="hundredth-type"></xs:attribute>
123         <xs:attribute name="tcp" type="hundredth-type"></xs:attribute>
124         <xs:attribute name="hit" type="hundredth-type"></xs:attribute>
125         <xs:attribute name="miss" type="hundredth-type"></xs:attribute>
126         <xs:attribute name="sread" type="hundredth-type"></xs:attribute>
127         <xs:attribute name="swrite" type="hundredth-type"></xs:attribute>
128         <xs:attribute name="saccess" type="hundredth-type"></xs:attribute>
129         <xs:attribute name="sgetatt" type="hundredth-type"></xs:attribute>
130     </xs:complexType>
131
132     <xs:element name="net-nfs" type="net-nfs-type"></xs:element>
133
134     <xs:complexType name="net-nfs-type">
135         <xs:attribute name="call" type="hundredth-type"></xs:attribute>
136         <xs:attribute name="retrans" type="hundredth-type"></xs:attribute>
137         <xs:attribute name="read" type="hundredth-type"></xs:attribute>
138         <xs:attribute name="write" type="hundredth-type"></xs:attribute>
139         <xs:attribute name="access" type="hundredth-type"></xs:attribute>
140         <xs:attribute name="getatt" type="hundredth-type"></xs:attribute>
141     </xs:complexType>
142
143     <xs:element name="net-dev" type="net-dev-type"></xs:element>
144
145     <xs:complexType name="net-dev-type">
146         <xs:attribute name="iface" type="xs:string"></xs:attribute>    
147         <xs:attribute name="rxpck" type="hundredth-type"></xs:attribute>
148         <xs:attribute name="txpck" type="hundredth-type"></xs:attribute>
149         <xs:attribute name="rxkB" type="hundredth-type"></xs:attribute>
150         <xs:attribute name="txkB" type="hundredth-type"></xs:attribute>
151         <xs:attribute name="rxcmp" type="hundredth-type"></xs:attribute>
152         <xs:attribute name="txcmp" type="hundredth-type"></xs:attribute>
153         <xs:attribute name="rxmcst" type="hundredth-type"></xs:attribute>
154     </xs:complexType>
155
156     <xs:element name="net-edev" type="net-edev-type"></xs:element>
157
158     <xs:complexType name="net-edev-type">
159         <xs:attribute name="iface" type="xs:string"></xs:attribute>
160         <xs:attribute name="rxerr" type="hundredth-type"></xs:attribute>
161         <xs:attribute name="txerr" type="hundredth-type"></xs:attribute>
162         <xs:attribute name="coll" type="hundredth-type"></xs:attribute>
163         <xs:attribute name="rxdrop" type="hundredth-type"></xs:attribute>
164         <xs:attribute name="txdrop" type="hundredth-type"></xs:attribute>
165         <xs:attribute name="txcarr" type="hundredth-type"></xs:attribute>
166         <xs:attribute name="rxfram" type="hundredth-type"></xs:attribute>
167         <xs:attribute name="rxfifo" type="hundredth-type"></xs:attribute>
168         <xs:attribute name="txfifo" type="hundredth-type"></xs:attribute>
169     </xs:complexType>
170
171     <xs:element name="net-ip" type="net-ip-type"></xs:element>
172
173     <xs:complexType name="net-ip-type">
174         <xs:attribute name="irec" type="hundredth-type"></xs:attribute>
175         <xs:attribute name="fwddgm" type="hundredth-type"></xs:attribute>
176         <xs:attribute name="idel" type="hundredth-type"></xs:attribute>
177         <xs:attribute name="orq" type="hundredth-type"></xs:attribute>
178         <xs:attribute name="asmrq" type="hundredth-type"></xs:attribute>
179         <xs:attribute name="asmok" type="hundredth-type"></xs:attribute>
180         <xs:attribute name="fragok" type="hundredth-type"></xs:attribute>
181         <xs:attribute name="fragcrt" type="hundredth-type"></xs:attribute>
182     </xs:complexType>
183
184     <xs:element name="net-ip6" type="net-ip6-type"></xs:element>
185
186     <xs:complexType name="net-ip6-type">
187         <xs:attribute name="irec6" type="hundredth-type"></xs:attribute>
188         <xs:attribute name="fwddgm6" type="hundredth-type"></xs:attribute>
189         <xs:attribute name="idel6" type="hundredth-type"></xs:attribute>
190         <xs:attribute name="orq6" type="hundredth-type"></xs:attribute>
191         <xs:attribute name="asmrq6" type="hundredth-type"></xs:attribute>
192         <xs:attribute name="asmok6" type="hundredth-type"></xs:attribute>
193         <xs:attribute name="imcpck6" type="hundredth-type"></xs:attribute>
194         <xs:attribute name="omcpck6" type="hundredth-type"></xs:attribute>
195         <xs:attribute name="fragok6" type="hundredth-type"></xs:attribute>
196         <xs:attribute name="fragcr6" type="hundredth-type"></xs:attribute>
197     </xs:complexType>
198
199     <xs:element name="net-eip" type="net-eip-type"></xs:element>
200
201     <xs:complexType name="net-eip-type">
202         <xs:attribute name="ihdrerr" type="hundredth-type"></xs:attribute>
203         <xs:attribute name="iadrerr" type="hundredth-type"></xs:attribute>
204         <xs:attribute name="iukwnpr" type="hundredth-type"></xs:attribute>
205         <xs:attribute name="idisc" type="hundredth-type"></xs:attribute>
206         <xs:attribute name="odisc" type="hundredth-type"></xs:attribute>
207         <xs:attribute name="onort" type="hundredth-type"></xs:attribute>
208         <xs:attribute name="asmf" type="hundredth-type"></xs:attribute>
209         <xs:attribute name="fragf" type="hundredth-type"></xs:attribute>
210     </xs:complexType>
211
212     <xs:element name="net-eip6" type="net-eip6-type"></xs:element>
213
214     <xs:complexType name="net-eip6-type">
215         <xs:attribute name="ihdrer6" type="hundredth-type"></xs:attribute>
216         <xs:attribute name="iadrer6" type="hundredth-type"></xs:attribute>
217         <xs:attribute name="iukwnp6" type="hundredth-type"></xs:attribute>
218         <xs:attribute name="i2big6" type="hundredth-type"></xs:attribute>
219         <xs:attribute name="idisc6" type="hundredth-type"></xs:attribute>
220         <xs:attribute name="odisc6" type="hundredth-type"></xs:attribute>
221         <xs:attribute name="inort6" type="hundredth-type"></xs:attribute>
222         <xs:attribute name="onort6" type="hundredth-type"></xs:attribute>
223         <xs:attribute name="asmf6" type="hundredth-type"></xs:attribute>
224         <xs:attribute name="fragf6" type="hundredth-type"></xs:attribute>
225         <xs:attribute name="itrpck6" type="hundredth-type"></xs:attribute>
226     </xs:complexType>
227
228     <xs:element name="net-icmp" type="net-icmp-type"></xs:element>
229
230     <xs:complexType name="net-icmp-type">
231         <xs:attribute name="imsg" type="hundredth-type"></xs:attribute>
232         <xs:attribute name="omsg" type="hundredth-type"></xs:attribute>
233         <xs:attribute name="iech" type="hundredth-type"></xs:attribute>
234         <xs:attribute name="iechr" type="hundredth-type"></xs:attribute>
235         <xs:attribute name="oech" type="hundredth-type"></xs:attribute>
236         <xs:attribute name="oechr" type="hundredth-type"></xs:attribute>
237         <xs:attribute name="itm" type="hundredth-type"></xs:attribute>
238         <xs:attribute name="itmr" type="hundredth-type"></xs:attribute>
239         <xs:attribute name="otm" type="hundredth-type"></xs:attribute>
240         <xs:attribute name="otmr" type="hundredth-type"></xs:attribute>
241         <xs:attribute name="iadrmk" type="hundredth-type"></xs:attribute>
242         <xs:attribute name="iadrmkr" type="hundredth-type"></xs:attribute>
243         <xs:attribute name="oadrmk" type="hundredth-type"></xs:attribute>
244         <xs:attribute name="oadrmkr" type="hundredth-type"></xs:attribute>
245     </xs:complexType>
246
247     <xs:element name="net-icmp6" type="net-icmp6-type"></xs:element>
248
249     <xs:complexType name="net-icmp6-type">
250         <xs:attribute name="imsg6" type="hundredth-type"></xs:attribute>
251         <xs:attribute name="omsg6" type="hundredth-type"></xs:attribute>
252         <xs:attribute name="iech6" type="hundredth-type"></xs:attribute>
253         <xs:attribute name="iechr6" type="hundredth-type"></xs:attribute>
254         <xs:attribute name="oechr6" type="hundredth-type"></xs:attribute>
255         <xs:attribute name="igmbq6" type="hundredth-type"></xs:attribute>
256         <xs:attribute name="igmbr6" type="hundredth-type"></xs:attribute>
257         <xs:attribute name="ogmbr6" type="hundredth-type"></xs:attribute>
258         <xs:attribute name="igmbrd6" type="hundredth-type"></xs:attribute>
259         <xs:attribute name="ogmbrd6" type="hundredth-type"></xs:attribute>
260         <xs:attribute name="irtsol6" type="hundredth-type"></xs:attribute>
261         <xs:attribute name="ortsol6" type="hundredth-type"></xs:attribute>
262         <xs:attribute name="irtad6" type="hundredth-type"></xs:attribute>
263         <xs:attribute name="inbsol6" type="hundredth-type"></xs:attribute>
264         <xs:attribute name="onbsol6" type="hundredth-type"></xs:attribute>
265         <xs:attribute name="inbad6" type="hundredth-type"></xs:attribute>
266         <xs:attribute name="onbad6" type="hundredth-type"></xs:attribute>
267     </xs:complexType>
268
269     <xs:element name="net-eicmp" type="net-eicmp-type"></xs:element>
270
271     <xs:complexType name="net-eicmp-type">
272         <xs:attribute name="ierr" type="hundredth-type"></xs:attribute>
273         <xs:attribute name="oerr" type="hundredth-type"></xs:attribute>
274         <xs:attribute name="idstunr" type="hundredth-type"></xs:attribute>
275         <xs:attribute name="odstunr" type="hundredth-type"></xs:attribute>
276         <xs:attribute name="itmex" type="hundredth-type"></xs:attribute>
277         <xs:attribute name="otmex" type="hundredth-type"></xs:attribute>
278         <xs:attribute name="iparmpb" type="hundredth-type"></xs:attribute>
279         <xs:attribute name="oparmpb" type="hundredth-type"></xs:attribute>
280         <xs:attribute name="isrcq" type="hundredth-type"></xs:attribute>
281         <xs:attribute name="osrcq" type="hundredth-type"></xs:attribute>
282         <xs:attribute name="iredir" type="hundredth-type"></xs:attribute>
283         <xs:attribute name="oredir" type="hundredth-type"></xs:attribute>
284     </xs:complexType>
285
286     <xs:element name="net-eicmp6" type="net-eicmp6-type"></xs:element>
287
288     <xs:complexType name="net-eicmp6-type">
289         <xs:attribute name="ierr6" type="hundredth-type"></xs:attribute>
290         <xs:attribute name="idtunr6" type="hundredth-type"></xs:attribute>
291         <xs:attribute name="odtunr6" type="hundredth-type"></xs:attribute>
292         <xs:attribute name="itmex6" type="hundredth-type"></xs:attribute>
293         <xs:attribute name="otmex6" type="hundredth-type"></xs:attribute>
294         <xs:attribute name="iprmpb6" type="hundredth-type"></xs:attribute>
295         <xs:attribute name="oprmpb6" type="hundredth-type"></xs:attribute>
296         <xs:attribute name="iredir6" type="hundredth-type"></xs:attribute>
297         <xs:attribute name="oredir6" type="hundredth-type"></xs:attribute>
298         <xs:attribute name="ipck2b6" type="hundredth-type"></xs:attribute>
299         <xs:attribute name="opck2b6" type="hundredth-type"></xs:attribute>
300     </xs:complexType>
301
302     <xs:element name="net-tcp" type="net-tcp-type"></xs:element>
303
304     <xs:complexType name="net-tcp-type">
305         <xs:attribute name="active" type="hundredth-type"></xs:attribute>
306         <xs:attribute name="passive" type="hundredth-type"></xs:attribute>
307         <xs:attribute name="iseg" type="hundredth-type"></xs:attribute>
308         <xs:attribute name="oseg" type="hundredth-type"></xs:attribute>
309     </xs:complexType>
310
311     <xs:element name="net-etcp" type="net-etcp-type"></xs:element>
312
313     <xs:complexType name="net-etcp-type">
314         <xs:attribute name="atmptf" type="hundredth-type"></xs:attribute>
315         <xs:attribute name="estres" type="hundredth-type"></xs:attribute>
316         <xs:attribute name="retrans" type="hundredth-type"></xs:attribute>
317         <xs:attribute name="isegerr" type="hundredth-type"></xs:attribute>
318         <xs:attribute name="orsts/" type="hundredth-type"></xs:attribute>
319     </xs:complexType>
320
321     <xs:element name="net-udp" type="net-udp-type"></xs:element>
322
323     <xs:complexType name="net-udp-type">
324         <xs:attribute name="idgm" type="hundredth-type"></xs:attribute>
325         <xs:attribute name="odgm" type="hundredth-type"></xs:attribute>
326         <xs:attribute name="noport" type="hundredth-type"></xs:attribute>
327         <xs:attribute name="idgmerr" type="hundredth-type"></xs:attribute>
328     </xs:complexType>
329
330     <xs:element name="net-udp6" type="net-udp6-type"></xs:element>
331
332     <xs:complexType name="net-udp6-type">
333         <xs:attribute name="idgm6" type="hundredth-type"></xs:attribute>
334         <xs:attribute name="odgm6" type="hundredth-type"></xs:attribute>
335         <xs:attribute name="noport6" type="hundredth-type"></xs:attribute>
336         <xs:attribute name="idgmer6" type="hundredth-type"></xs:attribute>
337     </xs:complexType>
338
339     <xs:element name="network" type="network-type"></xs:element>
340
341     <xs:complexType name="network-type">
342         <xs:sequence>
343                 <xs:element name="net-dev" type="net-dev-type" minOccurs="1"></xs:element>
344                 <xs:element name="net-edev" type="net-edev-type" minOccurs="1"></xs:element>
345                 <xs:element name="net-nfs" type="net-nfs-type" minOccurs="1"></xs:element>
346                 <xs:element name="net-nfsd" type="net-nfsd-type" minOccurs="1"></xs:element>
347                 <xs:element name="net-sock" type="net-sock-type" minOccurs="1"></xs:element>
348                 <xs:element name="net-ip" type="net-ip-type"></xs:element>
349                 <xs:element name="net-eip" type="net-eip-type"></xs:element>
350                 <xs:element name="net-icmp" type="net-icmp-type"></xs:element>
351                 <xs:element name="net-eicmp" type="net-eicmp-type"></xs:element>
352                 <xs:element name="net-tcp" type="net-tcp-type"></xs:element>
353                 <xs:element name="net-etcp" type="net-etcp-type"></xs:element>
354                 <xs:element name="net-udp" type="net-udp-type"></xs:element>
355                 <xs:element name="net-sock6" type="net-sock6-type" minOccurs="1"></xs:element>
356                 <xs:element name="net-ip6" type="net-ip6-type"></xs:element>
357                 <xs:element name="net-eip6" type="net-eip6-type"></xs:element>
358                 <xs:element name="net-icmp6" type="net-icmp6-type"></xs:element>
359                 <xs:element name="net-eicmp6" type="net-eicmp6-type"></xs:element>
360                 <xs:element name="net-udp6" type="net-udp6-type"></xs:element>
361         </xs:sequence>
362         <xs:attribute name="per" type="per-type"></xs:attribute>
363     </xs:complexType>
364
365     <xs:element name="tty" type="tty-type"></xs:element>
366
367     <xs:complexType name="tty-type">
368         <xs:attribute name="line" type="xs:int"></xs:attribute>
369         <xs:attribute name="rcvin" type="hundredth-type"></xs:attribute>
370         <xs:attribute name="xmtin" type="hundredth-type"></xs:attribute>
371         <xs:attribute name="framerr" type="hundredth-type"></xs:attribute>
372         <xs:attribute name="prtyerr" type="hundredth-type"></xs:attribute>
373         <xs:attribute name="brk" type="hundredth-type"></xs:attribute>
374         <xs:attribute name="ovrun" type="hundredth-type"></xs:attribute>
375     </xs:complexType>
376
377     <xs:element name="serial" type="serial-type"></xs:element>
378
379     <xs:complexType name="serial-type">
380         <xs:sequence>
381                 <xs:element name="tty" type="tty-type"></xs:element>
382         </xs:sequence>
383         <xs:attribute name="per" type="per-type"></xs:attribute>
384     </xs:complexType>
385
386     <xs:element name="disk-device" type="disk-device-type"></xs:element>
387
388     <xs:complexType name="disk-device-type">
389         <xs:attribute name="dev" type="xs:string"></xs:attribute>
390         <xs:attribute name="tps" type="hundredth-type"></xs:attribute>
391         <xs:attribute name="rd_sec" type="hundredth-type"></xs:attribute>
392         <xs:attribute name="wr_sec" type="hundredth-type"></xs:attribute>
393         <xs:attribute name="avgrq-sz" type="hundredth-type"></xs:attribute>
394         <xs:attribute name="avrqu-sz" type="hundredth-type"></xs:attribute>
395         <xs:attribute name="await" type="hundredth-type"></xs:attribute>
396         <xs:attribute name="svctm" type="hundredth-type"></xs:attribute>
397         <xs:attribute name="util-percent" type="hundredth-type"></xs:attribute>
398     </xs:complexType>
399
400     <xs:element name="disk" type="disk-type"></xs:element>
401
402     <xs:complexType name="disk-type">
403         <xs:sequence>
404                 <xs:element name="disk-device" type="disk-device-type"></xs:element>
405         </xs:sequence>
406         <xs:attribute name="per" type="per-type"></xs:attribute>
407     </xs:complexType>
408
409     <xs:element name="tps" type="tps-type"></xs:element>
410
411     <xs:element name="io-reads" type="io-reads-type"></xs:element>
412
413     <xs:complexType name="io-reads-type">
414         <xs:attribute name="rtps" type="hundredth-type"></xs:attribute>
415         <xs:attribute name="bread" type="hundredth-type"></xs:attribute>
416     </xs:complexType>
417
418     <xs:element name="io-writes" type="io-writes-type"></xs:element>
419
420     <xs:complexType name="io-writes-type">
421         <xs:attribute name="wtps" type="hundredth-type"></xs:attribute>
422         <xs:attribute name="bwrtn" type="hundredth-type"></xs:attribute>
423     </xs:complexType>
424
425     <xs:element name="io" type="io-type"></xs:element>
426
427     <xs:complexType name="io-type">
428         <xs:sequence>
429                 <xs:element name="io-reads" type="io-reads-type" minOccurs="1"></xs:element>
430                 <xs:element name="io-writes" type="io-writes-type" minOccurs="1"></xs:element>
431                 <xs:element name="tps" type="tps-type" minOccurs="1"></xs:element>
432         </xs:sequence>
433         <xs:attribute name="per" type="per-type"></xs:attribute>
434     </xs:complexType>
435
436     <xs:element name="swap-pages" type="swap-pages-type"></xs:element>
437
438     <xs:complexType name="swap-pages-type">
439         <xs:attribute name="per" type="per-type"></xs:attribute>
440         <xs:attribute name="pswpin" type="hundredth-type"></xs:attribute>
441         <xs:attribute name="pswpout" type="hundredth-type"></xs:attribute>
442     </xs:complexType>
443
444     <xs:element name="int-global" type="int-global-type"></xs:element>
445
446     <xs:complexType name="int-global-type">
447         <xs:sequence>
448                 <xs:element name="irq" type="irq-type" minOccurs="1"></xs:element>
449         </xs:sequence>
450         <xs:attribute name="per" type="per-type"></xs:attribute>
451     </xs:complexType>
452
453     <xs:element name="cpu-frequency" type="cpu-frequency-type"></xs:element>
454
455     <xs:complexType name="cpu-frequency-type">
456         <xs:sequence>
457                 <xs:element name="cpufreq" type="cpufreq-type" minOccurs="1"></xs:element>
458         </xs:sequence>
459         <xs:attribute name="unit" type="frequnit-type"></xs:attribute>
460     </xs:complexType>
461
462     <xs:simpleType name="frequnit-type">
463         <xs:restriction base="xs:string">
464                 <xs:enumeration value="MHz"></xs:enumeration>
465         </xs:restriction>
466     </xs:simpleType>
467
468     <xs:element name="fan-speed" type="fan-speed-type"></xs:element>
469
470     <xs:complexType name="fan-speed-type">
471         <xs:sequence>
472                 <xs:element name="fan" type="fan-type"></xs:element>
473         </xs:sequence>
474         <xs:attribute name="unit" type="fanunit-type"></xs:attribute>
475     </xs:complexType>
476
477     <xs:simpleType name="fanunit-type">
478         <xs:restriction base="xs:string">
479                 <xs:enumeration value="rpm"></xs:enumeration>
480         </xs:restriction>
481     </xs:simpleType>
482
483    <xs:element name="temperature" type="temperature-type"></xs:element>
484
485    <xs:complexType name="temperature-type">
486         <xs:sequence>
487                 <xs:element name="temp" type="temp-type"></xs:element>
488         </xs:sequence>
489         <xs:attribute name="unit" type="tempunit-type"></xs:attribute>
490     </xs:complexType>
491
492     <xs:simpleType name="tempunit-type">
493         <xs:restriction base="xs:string">
494                 <xs:enumeration value="degree Celsius"></xs:enumeration>
495         </xs:restriction>
496     </xs:simpleType>
497
498    <xs:element name="voltage-input" type="voltage-input-type"></xs:element>
499
500    <xs:complexType name="voltage-input-type">
501         <xs:sequence>
502                 <xs:element name="in" type="in-type"></xs:element>
503         </xs:sequence>
504         <xs:attribute name="unit" type="inunit-type"></xs:attribute>
505    </xs:complexType>
506
507     <xs:simpleType name="inunit-type">
508         <xs:restriction base="xs:string">
509                 <xs:enumeration value="V"></xs:enumeration>
510         </xs:restriction>
511    </xs:simpleType>
512
513     <xs:element name="irq" type="irq-type"></xs:element>
514
515     <xs:complexType name="irq-type">
516         <xs:attribute name="intr" type="xs:int"></xs:attribute>
517         <xs:attribute name="value" type="hundredth-type"></xs:attribute>
518     </xs:complexType>
519     
520     <xs:element name="cpufreq" type="cpufreq-type"></xs:element>
521
522     <xs:complexType name="cpufreq-type">
523         <xs:attribute name="number" type="xs:string"></xs:attribute>
524         <xs:attribute name="frequency" type="hundredth-type"></xs:attribute>
525     </xs:complexType>
526
527     <xs:element name="fan" type="fan-type"></xs:element>
528
529     <xs:complexType name="fan-type">
530         <xs:attribute name="number" type="xs:nonNegativeInteger"></xs:attribute>
531         <xs:attribute name="rpm" type="xs:nonNegativeInteger"></xs:attribute>
532         <xs:attribute name="drpm" type="xs:integer"></xs:attribute>
533         <xs:attribute name="device" type="xs:string"></xs:attribute>
534     </xs:complexType>
535
536     <xs:element name="temp" type="temp-type"></xs:element>
537
538     <xs:complexType name="temp-type">
539         <xs:attribute name="number" type="xs:nonNegativeInteger"></xs:attribute>
540         <xs:attribute name="degC" type="hundredth-type"></xs:attribute>
541         <xs:attribute name="percent-temp" type="hundredth-type"></xs:attribute>
542         <xs:attribute name="device" type="xs:string"></xs:attribute>
543     </xs:complexType>
544
545    <xs:element name="in" type="in-type"></xs:element>
546
547    <xs:complexType name="in-type">
548         <xs:attribute name="number" type="xs:nonNegativeInteger"></xs:attribute>
549         <xs:attribute name="inV" type="hundredth-type"></xs:attribute>
550         <xs:attribute name="percent-in" type="hundredth-type"></xs:attribute>
551         <xs:attribute name="device" type="xs:string"></xs:attribute>
552    </xs:complexType>
553
554     <xs:element name="cpu" type="cpu-type"></xs:element>
555
556     <xs:complexType name="cpu-type">
557         <xs:attribute name="number" type="xs:string"></xs:attribute>
558         <xs:attribute name="user" type="hundredth-type"></xs:attribute>
559         <xs:attribute name="nice" type="hundredth-type"></xs:attribute>
560         <xs:attribute name="system" type="hundredth-type"></xs:attribute>
561         <xs:attribute name="iowait" type="hundredth-type"></xs:attribute>
562         <xs:attribute name="steal" type="hundredth-type"></xs:attribute>
563         <xs:attribute name="idle" type="hundredth-type"></xs:attribute>
564     </xs:complexType>
565
566     <xs:element name="cpu-all" type="cpu-all-type"></xs:element>
567
568     <xs:complexType name="cpu-all-type">
569         <xs:attribute name="number" type="xs:string"></xs:attribute>
570         <xs:attribute name="usr" type="hundredth-type"></xs:attribute>
571         <xs:attribute name="nice" type="hundredth-type"></xs:attribute>
572         <xs:attribute name="sys" type="hundredth-type"></xs:attribute>
573         <xs:attribute name="iowait" type="hundredth-type"></xs:attribute>
574         <xs:attribute name="steal" type="hundredth-type"></xs:attribute>
575         <xs:attribute name="irq" type="hundredth-type"></xs:attribute>
576         <xs:attribute name="soft" type="hundredth-type"></xs:attribute>
577         <xs:attribute name="guest" type="hundredth-type"></xs:attribute>
578         <xs:attribute name="idle" type="hundredth-type"></xs:attribute>
579     </xs:complexType>
580
581     <xs:element name="cpu-load" type="cpu-load-type"></xs:element>
582
583     <xs:complexType name="cpu-load-type">
584         <xs:sequence>
585                 <xs:element name="cpu" type="cpu-type"></xs:element>
586         </xs:sequence>
587     </xs:complexType>
588
589     <xs:element name="cpu-load-all" type="cpu-load-all-type"></xs:element>
590
591     <xs:complexType name="cpu-load-all-type">
592         <xs:sequence>
593                 <xs:element name="cpu-all" type="cpu-all-type"></xs:element>
594         </xs:sequence>
595     </xs:complexType>
596
597     <xs:element name="process-and-context-switch"
598             type="process-and-context-switch-type"></xs:element>
599
600     <xs:complexType name="process-and-context-switch-type">
601         <xs:attribute name="per" type="per-type"></xs:attribute>
602         <xs:attribute name="proc" type="hundredth-type"></xs:attribute>
603         <xs:attribute name="cswch" type="hundredth-type"></xs:attribute>
604     </xs:complexType>
605
606     <xs:element name="timestamp" type="timestamp-type"></xs:element>
607
608     <xs:complexType name="timestamp-type">
609         <xs:sequence>
610                 <xs:element name="cpu-load" type="cpu-load-type"></xs:element>
611                 <xs:element name="cpu-load-all" type="cpu-load-all-type"></xs:element>
612                 <xs:element name="process-and-context-switch"
613                         type="process-and-context-switch-type"></xs:element>
614                 <xs:element name="interrupts" type="interrupts-type"></xs:element>
615                 <xs:element name="swap-pages" type="swap-pages-type"></xs:element>
616                 <xs:element name="paging" type="paging-type"></xs:element>
617                 <xs:element name="io" type="io-type"></xs:element>
618                 <xs:element name="memory" type="memory-type"></xs:element>
619                 <xs:element name="hugepages" type="hugepages-type"></xs:element>
620                 <xs:element name="kernel" type="kernel-type"></xs:element>
621                 <xs:element name="queue" type="queue-type"></xs:element>
622                 <xs:element name="serial" type="serial-type"></xs:element>
623                 <xs:element name="disk" type="disk-type"></xs:element>
624                 <xs:element name="network" type="network-type"></xs:element>
625                 <xs:element name="power-management" type="power-management-type"></xs:element>
626         </xs:sequence>
627         <xs:attribute name="date" type="xs:date"></xs:attribute>
628         <xs:attribute name="time" type="xs:time"></xs:attribute>
629         <xs:attribute name="interval" type="xs:nonNegativeInteger"></xs:attribute>
630     </xs:complexType>
631
632     <xs:element name="interrupts" type="interrupts-type"></xs:element>
633
634     <xs:complexType name="interrupts-type">
635         <xs:sequence>
636                 <xs:element name="int-global" type="int-global-type"
637                         minOccurs="1">
638                 </xs:element>
639         </xs:sequence>
640     </xs:complexType>
641     
642     <xs:element name="power-management" type="power-management-type"></xs:element>
643
644     <xs:complexType name="power-management-type">
645         <xs:sequence>
646                 <xs:element name="cpu-frequency" type="cpu-frequency-type"
647                         minOccurs="1">
648                 </xs:element>
649                 <xs:element name="fan-speed" type="fan-speed-type"></xs:element>
650                 <xs:element name="temperature" type="temperature-type"></xs:element>
651                 <xs:element name="voltage-input" type="voltage-input-type"></xs:element>
652         </xs:sequence>
653     </xs:complexType>
654
655     <xs:simpleType name="tps-type">
656         <xs:restriction base="hundredth-type"></xs:restriction>
657     </xs:simpleType>
658
659     <xs:element name="statistics" type="statistics-type"></xs:element>
660
661     <xs:complexType name="statistics-type">
662         <xs:sequence>
663                 <xs:element name="timestamp" type="timestamp-type"></xs:element>
664         </xs:sequence>
665     </xs:complexType>
666
667     <xs:element name="release" type="release-type"></xs:element>
668
669     <xs:simpleType name="release-type">
670         <xs:restriction base="xs:string"></xs:restriction>
671     </xs:simpleType>
672
673     <xs:element name="machine" type="machine-type"></xs:element>
674
675     <xs:simpleType name="machine-type">
676         <xs:restriction base="xs:string"></xs:restriction>
677     </xs:simpleType>
678     
679     <xs:element name="number-of-cpus" type="number-of-cpus-type"></xs:element>
680
681     <xs:simpleType name="number-of-cpus-type">
682         <xs:restriction base="xs:nonNegativeInteger"></xs:restriction>
683     </xs:simpleType>
684
685     <xs:element name="file-date" type="file-date-type"></xs:element>
686
687     <xs:simpleType name="file-date-type">
688         <xs:restriction base="xs:date"></xs:restriction>
689
690     </xs:simpleType>
691     <xs:element name="sysname" type="sysname-type"></xs:element>
692
693     <xs:simpleType name="sysname-type">
694         <xs:restriction base="xs:string"></xs:restriction>
695     </xs:simpleType>
696
697     <xs:element name="host" type="host-type"></xs:element>
698
699     <xs:complexType name="host-type">
700         <xs:sequence>
701                 <xs:element name="sysname" type="sysname-type"></xs:element>
702                 <xs:element name="release" type="release-type"></xs:element>
703                 <xs:element name="machine" type="machine-type"></xs:element>
704                 <xs:element name="file-date" type="file-date-type"></xs:element>
705                 <xs:element name="number-of-cpus" type="number-of-cpus-type"></xs:element>
706                 <xs:element name="statistics" type="statistics-type"></xs:element>
707                 <xs:element name="restarts" type="restarts-type"></xs:element>
708                 <xs:element name="comments" type="comments-type"></xs:element>
709         </xs:sequence>
710         <xs:attribute name="nodename" type="xs:string"></xs:attribute>
711     </xs:complexType>
712     
713     <xs:element name="sysdata-version" type="sysdata-version-type"></xs:element>
714
715
716     <xs:simpleType name="sysdata-version-type">
717         <xs:restriction base="xs:string"></xs:restriction>
718     </xs:simpleType>
719
720     <xs:element name="sysstat" type="sysstat-type"></xs:element>
721
722     <xs:complexType name="sysstat-type">
723         <xs:sequence>
724                 <xs:element name="sysdata-version"
725                         type="sysdata-version-type">
726                 </xs:element>
727                 <xs:element name="host" type="host-type"></xs:element>
728         </xs:sequence>
729     </xs:complexType>
730
731     <xs:element name="restarts" type="restarts-type"></xs:element>
732
733     <xs:complexType name="restarts-type">
734         <xs:sequence>
735                 <xs:element name="boot" type="boot-type"></xs:element>
736         </xs:sequence>
737     </xs:complexType>
738     
739     <xs:element name="comments" type="comments-type"></xs:element>
740
741     <xs:complexType name="comments-type">
742         <xs:attribute name="date" type="xs:date"></xs:attribute>
743         <xs:attribute name="time" type="xs:time"></xs:attribute>
744         <xs:attribute name="comment" type="xs:string"></xs:attribute>
745     </xs:complexType>
746
747     
748
749     <xs:element name="boot" type="boot-type"></xs:element>
750
751     <xs:complexType name="boot-type">
752         <xs:sequence></xs:sequence>
753         <xs:attribute name="date" type="xs:date"></xs:attribute>
754         <xs:attribute name="time" type="xs:time"></xs:attribute>
755     </xs:complexType>
756 </xs:schema>