python api: fix syntax error in recent context changes
[pcp.git] / qa / 1052.out
blob3047513df879d87a96d66cba3e948f9d69755d05
1 QA output created by 1052
2 dbpmda> open pipe $PCP_PYTHON_PROG $PCP_PMDAS_DIR/json/pmdajson.python
3 Start python PMDA: $PCP_PYTHON_PROG $PCP_PMDAS_DIR/json/pmdajson.python
4 dbpmda> getdesc on
5 dbpmda> desc json.nsources
6 PMID: 137.0.0
7 Data Type: 64-bit int  InDom: PM_INDOM_NULL 0xffffffff
8 Semantics: instant  Units: none
9 dbpmda> fetch json.nsources
10 PMID(s): 137.0.0
11 pmResult ... numpmid: 1
12 137.0.0 (<noname>): numval: 1 valfmt: 1 vlist[]:
13 value 0
16 Metric: json
17 children json
18 leaf debug
19 leaf nsources
21 137.0.0 (<noname>): numval: 1 valfmt: 1 vlist[]:
22 Metric: json
23 Metric: json.s1
24 PMID(s): 137.0.0
25 dbpmda> children json
26 dbpmda> children json.s1
27 fetch json.nsources
28 leaf counter
29 leaf debug
30 leaf discrete
31 leaf nsources
32 leaf string
33 leaf value
34 non-leaf s1
35 pmResult ... numpmid: 1
36 value 1
37 desc json.s1.counter
38 PMID: 137.1.2
39 Data Type: double  InDom: PM_INDOM_NULL 0xffffffff
40 Semantics: counter  Units: none
41 dbpmda> desc json.s1.discrete
42 PMID: 137.1.3
43 Data Type: 64-bit int  InDom: PM_INDOM_NULL 0xffffffff
44 Semantics: discrete  Units: none
45 dbpmda> fetch json.s1.string
46 PMID(s): 137.1.0
47 pmResult ... numpmid: 1
48 137.1.0 (<noname>): numval: 1 valfmt: 1 vlist[]:
49 value "original value"
50 dbpmda> fetch json.s1.value
51 PMID(s): 137.1.1
52 pmResult ... numpmid: 1
53 137.1.1 (<noname>): numval: 1 valfmt: 1 vlist[]:
54 value 0
55 dbpmda> fetch json.s1.counter
56 PMID(s): 137.1.2
57 pmResult ... numpmid: 1
58 137.1.2 (<noname>): numval: 1 valfmt: 1 vlist[]:
59 value 5
60 dbpmda> fetch json.s1.discrete
61 PMID(s): 137.1.3
62 pmResult ... numpmid: 1
63 137.1.3 (<noname>): numval: 1 valfmt: 1 vlist[]:
64 value 7
66 fetch json.nsources
67 PMID(s): 137.0.0
68 pmResult ... numpmid: 1
69 137.0.0 (<noname>): numval: 1 valfmt: 1 vlist[]:
70 value 1
71 dbpmda> fetch json.s1.string
72 PMID(s): 137.1.0
73 pmResult ... numpmid: 1
74 137.1.0 (<noname>): numval: 1 valfmt: 1 vlist[]:
75 value "new value"
76 dbpmda> fetch json.s1.value
77 PMID(s): 137.1.1
78 pmResult ... numpmid: 1
79 137.1.1 (<noname>): numval: 1 valfmt: 1 vlist[]:
80 value 99
81 dbpmda> fetch json.s1.counter
82 PMID(s): 137.1.2
83 pmResult ... numpmid: 1
84 137.1.2 (<noname>): numval: 1 valfmt: 1 vlist[]:
85 value 10
86 dbpmda> fetch json.s1.discrete
87 PMID(s): 137.1.3
88 pmResult ... numpmid: 1
89 137.1.3 (<noname>): numval: 1 valfmt: 1 vlist[]:
90 value 14
92 fetch json.nsources
93 PMID(s): 137.0.0
94 pmResult ... numpmid: 1
95 137.0.0 (<noname>): numval: 1 valfmt: 1 vlist[]:
96 value 2
99 Metric: json
100 Metric: json.s1
101 Metric: json.s2
102 children json
103 dbpmda> children json.s1
104 dbpmda> children json.s2
105 leaf counter
106 leaf debug
107 leaf discrete
108 leaf nsources
109 leaf string
110 leaf value
111 non-leaf array_data
112 non-leaf s1
113 non-leaf s2
114 instance 137.0
115 pmInDom: 137.0
116 [  0] inst: 0 name: "__internal__"
117 [  1] inst: 1 name: "s1"
118 [  2] inst: 2 name: "s2"
119 dbpmda> desc json.s2.array_data.counter
120 PMID: 137.2.2
121 Data Type: double  InDom: 137.4 0x22400004
122 Semantics: counter  Units: none
123 dbpmda> fetch json.s2.array_data.count
124 PMID(s): 137.2.0
125 pmResult ... numpmid: 1
126 137.2.0 (<noname>): numval: 2 valfmt: 1 vlist[]:
127 inst [0 or ???] value 0
128 inst [1 or ???] value 99
129 dbpmda> fetch json.s2.array_data.value
130 PMID(s): 137.2.1
131 pmResult ... numpmid: 1
132 137.2.1 (<noname>): numval: 2 valfmt: 1 vlist[]:
133 inst [0 or ???] value 1024
134 inst [1 or ???] value 2048
135 dbpmda> fetch json.s2.array_data.counter
136 PMID(s): 137.2.2
137 pmResult ... numpmid: 1
138 137.2.2 (<noname>): numval: 2 valfmt: 1 vlist[]:
139 inst [0 or ???] value 3
140 inst [1 or ???] value 5
142 2 0 2147483647
143 0 TIMESTAMP first
144 1 TIMESTAMP second
145 instance 137.4
146 pmInDom: 137.4
147 [  0] inst: 0 name: "first"
148 [  1] inst: 1 name: "second"
150 fetch json.s2.array_data.count
151 PMID(s): 137.2.0
152 pmResult ... numpmid: 1
153 137.2.0 (<noname>): numval: 2 valfmt: 1 vlist[]:
154 inst [1 or ???] value 100
155 inst [2 or ???] value 3
156 dbpmda> fetch json.s2.array_data.value
157 PMID(s): 137.2.1
158 pmResult ... numpmid: 1
159 137.2.1 (<noname>): numval: 2 valfmt: 1 vlist[]:
160 inst [1 or ???] value 2049
161 inst [2 or ???] value 3072
162 dbpmda> fetch json.s2.array_data.counter
163 PMID(s): 137.2.2
164 pmResult ... numpmid: 1
165 137.2.2 (<noname>): numval: 2 valfmt: 1 vlist[]:
166 inst [1 or ???] value 10
167 inst [2 or ???] value 7
168 dbpmda> instance 137.4
169 pmInDom: 137.4
170 [  0] inst: 1 name: "second"
171 [  1] inst: 2 name: "third"
173 2 0 2147483647
174 0 TIMESTAMP first
175 1 TIMESTAMP second
176 2 TIMESTAMP third
177 fetch json.s2.array_data.count
178 PMID(s): 137.2.0
179 pmResult ... numpmid: 1
180 137.2.0 (<noname>): numval: 1 valfmt: 1 vlist[]:
181 inst [3 or ???] value 4
182 dbpmda> fetch json.s2.array_data.value
183 PMID(s): 137.2.1
184 pmResult ... numpmid: 1
185 137.2.1 (<noname>): numval: 2 valfmt: 1 vlist[]:
186 inst [0 or ???] value 1025
187 inst [3 or ???] value 999
188 dbpmda> fetch json.s2.array_data.counter
189 PMID(s): 137.2.2
190 pmResult ... numpmid: 1
191 137.2.2 (<noname>): numval: 2 valfmt: 1 vlist[]:
192 inst [0 or ???] value 6
193 inst [3 or ???] value 13
194 dbpmda> instance 137.4
195 pmInDom: 137.4
196 [  0] inst: 0 name: "first"
197 [  1] inst: 3 name: "fourth"
199 2 0 2147483647
200 0 TIMESTAMP first
201 1 TIMESTAMP second
202 2 TIMESTAMP third
203 3 TIMESTAMP fourth
204 fetch json.s2.array_data.count
205 PMID(s): 137.2.0
206 pmResult ... numpmid: 1
207 137.2.0 (<noname>): numval: 1 valfmt: 1 vlist[]:
208 inst [0 or ???] value 2
209 dbpmda> fetch json.s2.array_data.value
210 PMID(s): 137.2.1
211 pmResult ... numpmid: 1
212 137.2.1 (<noname>): numval: 1 valfmt: 1 vlist[]:
213 inst [0 or ???] value 1026
214 dbpmda> fetch json.s2.array_data.counter
215 PMID(s): 137.2.2
216 pmResult ... numpmid: 1
217 137.2.2 (<noname>): numval: 1 valfmt: 1 vlist[]:
218 inst [0 or ???] value 9
219 dbpmda> instance 137.4
220 pmInDom: 137.4
221 [  0] inst: 0 name: "first"
223 2 0 2147483647
224 0 TIMESTAMP first
225 1 TIMESTAMP second
226 2 TIMESTAMP third
227 3 TIMESTAMP fourth
228 fetch json.nsources
229 PMID(s): 137.0.0
230 pmResult ... numpmid: 1
231 137.0.0 (<noname>): numval: 1 valfmt: 1 vlist[]:
232 value 3
235 Metric: json
236 Metric: json.ceph
237 Metric: json.s1
238 Metric: json.s2
239 children json
240 dbpmda> children json.ceph
241 dbpmda> children json.s1
242 dbpmda> children json.s2
243 leaf counter
244 leaf debug
245 leaf discrete
246 leaf nsources
247 leaf string
248 leaf value
249 non-leaf WBThrottle
250 non-leaf array_data
251 non-leaf ceph
252 non-leaf filestore
253 non-leaf leveldb
254 non-leaf mutex_FileJournal__completions_lock
255 non-leaf mutex_FileJournal__finisher_lock
256 non-leaf mutex_FileJournal__write_lock
257 non-leaf mutex_FileJournal__writeq_lock
258 non-leaf mutex_JOS__ApplyManager__apply_lock
259 non-leaf mutex_JOS__ApplyManager__com_lock
260 non-leaf mutex_JOS__SubmitManager__lock
261 non-leaf mutex_WBThrottle__lock
262 non-leaf objecter
263 non-leaf osd
264 non-leaf recoverystate_perf
265 non-leaf s1
266 non-leaf s2
267 non-leaf throttle_filestore_bytes
268 non-leaf throttle_filestore_ops
269 non-leaf throttle_msgr_dispatch_throttler_client
270 non-leaf throttle_msgr_dispatch_throttler_cluster
271 non-leaf throttle_msgr_dispatch_throttler_hb_back_server
272 non-leaf throttle_msgr_dispatch_throttler_hb_front_server
273 non-leaf throttle_msgr_dispatch_throttler_hbclient
274 non-leaf throttle_msgr_dispatch_throttler_ms_objecter
275 non-leaf throttle_objecter_bytes
276 non-leaf throttle_objecter_ops
277 non-leaf throttle_osd_client_bytes
278 non-leaf throttle_osd_client_messages
279 instance 137.0
280 pmInDom: 137.0
281 [  0] inst: 0 name: "__internal__"
282 [  1] inst: 1 name: "s1"
283 [  2] inst: 2 name: "s2"
284 [  3] inst: 3 name: "ceph"
285 dbpmda> fetch json.ceph.filestore.journal_wr_bytes.sum
286 PMID(s): 137.3.ID
287 pmResult ... numpmid: 1
288 137.3.ID (<noname>): numval: 1 valfmt: 1 vlist[]:
289 value 1585152
290 dbpmda> fetch json.ceph.osd.stat_bytes
291 PMID(s): 137.3.ID
292 pmResult ... numpmid: 1
293 137.3.ID (<noname>): numval: 1 valfmt: 1 vlist[]:
294 value 25231224832
296 quit