ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/documentation/specification/expected_data.txt
(Generate patch)

Comparing projects/cms/documentation/specification/expected_data.txt (file contents):
Revision 1.1 by pjm2, Tue Nov 28 09:00:33 2000 UTC vs.
Revision 1.5 by pjm2, Tue Nov 28 12:11:03 2000 UTC

# Line 62 | Line 62 | received by the server - it does not provide any usefu
62   information.  As such, a packet will be rejected by the
63   server if it does not specify the machine_name, its
64   I.P. address (ip), a packet sequence number (seq_no)
65 < and a date.  Note that the data is a long integer
65 > and a date.  Note that the date is a long integer
66   representing the number of seconds since the epoch.
67   All of these are expected to be specified as an attribute
68   of the packet tag.  If they are not specified here, then
# Line 126 | Line 126 | specified: -
126      load *
127      memory *
128      swap *
129 <    disk_free *
130 <    disk_total *
129 >    disk *
130      users (attribute)
131  
132   * - These parameters are specified with tags of the same
# Line 169 | Line 168 | the 'essential' and 'expected' data: -
168      <load>
169          <load1><load1>
170          <load5><load5>
171 <        <load10><load10>
171 >        <load15><load15>
172      </load>
173      <memory>
174          <free></free>
# Line 179 | Line 178 | the 'essential' and 'expected' data: -
178          <free></free>
179          <total></total>
180      </swap>
181 <    <disk_free>
182 <        <p1></p1>
183 <        <p2></p2>
184 <        <p3></p3>
185 <    </disk_free>
186 <    <disk_total>
187 <        <p1></p1>
188 <        <p2></p2>
189 <        <p3></p3>
190 <    </disk_total>
181 >    <disk>
182 >        <p0>
183 >            <free></free>
184 >            <total></total>
185 >            <mounted></mounted>
186 >            <label></label>
187 >        </p0>
188 >        <p1>
189 >            <free></free>
190 >            <total></total>
191 >            <mount></mount>
192 >            <label></label>
193 >        </p1>
194 >    </disk>
195   </packet>
196  
197   Note that linefeeds and spaces would normally not be present.
# Line 205 | Line 208 | Note that this numbering starts from zero.
208  
209   The <load> tag begins a list of system load information.
210   The load tag is only expected to contain 3 subtags, named
211 < "load1", "load5" and "load10".  These represent the average
212 < load 1 minutes ago, 5 minutes ago and 10 minutes ago
211 > "load1", "load5" and "load15".  These represent the average
212 > load 1 minute ago, 5 minutes ago and 15 minutes ago
213   respectively.
214  
215   The <memory> tag begins a list of system memory information.
# Line 217 | Line 220 | has in total.
220  
221   The <swap> tag is identical in nature to the <memory> tag.
222  
223 < The <disk_free> tag begins a list of free disk space
224 < information.  Each subtag must be of the form px, where
225 < x is the number of the disk partition that is unique for
226 < that particular system.  The value represents how much
227 < space is free on that partition.  Note that px numbering
228 < starts from zero.
223 > The <disk> tag begins a list of partition information.
224 > Each subtag must be of the form px, where x is the number
225 > of the disk partition that is unique for that particular
226 > system.  Note that the numbering of px is expected to
227 > start from zero.  Each <px> tag contains the following
228 > subtags: -
229 >    <free> - the free partition space in bytes.
230 >    <total> - the total partition size in bytes.
231 >    <mount> - the mount point, eg, "/var".
232 >    <label> - the label of the physical disk.
233  
234   The <disk_total> tag begins a list of total disk space,
235   similar in implementation to the <disk_free> tag.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines