<?xml version="1.0" encoding="UTF-8"?>
-<!--DTD v3.8 for sysstat. See sadf.h -->
+<!--DTD v3.9 for sysstat. See sadf.h -->
<!ELEMENT sysstat (sysdata-version, host)>
<!ATTLIST sysstat
<!ELEMENT sysdata-version (#PCDATA)>
-<!ENTITY % TIMESTAMP_ELEMENTS "cpu-load|process-and-context-switch|interrupts|swap-pages|paging|io|memory|hugepages|kernel|queue|serial|disk|network|power-management|filesystems">
+<!ENTITY % TIMESTAMP_ELEMENTS "cpu-load|process-and-context-switch|interrupts|swap-pages|paging|io|memory|hugepages|kernel|queue|serial|disk|network|power-management|filesystems|psi">
<!ENTITY % HOST_ELEMENTS "sysname|release|machine|number-of-cpus|file-date|file-utc-time|timezone|statistics|restarts|comments">
<!ELEMENT host (%HOST_ELEMENTS;)+>
Iused CDATA #REQUIRED
Iused-percent CDATA #REQUIRED
>
+
+<!ELEMENT psi (psi-cpu?, psi-io?, psi-mem?)>
+<!ATTLIST psi
+ per CDATA #REQUIRED
+>
+
+<!ELEMENT psi-cpu EMPTY>
+<!ATTLIST psi-cpu
+ some_avg10 CDATA #REQUIRED
+ some_avg60 CDATA #REQUIRED
+ some_avg300 CDATA #REQUIRED
+ some_total CDATA #REQUIRED
+>
+
+<!ELEMENT psi-io EMPTY>
+<!ATTLIST psi-io
+ some_avg10 CDATA #REQUIRED
+ some_avg60 CDATA #REQUIRED
+ some_avg300 CDATA #REQUIRED
+ some_total CDATA #REQUIRED
+ full_avg10 CDATA #REQUIRED
+ full_avg60 CDATA #REQUIRED
+ full_avg300 CDATA #REQUIRED
+ full_total CDATA #REQUIRED
+>
+
+<!ELEMENT psi-mem EMPTY>
+<!ATTLIST psi-mem
+ some_avg10 CDATA #REQUIRED
+ some_avg60 CDATA #REQUIRED
+ some_avg300 CDATA #REQUIRED
+ some_total CDATA #REQUIRED
+ full_avg10 CDATA #REQUIRED
+ full_avg60 CDATA #REQUIRED
+ full_avg300 CDATA #REQUIRED
+ full_total CDATA #REQUIRED
+>
<?xml version="1.0" encoding="UTF-8"?>
<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:annotation>
- <xs:appinfo>-- XML Schema v3.8 for sysstat. See sadf.h --</xs:appinfo>
+ <xs:appinfo>-- XML Schema v3.9 for sysstat. See sadf.h --</xs:appinfo>
</xs:annotation>
<xs:element name="sysstat" type="sysstat-type"></xs:element>
<xs:element name="network" type="network-type" minOccurs="0" maxOccurs="1"></xs:element>
<xs:element name="power-management" type="power-management-type" minOccurs="0" maxOccurs="1"></xs:element>
<xs:element name="filesystems" type="filesystems-type" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element name="psi" type="psi-type" minOccurs="0" maxOccurs="1"></xs:element>
</xs:sequence>
<xs:attribute name="date" type="xs:date" use="required"></xs:attribute>
<xs:attribute name="time" type="xs:time" use="required"></xs:attribute>
<xs:attribute name="Iused-percent" type="hundredth-type" use="required"></xs:attribute>
</xs:complexType>
+<xs:element name="psi" type="psi-type"></xs:element>
+<xs:complexType name="psi-type">
+ <xs:sequence>
+ <xs:element name="psi-cpu" type="psi-some-type" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element name="psi-io" type="psi-full-type" minOccurs="0" maxOccurs="1"></xs:element>
+ <xs:element name="psi-mem" type="psi-full-type" minOccurs="0" maxOccurs="1"></xs:element>
+ </xs:sequence>
+ <xs:attribute name="per" type="per-type" use="required"></xs:attribute>
+</xs:complexType>
+
+<xs:element name="psi-cpu" type="psi-some-type"></xs:element>
+<xs:complexType name="psi-some-type">
+ <xs:attribute name="some_avg10" type="hundredth-type" use="required"></xs:attribute>
+ <xs:attribute name="some_avg60" type="hundredth-type" use="required"></xs:attribute>
+ <xs:attribute name="some_avg300" type="hundredth-type" use="required"></xs:attribute>
+ <xs:attribute name="some_total" type="hundredth-type" use="required"></xs:attribute>
+</xs:complexType>
+
+<xs:element name="psi-io" type="psi-full-type"></xs:element>
+<xs:element name="psi-mem" type="psi-full-type"></xs:element>
+<xs:complexType name="psi-full-type">
+ <xs:attribute name="some_avg10" type="hundredth-type" use="required"></xs:attribute>
+ <xs:attribute name="some_avg60" type="hundredth-type" use="required"></xs:attribute>
+ <xs:attribute name="some_avg300" type="hundredth-type" use="required"></xs:attribute>
+ <xs:attribute name="some_total" type="hundredth-type" use="required"></xs:attribute>
+ <xs:attribute name="full_avg10" type="hundredth-type" use="required"></xs:attribute>
+ <xs:attribute name="full_avg60" type="hundredth-type" use="required"></xs:attribute>
+ <xs:attribute name="full_avg300" type="hundredth-type" use="required"></xs:attribute>
+ <xs:attribute name="full_total" type="hundredth-type" use="required"></xs:attribute>
+</xs:complexType>
+
</xs:schema>