This file is indexed.

/var/lib/pcp/testsuite/939.out is in pcp-testsuite 4.0.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
QA output created by 939
pmRegisterDerived: register metric[0] event.flags = anon(PM_TYPE_U32)
pmRegisterDerived: register metric[1] event.missed = anon(PM_TYPE_U32)
Derived metric initialization from $PCP_DERIVED_CONFIG
pmLoadDerivedConfig("TMP.config")
pmRegisterDerived: register metric[2] a.m1 = 1
pmRegisterDerived: register metric[3] a.m2 = mkconst(2, type="32")
pmRegisterDerived: register metric[4] a.m3 = mkconst(3, type=32)
pmRegisterDerived: register metric[5] a.m4 = mkconst(4, type="U32")
pmRegisterDerived: register metric[6] a.m5 = mkconst(5, type="u32")
pmRegisterDerived: register metric[7] a.m6 = mkconst(6, type=U32)
pmRegisterDerived: register metric[8] a.m7 = mkconst(7, type=u32)
pmRegisterDerived: register metric[9] a.m8 = mkconst(8, type=64)
pmRegisterDerived: register metric[10] a.m9 = mkconst(9, type=U64)
pmRegisterDerived: register metric[11] a.m10 = mkconst(10, type=FLOAT)
pmRegisterDerived: register metric[12] a.m11 = mkconst(11.1, type=float)
pmRegisterDerived: register metric[13] a.m12 = mkconst(12, type=DOUBLE)
pmRegisterDerived: register metric[14] a.m13 = mkconst(13.3, type=DOUBLE)
pmRegisterDerived: register metric[15] a.m14 = mkconst(14, semantics=counter)
pmRegisterDerived: register metric[16] a.m15 = mkconst(15, semantics="COUNTER")
pmRegisterDerived: register metric[17] a.m16 = mkconst(16.6, semantics=instant)
pmRegisterDerived: register metric[18] a.m17 = mkconst(17.7, semantics=DISCRETE)
pmRegisterDerived: register metric[19] a.m18 = mkconst(18.8, units="kbyte")
pmRegisterDerived: register metric[20] a.m19 = mkconst(19, units="kbyte / count")
pmRegisterDerived: register metric[21] a.m20 = mkconst(20, type=u64, semantics=counter, units=ms)
[TMP.config:27] Error: pmRegisterDerived(a.err.m1, ...) syntax error
 mkconst(123, type="foo bar")
                   ^         
Unrecognized value for type 'foo bar'
[TMP.config:28] Error: pmRegisterDerived(a.err.m2, ...) syntax error
 mkconst(123.456, type=32)
                         ^
Incompatible floating point constant and type '32'
[TMP.config:29] Error: pmRegisterDerived(a.err.m3, ...) syntax error
 mkconst(123, semantics="foo bar")
                        ^         
