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
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
|
QA output created by 102
Waiting for pmcd to terminate ...
Starting pmcd ...
Starting pmlogger ...
Error [<stdin>, line NUM]
Not connected to any pmlogger instance
Error [<stdin>, line NUM]
Not connected to any pmlogger instance
Error [<stdin>, line NUM]
Syntax error
Warning [<stdin>, line NUM]
Problem with lookup for metric "barf.no.metric" ...
Reason: Unknown metric name
Logging statement ignored due to error(s)
Performance Co-Pilot Logger Control (pmlc), Version VERSION
pmlc commands
show loggers [@<host>] display <pid>s of running pmloggers
connect _logger_id [@<host>] connect to designated pmlogger
status information about connected pmlogger
query metric-list show logging state of metrics
new volume start a new log volume
log { mandatory | advisory } on <interval> _metric-list
log { mandatory | advisory } off _metric-list
log mandatory maybe _metric-list
timezone local|logger|'<timezone>' change reporting timezone
help print this help message
quit exit from pmlc
_logger_id is primary | <pid> | port <n>
_metric-list is _metric-spec | { _metric-spec ... }
_metric-spec is <metric-name> | <metric-name> [ <instance> ... ]
pmlc> # not connected
pmlc> query sample.drift
pmlc> advisory on 1 hour sample.drift
pmlc>
pmlc> connect primary
pmlc> # incomplete - syntax error
pmlc> query sample.bin [
pmlc> query {
? sample.drift
? # eat input
? # up to
? # next } -- curly brace
? }
sample.drift
adv off nl
pmlc> query {
? barf.no.metric
? # suck to } ... not that one, this one ..
? }
pmlc>
pmlc>
Error [<stdin>, line NUM]
Unexpected character '-'
Error [<stdin>, line NUM]
Syntax error
Performance Co-Pilot Logger Control (pmlc), Version VERSION
pmlc commands
show loggers [@<host>] display <pid>s of running pmloggers
connect _logger_id [@<host>] connect to designated pmlogger
status information about connected pmlogger
query metric-list show logging state of metrics
new volume start a new log volume
log { mandatory | advisory } on <interval> _metric-list
log { mandatory | advisory } off _metric-list
log mandatory maybe _metric-list
timezone local|logger|'<timezone>' change reporting timezone
help print this help message
quit exit from pmlc
_logger_id is primary | <pid> | port <n>
_metric-list is _metric-spec | { _metric-spec ... }
_metric-spec is <metric-name> | <metric-name> [ <instance> ... ]
pmlc> connect PID
pmlc> log advisory on -1 msec sample.bin [100]
pmlc>
Log for pmlogger on HOST started DATE
Config parsed
Starting logger for host "HOST"
Archive basename: ARCHIVE
Log finished DATE
Logging delta (270000000 msec) cannot be bigger than 268435455 msec
Performance Co-Pilot Logger Control (pmlc), Version VERSION
pmlc commands
show loggers [@<host>] display <pid>s of running pmloggers
connect _logger_id [@<host>] connect to designated pmlogger
status information about connected pmlogger
query metric-list show logging state of metrics
new volume start a new log volume
log { mandatory | advisory } on <interval> _metric-list
log { mandatory | advisory } off _metric-list
log mandatory maybe _metric-list
timezone local|logger|'<timezone>' change reporting timezone
help print this help message
quit exit from pmlc
_logger_id is primary | <pid> | port <n>
_metric-list is _metric-spec | { _metric-spec ... }
_metric-spec is <metric-name> | <metric-name> [ <instance> ... ]
pmlc> connect PID
pmlc> log advisory on 75 hours sample.bin [100]
pmlc>
Log for pmlogger on HOST started DATE
Config parsed
Starting logger for host "HOST"
Archive basename: ARCHIVE
Log finished DATE
Logging delta (-2138567296 msec) must be positive
Performance Co-Pilot Logger Control (pmlc), Version VERSION
pmlc commands
show loggers [@<host>] display <pid>s of running pmloggers
connect _logger_id [@<host>] connect to designated pmlogger
status information about connected pmlogger
query metric-list show logging state of metrics
new volume start a new log volume
log { mandatory | advisory } on <interval> _metric-list
log { mandatory | advisory } off _metric-list
log mandatory maybe _metric-list
timezone local|logger|'<timezone>' change reporting timezone
help print this help message
quit exit from pmlc
_logger_id is primary | <pid> | port <n>
_metric-list is _metric-spec | { _metric-spec ... }
_metric-spec is <metric-name> | <metric-name> [ <instance> ... ]
pmlc> connect PID
pmlc> log advisory on 599 hours sample.bin [100]
pmlc>
Log for pmlogger on HOST started DATE
Config parsed
Starting logger for host "HOST"
Archive basename: ARCHIVE
Log finished DATE
Performance Co-Pilot Logger Control (pmlc), Version VERSION
pmlc commands
show loggers [@<host>] display <pid>s of running pmloggers
connect _logger_id [@<host>] connect to designated pmlogger
status information about connected pmlogger
query metric-list show logging state of metrics
new volume start a new log volume
log { mandatory | advisory } on <interval> _metric-list
log { mandatory | advisory } off _metric-list
log mandatory maybe _metric-list
timezone local|logger|'<timezone>' change reporting timezone
help print this help message
quit exit from pmlc
_logger_id is primary | <pid> | port <n>
_metric-list is _metric-spec | { _metric-spec ... }
_metric-spec is <metric-name> | <metric-name> [ <instance> ... ]
pmlc> connect PID
pmlc> log advisory on 1200 hours sample.bin [100]
pmlc>
Log for pmlogger on HOST started DATE
Config parsed
Starting logger for host "HOST"
Archive basename: ARCHIVE
DATE
pmlc request from HOST: advisory on 25032.7 sec
metric: sample.bin
instance: bin-100
Log finished DATE
sample.bin currently has no instance number 333
- you may only specify metric instances active now. However if no
instances are specified, pmlogger will use all of the instances
available at the time the metric is logged
Logging statement ignored due to error(s)
Performance Co-Pilot Logger Control (pmlc), Version VERSION
pmlc commands
show loggers [@<host>] display <pid>s of running pmloggers
connect _logger_id [@<host>] connect to designated pmlogger
status information about connected pmlogger
query metric-list show logging state of metrics
new volume start a new log volume
log { mandatory | advisory } on <interval> _metric-list
log { mandatory | advisory } off _metric-list
log mandatory maybe _metric-list
timezone local|logger|'<timezone>' change reporting timezone
help print this help message
quit exit from pmlc
_logger_id is primary | <pid> | port <n>
_metric-list is _metric-spec | { _metric-spec ... }
_metric-spec is <metric-name> | <metric-name> [ <instance> ... ]
pmlc> connect primary
pmlc> log mandatory on 1 hour { sample.bin, sample.drift, sample.seconds }
pmlc> query sample.bin[333]
pmlc>
Warning [<stdin>, line NUM]
Problem with lookup for metric "sample.bin" ...
Reason: No PMCD agent for domain of request
Logging statement ignored due to error(s)
Warning [<stdin>, line NUM]
Problem with lookup for metric "sample.bin" ...
Reason: No PMCD agent for domain of request
Logging statement ignored due to error(s)
Performance Co-Pilot Logger Control (pmlc), Version VERSION
pmlc commands
show loggers [@<host>] display <pid>s of running pmloggers
connect _logger_id [@<host>] connect to designated pmlogger
status information about connected pmlogger
query metric-list show logging state of metrics
new volume start a new log volume
log { mandatory | advisory } on <interval> _metric-list
log { mandatory | advisory } off _metric-list
log mandatory maybe _metric-list
timezone local|logger|'<timezone>' change reporting timezone
help print this help message
quit exit from pmlc
_logger_id is primary | <pid> | port <n>
_metric-list is _metric-spec | { _metric-spec ... }
_metric-spec is <metric-name> | <metric-name> [ <instance> ... ]
pmlc> connect primary
pmlc> query sample.bin[100]
pmlc> query sample.bin[100]
pmlc>
Performance Co-Pilot Logger Control (pmlc), Version VERSION
pmlc commands
show loggers [@<host>] display <pid>s of running pmloggers
connect _logger_id [@<host>] connect to designated pmlogger
status information about connected pmlogger
query metric-list show logging state of metrics
new volume start a new log volume
log { mandatory | advisory } on <interval> _metric-list
log { mandatory | advisory } off _metric-list
log mandatory maybe _metric-list
timezone local|logger|'<timezone>' change reporting timezone
help print this help message
quit exit from pmlc
_logger_id is primary | <pid> | port <n>
_metric-list is _metric-spec | { _metric-spec ... }
_metric-spec is <metric-name> | <metric-name> [ <instance> ... ]
pmlc> connect primary
pmlc> query sample.bin[100]
sample.bin
mand on nl 1 hour [100 or "bin-100"]
pmlc>
pmlc> query { sample.bin,sample.drift sample.seconds }
sample.bin
mand on nl 1 hour [100 or "bin-100"]
mand on nl 1 hour [200 or "bin-200"]
mand on nl 1 hour [300 or "bin-300"]
mand on nl 1 hour [400 or "bin-400"]
mand on nl 1 hour [500 or "bin-500"]
mand on nl 1 hour [600 or "bin-600"]
mand on nl 1 hour [700 or "bin-700"]
mand on nl 1 hour [800 or "bin-800"]
mand on nl 1 hour [900 or "bin-900"]
sample.drift
mand on nl 1 hour
sample.seconds
mand on nl 1 hour
pmlc> query { sample.bin sample.drift,sample.seconds }
sample.bin
mand on nl 1 hour [100 or "bin-100"]
mand on nl 1 hour [200 or "bin-200"]
mand on nl 1 hour [300 or "bin-300"]
mand on nl 1 hour [400 or "bin-400"]
mand on nl 1 hour [500 or "bin-500"]
mand on nl 1 hour [600 or "bin-600"]
mand on nl 1 hour [700 or "bin-700"]
mand on nl 1 hour [800 or "bin-800"]
mand on nl 1 hour [900 or "bin-900"]
sample.drift
mand on nl 1 hour
sample.seconds
mand on nl 1 hour
pmlc> query sample.bin [100,200,300 400 500,700]
sample.bin
mand on nl 1 hour [100 or "bin-100"]
mand on nl 1 hour [200 or "bin-200"]
mand on nl 1 hour [300 or "bin-300"]
mand on nl 1 hour [400 or "bin-400"]
mand on nl 1 hour [500 or "bin-500"]
mand on nl 1 hour [700 or "bin-700"]
pmlc> query sample.bin [100,"bin-200"]
sample.bin
mand on nl 1 hour [100 or "bin-100"]
mand on nl 1 hour [200 or "bin-200"]
pmlc>
Performance Co-Pilot Logger Control (pmlc), Version VERSION
pmlc commands
show loggers [@<host>] display <pid>s of running pmloggers
connect _logger_id [@<host>] connect to designated pmlogger
status information about connected pmlogger
query metric-list show logging state of metrics
new volume start a new log volume
log { mandatory | advisory } on <interval> _metric-list
log { mandatory | advisory } off _metric-list
log mandatory maybe _metric-list
timezone local|logger|'<timezone>' change reporting timezone
help print this help message
quit exit from pmlc
_logger_id is primary | <pid> | port <n>
_metric-list is _metric-spec | { _metric-spec ... }
_metric-spec is <metric-name> | <metric-name> [ <instance> ... ]
pmlc> connect primary
pmlc> log mandatory maybe {
? sample.bin
? sample.drift, sample.seconds
? }
pmlc>
|