<?xml version="1.0" encoding="UTF-8"?>
<xs:annotation>
	-- XML Schema v1.6 for sysstat --
</xs:annotation>
<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">

    <xs:element name="queue" type="queue-type"></xs:element>

    <xs:complexType name="queue-type">
    	<xs:sequence></xs:sequence>
    	<xs:attribute name="runq-sz" type="xs:nonNegativeInteger"></xs:attribute>
    	<xs:attribute name="plist-sz" type="xs:nonNegativeInteger"></xs:attribute>
    	<xs:attribute name="ldavg-1" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="ldavg-5" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="ldavg-15" type="hundredth-type"></xs:attribute>
    </xs:complexType>



    <xs:element name="kernel" type="kernel-type">
    </xs:element>

    <xs:complexType name="kernel-type">
    	<xs:sequence>
    		<xs:element name="dentunusd" type="xs:nonNegativeInteger"></xs:element>
    		<xs:element name="file-nr" type="xs:nonNegativeInteger"></xs:element>
    		<xs:element name="inode-nr" type="xs:nonNegativeInteger"></xs:element>
    		<xs:element name="pty-nr" type="xs:nonNegativeInteger"></xs:element>
    	</xs:sequence>
    	<xs:attribute name="per" type="per-type">
    	</xs:attribute>
    </xs:complexType>

    <xs:simpleType name="per-type">
    	<xs:restriction base="xs:string">
    		<xs:enumeration value="second"></xs:enumeration>
    	</xs:restriction>
    </xs:simpleType>

    <xs:element name="memory" type="memory-type"></xs:element>

    <xs:complexType name="memory-type">
    	<xs:sequence>
    		<xs:element name="memfree" type="xs:negativeInteger"></xs:element>
    		<xs:element name="memused" type="xs:nonNegativeInteger"></xs:element>
    		<xs:element name="memused-percent" type="hundredth-type">
    		</xs:element>
    		<xs:element name="swpfree" type="xs:nonNegativeInteger"></xs:element>
    		<xs:element name="swpused" type="xs:nonNegativeInteger"></xs:element>
    		<xs:element name="swpused-percent" type="hundredth-type"></xs:element>
    		<xs:element name="swpcad" type="xs:nonNegativeInteger"></xs:element>
    		<xs:element name="buffers" type="xs:nonNegativeInteger"></xs:element>
    		<xs:element name="cached" type="xs:nonNegativeInteger"></xs:element>
    		<xs:element name="frmpg" type="hundredth-type"></xs:element>
    		<xs:element name="bufpg" type="hundredth-type"></xs:element>
    		<xs:element name="campg" type="hundredth-type"></xs:element>
    	</xs:sequence>
    	<xs:attribute name="unit" type="unit-type"></xs:attribute>
    </xs:complexType>
    
    <xs:simpleType name="unit-type">
    	<xs:restriction base="xs:string">
    		<xs:enumeration value="kB"></xs:enumeration>
    	</xs:restriction>
    </xs:simpleType>


    <xs:simpleType name="hundredth-type">
    	<xs:restriction base="xs:float">
    		<xs:pattern value="\d*\.\d\d"></xs:pattern>
    	</xs:restriction>
    </xs:simpleType>

    <xs:element name="paging" type="paging-type"></xs:element>
    
    <xs:complexType name="paging-type">
    	<xs:sequence></xs:sequence>
    	<xs:attribute name="per" type="per-type"></xs:attribute>
    	<xs:attribute name="pgpgin" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="pgpgout" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="fault" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="majflt" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="pgfree" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="pgscank" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="pgscand" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="pgsteal" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="vmeff-precent" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="net-sock" type="net-sock-type"></xs:element>

    <xs:complexType name="net-sock-type">
    	<xs:attribute name="totsck" type="xs:nonNegativeInteger"></xs:attribute>
    	<xs:attribute name="tcpsck" type="xs:nonNegativeInteger"></xs:attribute>
    	<xs:attribute name="udpsck" type="xs:nonNegativeInteger"></xs:attribute>
    	<xs:attribute name="rawsck" type="xs:nonNegativeInteger"></xs:attribute>
    	<xs:attribute name="ip-frag" type="xs:nonNegativeInteger"></xs:attribute>
    	<xs:attribute name="tcp-tw" type="xs:nonNegativeInteger"></xs:attribute>
    </xs:complexType>


    <xs:element name="net-nfsd" type="net-nfsd-type"></xs:element>

    <xs:complexType name="net-nfsd-type">
    	<xs:sequence></xs:sequence>
    	<xs:attribute name="scall" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="badcall" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="packet" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="udp" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="tcp" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="hit" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="miss" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="sread" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="swrite" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="saccess" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="sgetatt" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="net-nfs" type="net-nfs-type"></xs:element>

    <xs:complexType name="net-nfs-type">
    	<xs:attribute name="call" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="retrans" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="read" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="write" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="access" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="getatt" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="net-dev" type="net-dev-type"></xs:element>

    <xs:complexType name="net-dev-type">
    	<xs:attribute name="rxpck" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="txpck" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="rxkB" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="txkB" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="rxcmp" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="txcmp" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="rxmcst" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="net-edev" type="net-edev-type"></xs:element>

    <xs:complexType name="net-edev-type">
    	<xs:attribute name="rxerr" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="txerr" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="coll" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="rxdrop" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="txdrop" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="txcarr" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="rxfram" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="rxfifo" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="txfifo" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="net-device" type="net-device-type"></xs:element>

    <xs:complexType name="net-device-type">
    	<xs:sequence>
    		<xs:element name="net-dev" type="net-dev-type" minOccurs="1"></xs:element>
    		<xs:element name="net-edev" type="net-edev-type" minOccurs="1"></xs:element>
    	</xs:sequence>
    	<xs:attribute name="iface" type="xs:string"></xs:attribute>
    </xs:complexType>

    <xs:element name="network" type="network-type"></xs:element>

    <xs:complexType name="network-type">
    	<xs:sequence>
    		<xs:element name="net-device" type="net-device-type"></xs:element>
    		<xs:element name="net-nfs" type="net-nfs-type" minOccurs="1"></xs:element>
    		<xs:element name="net-nfsd" type="net-nfsd-type" minOccurs="1"></xs:element>
    		<xs:element name="net-sock" type="net-sock-type" minOccurs="1"></xs:element>
    	</xs:sequence>
    	<xs:attribute name="per" type="per-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="tty" type="tty-type"></xs:element>

    <xs:complexType name="tty-type">
    	<xs:attribute name="line" type="xs:int"></xs:attribute>
    	<xs:attribute name="rcvin" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="xmtin" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="framerr" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="prtyerr" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="brk" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="ovrun" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="serial" type="serial-type"></xs:element>

    <xs:complexType name="serial-type">
    	<xs:sequence>
    		<xs:element name="tty" type="tty-type"></xs:element>
    	</xs:sequence>
    	<xs:attribute name="per" type="per-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="disk-device" type="disk-device-type"></xs:element>

    <xs:complexType name="disk-device-type">
    	<xs:attribute name="dev" type="xs:string"></xs:attribute>
    	<xs:attribute name="tps" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="rd_sec" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="wr_sec" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="avgrq-sz" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="avrqu-sz" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="await" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="svctm" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="util-percent" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="disk" type="disk-type"></xs:element>

    <xs:complexType name="disk-type">
    	<xs:sequence>
    		<xs:element name="disk-device" type="disk-device-type"></xs:element>
    	</xs:sequence>
    	<xs:attribute name="per" type="per-type"></xs:attribute>
    </xs:complexType>


    <xs:element name="tps" type="tps-type"></xs:element>

    <xs:element name="io-reads" type="io-reads-type"></xs:element>

    <xs:complexType name="io-reads-type">
    	<xs:attribute name="rtps" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="bread" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="io-writes" type="io-writes-type"></xs:element>

    <xs:complexType name="io-writes-type">
    	<xs:attribute name="wtps" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="bwrtn" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="io" type="io-type"></xs:element>

    <xs:complexType name="io-type">
    	<xs:sequence>
    		<xs:element name="io-reads" type="io-reads-type" minOccurs="1"></xs:element>
    		<xs:element name="io-writes" type="io-writes-type" minOccurs="1"></xs:element>
    		<xs:element name="tps" type="tps-type" minOccurs="1"></xs:element>
    	</xs:sequence>
    	<xs:attribute name="per" type="per-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="swap-pages" type="swap-pages-type"></xs:element>

    <xs:complexType name="swap-pages-type">
    	<xs:attribute name="per" type="per-type"></xs:attribute>
    	<xs:attribute name="pswpin" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="pswpout" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="irqcpu" type="irqcpu-type"></xs:element>

    <xs:complexType name="irqcpu-type">
    	<xs:attribute name="cpu" type="xs:int"></xs:attribute>
    	<xs:attribute name="intr" type="xs:int"></xs:attribute>
    	<xs:attribute name="value" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="int-global" type="int-global-type"></xs:element>

    <xs:complexType name="int-global-type">
    	<xs:sequence>
    		<xs:element name="irq" type="irq-type" minOccurs="1"></xs:element>
    	</xs:sequence>
    	<xs:attribute name="per" type="per-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="irq" type="irq-type"></xs:element>

    <xs:complexType name="irq-type">
    	<xs:attribute name="intr" type="xs:int"></xs:attribute>
    	<xs:attribute name="value" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="cpu" type="cpu-type"></xs:element>

    <xs:complexType name="cpu-type">
    	<xs:attribute name="number" type="xs:string"></xs:attribute>
    	<xs:attribute name="user" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="nice" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="system" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="iowait" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="steal" type="hundredth-type"></xs:attribute>
    	<xs:attribute name="idle" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="cpu-load" type="cpu-load-type"></xs:element>

    <xs:complexType name="cpu-load-type">
    	<xs:sequence>
    		<xs:element name="cpu" type="cpu-type"></xs:element>
    	</xs:sequence>
    </xs:complexType>

    <xs:element name="context-switch" type="context-switch-type"></xs:element>

    <xs:complexType name="context-switch-type">
    	<xs:attribute name="per" type="per-type"></xs:attribute>
    	<xs:attribute name="cswch" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="processes" type="processes-type"></xs:element>

    <xs:complexType name="processes-type">
    	<xs:attribute name="per" type="per-type"></xs:attribute>
    	<xs:attribute name="proc" type="hundredth-type"></xs:attribute>
    </xs:complexType>

    <xs:element name="timestamp" type="timestamp-type"></xs:element>

    <xs:complexType name="timestamp-type">
    	<xs:sequence>
    		<xs:element name="processes" type="processes-type"></xs:element>
    		<xs:element name="context-switch"
    			type="context-switch-type">
    		</xs:element>
    		<xs:element name="cpu-load" type="cpu-load-type"></xs:element>
    		<xs:element name="interrupts" type="interrupts-type"></xs:element>
    		<xs:element name="swap-pages" type="swap-pages-type"></xs:element>
    		<xs:element name="io" type="io-type"></xs:element>
    		<xs:element name="disk" type="disk-type"></xs:element>
    		<xs:element name="serial" type="serial-type"></xs:element>
    		<xs:element name="network" type="network-type"></xs:element>
    		<xs:element name="paging" type="paging-type"></xs:element>
    		<xs:element name="memory" type="memory-type"></xs:element>
    		<xs:element name="kernel" type="kernel-type"></xs:element>
    		<xs:element name="queue" type="queue-type"></xs:element>
    	</xs:sequence>
    	<xs:attribute name="date" type="xs:date"></xs:attribute>
    	<xs:attribute name="time" type="xs:time"></xs:attribute>
    	<xs:attribute name="interval" type="xs:nonNegativeInteger"></xs:attribute>
    </xs:complexType>

    <xs:element name="interrupts" type="interrupts-type"></xs:element>

    <xs:complexType name="interrupts-type">
    	<xs:sequence>
    		<xs:element name="int-global" type="int-global-type"
    			minOccurs="1">
    		</xs:element>
    		<xs:element name="int-proc" type="int-proc-type"></xs:element>
    	</xs:sequence>
    </xs:complexType>

    <xs:element name="int-proc" type="int-proc-type"></xs:element>

    <xs:complexType name="int-proc-type">
    	<xs:sequence>
    		<xs:element name="irqcpu" type="irqcpu-type" minOccurs="1"></xs:element>
    	</xs:sequence>
    	<xs:attribute name="per" type="per-type"></xs:attribute>
    </xs:complexType>

    <xs:simpleType name="tps-type">
    	<xs:restriction base="hundredth-type"></xs:restriction>
    </xs:simpleType>

    <xs:element name="statistics" type="statistics-type"></xs:element>

    <xs:complexType name="statistics-type">
    	<xs:sequence>
    		<xs:element name="timestamp" type="timestamp-type"></xs:element>
    	</xs:sequence>
    </xs:complexType>

    <xs:element name="release" type="release-type"></xs:element>


    <xs:simpleType name="release-type">
    	<xs:restriction base="xs:string"></xs:restriction>
    </xs:simpleType>

    <xs:element name="machine" type="machine-type"></xs:element>

    <xs:simpleType name="machine-type">
    	<xs:restriction base="xs:string"></xs:restriction>
    </xs:simpleType>

    <xs:element name="sysname" type="sysname-type"></xs:element>

    <xs:simpleType name="sysname-type">
    	<xs:restriction base="xs:string"></xs:restriction>
    </xs:simpleType>

    <xs:element name="host" type="host-type"></xs:element>

    <xs:complexType name="host-type">
    	<xs:sequence>
    		<xs:element name="sysname" type="sysname-type"></xs:element>
    		<xs:element name="release" type="release-type"></xs:element>
    		<xs:element name="machine" type="machine-type"></xs:element>
    		<xs:element name="statistics" type="statistics-type"></xs:element>
    		<xs:element name="restarts" type="restarts-type"></xs:element>
    		<xs:element name="comments" type="comments-type"></xs:element>
    	</xs:sequence>
    	<xs:attribute name="nodename" type="xs:string"></xs:attribute>
    </xs:complexType>
    
    <xs:element name="sysdata-version" type="sysdata-version-type"></xs:element>


    <xs:simpleType name="sysdata-version-type">
    	<xs:restriction base="xs:string"></xs:restriction>
    </xs:simpleType>

    <xs:element name="sysstat" type="sysstat-type"></xs:element>

    <xs:complexType name="sysstat-type">
    	<xs:sequence>
    		<xs:element name="sysdata-version"
    			type="sysdata-version-type">
    		</xs:element>
    		<xs:element name="host" type="host-type"></xs:element>
    	</xs:sequence>
    </xs:complexType>

    <xs:element name="restarts" type="restarts-type"></xs:element>

    <xs:complexType name="restarts-type">
    	<xs:sequence>
    		<xs:element name="boot" type="boot-type"></xs:element>
    	</xs:sequence>
    </xs:complexType>
    
    <xs:element name="comments" type="comments-type"></xs:element>

    <xs:complexType name="comments-type">
    	<xs:attribute name="date" type="xs:date"></xs:attribute>
    	<xs:attribute name="time" type="xs:time"></xs:attribute>
    	<xs:attribute name="comment" type="xs:string"></xs:attribute>
    </xs:complexType>

    

    <xs:element name="boot" type="boot-type"></xs:element>

    <xs:complexType name="boot-type">
    	<xs:sequence></xs:sequence>
    	<xs:attribute name="date" type="xs:date"></xs:attribute>
    	<xs:attribute name="time" type="xs:time"></xs:attribute>
    </xs:complexType>
</xs:schema>