Unrecognized value for semantics 'foo bar'
__dmgetpmid: metric "a.m1" -> PMID 511.0.3
__dmbind: bind metric[2] a.m1
__dmtraverse: name="a" added "a.m1"
__dmgetpmid: metric "a.m2" -> PMID 511.0.4
__dmbind: bind metric[3] a.m2
__dmtraverse: name="a" added "a.m2"
__dmgetpmid: metric "a.m3" -> PMID 511.0.5
__dmbind: bind metric[4] a.m3
__dmtraverse: name="a" added "a.m3"
__dmgetpmid: metric "a.m4" -> PMID 511.0.6
__dmbind: bind metric[5] a.m4
__dmtraverse: name="a" added "a.m4"
__dmgetpmid: metric "a.m5" -> PMID 511.0.7
__dmbind: bind metric[6] a.m5
__dmtraverse: name="a" added "a.m5"
__dmgetpmid: metric "a.m6" -> PMID 511.0.8
__dmbind: bind metric[7] a.m6
__dmtraverse: name="a" added "a.m6"
__dmgetpmid: metric "a.m7" -> PMID 511.0.9
__dmbind: bind metric[8] a.m7
__dmtraverse: name="a" added "a.m7"
__dmgetpmid: metric "a.m8" -> PMID 511.0.10
__dmbind: bind metric[9] a.m8
__dmtraverse: name="a" added "a.m8"
__dmgetpmid: metric "a.m9" -> PMID 511.0.11
__dmbind: bind metric[10] a.m9
__dmtraverse: name="a" added "a.m9"
__dmgetpmid: metric "a.m10" -> PMID 511.0.12
__dmbind: bind metric[11] a.m10
__dmtraverse: name="a" added "a.m10"
__dmgetpmid: metric "a.m11" -> PMID 511.0.13
__dmbind: bind metric[12] a.m11
__dmtraverse: name="a" added "a.m11"
__dmgetpmid: metric "a.m12" -> PMID 511.0.14
__dmbind: bind metric[13] a.m12
__dmtraverse: name="a" added "a.m12"
__dmgetpmid: metric "a.m13" -> PMID 511.0.15
__dmbind: bind metric[14] a.m13
__dmtraverse: name="a" added "a.m13"
__dmgetpmid: metric "a.m14" -> PMID 511.0.16
__dmbind: bind metric[15] a.m14
__dmtraverse: name="a" added "a.m14"
__dmgetpmid: metric "a.m15" -> PMID 511.0.17
__dmbind: bind metric[16] a.m15
__dmtraverse: name="a" added "a.m15"
__dmgetpmid: metric "a.m16" -> PMID 511.0.18
__dmbind: bind metric[17] a.m16
__dmtraverse: name="a" added "a.m16"
__dmgetpmid: metric "a.m17" -> PMID 511.0.19
__dmbind: bind metric[18] a.m17
__dmtraverse: name="a" added "a.m17"
__dmgetpmid: metric "a.m18" -> PMID 511.0.20
__dmbind: bind metric[19] a.m18
__dmtraverse: name="a" added "a.m18"
__dmgetpmid: metric "a.m19" -> PMID 511.0.21
__dmbind: bind metric[20] a.m19
__dmtraverse: name="a" added "a.m19"
__dmgetpmid: metric "a.m20" -> PMID 511.0.22
__dmbind: bind metric[21] a.m20
__dmtraverse: name="a" added "a.m20"
__dmgetpmid: metric "a.m1" -> PMID 511.0.3
__dmgetpmid: metric "a.m2" -> PMID 511.0.4
__dmgetpmid: metric "a.m3" -> PMID 511.0.5
__dmgetpmid: metric "a.m4" -> PMID 511.0.6
__dmgetpmid: metric "a.m5" -> PMID 511.0.7
__dmgetpmid: metric "a.m6" -> PMID 511.0.8
__dmgetpmid: metric "a.m7" -> PMID 511.0.9
__dmgetpmid: metric "a.m8" -> PMID 511.0.10
__dmgetpmid: metric "a.m9" -> PMID 511.0.11
__dmgetpmid: metric "a.m10" -> PMID 511.0.12
__dmgetpmid: metric "a.m11" -> PMID 511.0.13
__dmgetpmid: metric "a.m12" -> PMID 511.0.14
__dmgetpmid: metric "a.m13" -> PMID 511.0.15
__dmgetpmid: metric "a.m14" -> PMID 511.0.16
__dmgetpmid: metric "a.m15" -> PMID 511.0.17
__dmgetpmid: metric "a.m16" -> PMID 511.0.18
__dmgetpmid: metric "a.m17" -> PMID 511.0.19
__dmgetpmid: metric "a.m18" -> PMID 511.0.20
__dmgetpmid: metric "a.m19" -> PMID 511.0.21
__dmgetpmid: metric "a.m20" -> PMID 511.0.22

a.m1
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 1

a.m2
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 2

a.m3
    Data Type: 32-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 3

a.m4
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 4

a.m5
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 5

a.m6
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 6

a.m7
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 7

a.m8
    Data Type: 64-bit int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 8

a.m9
    Data Type: 64-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 9

a.m10
    Data Type: float  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 10

a.m11
    Data Type: float  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 11.1

a.m12
    Data Type: double  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 12

a.m13
    Data Type: double  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 13.3

a.m14
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: counter  Units: none
    value 14

a.m15
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: counter  Units: none
    value 15

a.m16
    Data Type: double  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
    value 16.6

a.m17
    Data Type: double  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: none
    value 17.7

a.m18
    Data Type: double  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: Kbyte
    value 18.8

a.m19
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: discrete  Units: Kbyte / count
    value 19

a.m20
    Data Type: 64-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: counter  Units: millisec
    value 20
From the man page ...

disk.dev.total
    Data Type: 64-bit unsigned int  InDom: 60.1 0xf000001
    Semantics: counter  Units: count
Note: timezone set to local timezone of host "bozo" from archive

metric:    disk.dev.total
archive:   archives/bozo-disk
host:      bozo
start:     Thu Mar 16 10:31:13 2017
end:       Thu Mar 16 10:34:13 2017
semantics: cumulative counter (converting to rate)
units:     count (converting to count / sec)
samples:   10
interval:  1.00 sec
10:31:13.870  No values available

                           sda                   sdb                   sdc                   sdd                   sde    
10:31:14.870  No values available
10:31:15.870              34.00                  2.000                41.00                227.0                   1.000  
10:31:16.870              34.00                  1.000                41.00                228.0                   0.0    
10:31:17.870              34.00                  2.000                42.00                227.0                   1.000  
10:31:18.870              34.00                  1.000                41.00                228.0                   0.0    
10:31:19.870              34.00                  2.000                42.00                227.0                   0.0    
10:31:20.870              34.00                  1.000                41.00                228.0                   1.000  
10:31:21.870              33.00                  2.000                41.00                227.0                   0.0    
10:31:22.870              34.00                  1.000                42.00                228.0                   1.000  
10:31:23.870              34.00                  2.000                41.00                227.0                   0.0    

disk.dev.total_bytes
    Data Type: 32-bit unsigned int  InDom: 60.1 0xf000001
    Semantics: counter  Units: Kbyte
Note: timezone set to local timezone of host "bozo" from archive

metric:    disk.dev.total_bytes
archive:   archives/bozo-disk
host:      bozo
start:     Thu Mar 16 10:31:13 2017
end:       Thu Mar 16 10:34:13 2017
semantics: cumulative counter (converting to rate)
units:     Kbyte (converting to Kbyte / sec)
samples:   10
interval:  1.00 sec
10:31:13.870  No values available

                 sda         sdb         sdc         sdd         sde    
10:31:14.870  No values available
10:31:15.870   725.0        37.00      736.0      1.824E+04      1.000  
10:31:16.870   726.0        38.00      736.0      1.824E+04      2.000  
10:31:17.870   725.0        38.00      736.0      1.824E+04      1.000  
10:31:18.870   726.0        37.00      736.0      1.824E+04      2.000  
10:31:19.870   726.0        38.00      736.0      1.824E+04      2.000  
10:31:20.870   725.0        37.00      736.0      1.823E+04      1.000  
10:31:21.870   726.0        38.00      736.0      1.824E+04      2.000  
10:31:22.870   725.0        38.00      736.0      1.824E+04      1.000  
10:31:23.870   726.0        37.00      736.0      1.824E+04      2.000  

avg_io_size
    Data Type: double  InDom: 60.1 0xf000001
    Semantics: instant  Units: Kbyte / count
Note: timezone set to local timezone of host "bozo" from archive

metric:    avg_io_size
archive:   archives/bozo-disk
host:      bozo
start:     Thu Mar 16 10:31:13 2017
end:       Thu Mar 16 10:34:13 2017
semantics: instantaneous value
units:     Kbyte / count
samples:   10
interval:  1.00 sec
10:31:13.870  No values available
10:31:14.870  No values available

                              sda                   sdb                   sdc                   sdd                   sde 
10:31:15.870              21.32                 18.50                 17.95                 80.33                  1.000  
10:31:16.870              21.35                 38.00                 17.95                 79.98              -1.000E+00 
10:31:17.870              21.32                 19.00                 17.52                 80.33                  1.000  
10:31:18.870              21.35                 37.00                 17.95                 79.98              -1.000E+00 
10:31:19.870              21.35                 19.00                 17.52                 80.33              -1.000E+00 
10:31:20.870              21.32                 37.00                 17.95                 79.97                  1.000  
10:31:21.870              22.00                 19.00                 17.95                 80.33              -1.000E+00 
10:31:22.870              21.32                 38.00                 17.52                 79.98                  1.000  

myalarm
    Data Type: 32-bit unsigned int  InDom: 60.1 0xf000001
    Semantics: instant  Units: none
Note: timezone set to local timezone of host "bozo" from archive

metric:    myalarm
archive:   archives/bozo-disk
host:      bozo
start:     Thu Mar 16 10:31:13 2017
end:       Thu Mar 16 10:34:13 2017
semantics: instantaneous value
units:     none
samples:   10
interval:  1.00 sec
10:31:13.870  No values available
10:31:14.870  No values available

                    sda         sdb         sdc         sdd         sde 
10:31:15.870          1           0           1           1           0 
10:31:16.870          1           0           1           1           0 
10:31:17.870          1           0           1           1           0 
10:31:18.870          1           0           1           1           0 
10:31:19.870          1           0           1           1           0 
10:31:20.870          1           0           1           1           0 
10:31:21.870          1           0           1           1           0 
10:31:22.870          1           0           1           1           0 

idle
    Data Type: 32-bit unsigned int  InDom: PM_INDOM_NULL 0xffffffff
    Semantics: instant  Units: none
Note: timezone set to local timezone of host "smash" from archive

metric:    idle
archive:   archives/pcp-free
host:      smash
start:     Fri Apr  4 11:35:46 2014
end:       Fri Apr  4 11:35:56 2014
semantics: instantaneous value
units:     none
samples:   10
interval:  1.00 sec
11:35:46.566  No values available
11:35:47.566          1
11:35:48.566          1
11:35:49.566          1
11:35:50.566          1
11:35:51.566          0
11:35:52.566          0
11:35:53.566          0
11:35:54.566          0
11:35:55.566          0