项目

一般

简介

demo+smdat0.txt

杜 小栋, 2023-01-04 15:20

 
1
demo:
2
[root@M28x NandFlash]# ./omDemo1 4184 1 0 0 0 SNMP10.11.1.89:161
3
VIDIOC_QUERYCAPno captureMemTotal:         124460 kB
4
MemFree:           71956 kB
5
Buffers:               0 kB
6
Cached:            29532 kB
7
!!!MemVsz 0: 4196 KB
8
SIGRTMAX-1= 63
9
SerManager new: 1b3f8
10
!!!MemVsz change: 112 KB
11
!!!MemVsz change: 6084 KB
12
!!!MemVsz change: 1036 KB
13

    
14
SMxxx: Type=4184  Addr=1  Port=0  Tag1=0  Ext1=0
15

    
16
SerDef=SNMP10.11.1.89:161 Type=4184
17
CSMSnmpPub::UpdLoad  d=1  50ms  tout=300
18
testSM SM=1e250
19
VIDIOC_QUERYCAPno captureno streamingMemTotal:         124460 kB
20
MemFree:           71508 kB
21
Buffers:               0 kB
22
Cached:            29532 kB
23
start SMxxx->DataGet ...
24
20230104.15:19:19:   50 13 02 40                                        P..@
25
: (4)DEBUG  : SNMPMessage: return value for build message: (0)
26
20230104.15:19:19:   50 13 02 40                                        P..@
27
: (4)DEBUG  : SNMPMessage: return value for build message: (0)
28
20230104.15:19:19:   50 13 02 40                                        P..@
29
: (4)DEBUG  : SNMPMessage: return value for build message: (0)
30
20230104.15:19:19:   50 13 02 40                                        P..@
31
: (4)DEBUG  : SNMPMessage: return value for build message: (0)
32
20230104.15:19:19:   50 13 02 40                                        P..@
33
: (4)DEBUG  : SNMPMessage: return value for build message: (0)
34
20230104.15:19:19:   50 13 02 40                                        P..@
35
: (4)DEBUG  : SNMPMessage: return value for build message: (0)
36
20230104.15:19:19:   50 13 02 40                                        P..@
37
: (4)DEBUG  : SNMPMessage: return value for build message: (0)
38
20230104.15:19:19:   50 13 02 40                                        P..@
39
: (4)DEBUG  : SNMPMessage: return value for build message: (0)
40
20230104.15:19:19:   50 13 02 40                                        P..@
41
: (4)DEBUG  : SNMPMessage: return value for build message: (0)
42
20230104.15:19:20:   50 13 02 40                                        P..@
43
: (4)DEBUG  : SNMPMessage: return value for build message: (0)
44
20230104.15:19:20:   50 13 02 40                                        P..@
45
: (4)DEBUG  : SNMPMessage: return value for build message: (0)
46
t=4184  iaddr=1  iext=0
47
upsAdvBatteryCapacity=100
48
upsAdvBatteryRunTimeRemaining=2:13:00.00
49
upsAdvBatteryTemperature=24
50
upsAdvInputFrequency=49
51
upsAdvInputLineVoltage=224
52
upsAdvOutputCurrent=2
53
upsAdvOutputFrequency=50
54
upsAdvOutputLoad=12
55
upsAdvOutputVoltage=219
56
upsAdvStateAbnormalConditions=00000000000000000000000000000000
57
upsBasicStateOutputState=0001010000000000001000000000000000000000000000000000000000000000
58
brief=▒▒▒▒▒ѹ: 224 V, ▒▒▒▒Ƶ▒▒: 49 Hz
59

    
60

    
61

    
62

    
63
smdat0:
64
{qry: "ok", qryid: 16,…}
65
qry
66
: 
67
"ok"
68
qryid
69
: 
70
16
71
reccnt
72
: 
73
11
74
recs
75
: 
76
[{LID: 1, DID: 0, SID: 16, Fld: "upsAdvBatteryCapacity", Val: 100, ValStr: ""},…]
77
0
78
: 
79
{LID: 1, DID: 0, SID: 16, Fld: "upsAdvBatteryCapacity", Val: 100, ValStr: ""}
80
DID
81
: 
82
0
83
Fld
84
: 
85
"upsAdvBatteryCapacity"
86
LID
87
: 
88
1
89
SID
90
: 
91
16
92
Val
93
: 
94
100
95
ValStr
96
: 
97
""
98
1
99
: 
100
{LID: 2, DID: 0, SID: 16, Fld: "upsAdvBatteryRunTimeRemaining", Val: 0, ValStr: "2:13:00.00"}
101
DID
102
: 
103
0
104
Fld
105
: 
106
"upsAdvBatteryRunTimeRemaining"
107
LID
108
: 
109
2
110
SID
111
: 
112
16
113
Val
114
: 
115
0
116
ValStr
117
: 
118
"2:13:00.00"
119
2
120
: 
121
{LID: 3, DID: 0, SID: 16, Fld: "upsAdvBatteryTemperature", Val: 24, ValStr: ""}
122
DID
123
: 
124
0
125
Fld
126
: 
127
"upsAdvBatteryTemperature"
128
LID
129
: 
130
3
131
SID
132
: 
133
16
134
Val
135
: 
136
24
137
ValStr
138
: 
139
""
140
3
141
: 
142
{LID: 4, DID: 0, SID: 16, Fld: "upsAdvInputFrequency", Val: 49, ValStr: ""}
143
DID
144
: 
145
0
146
Fld
147
: 
148
"upsAdvInputFrequency"
149
LID
150
: 
151
4
152
SID
153
: 
154
16
155
Val
156
: 
157
49
158
ValStr
159
: 
160
""
161
4
162
: 
163
{LID: 5, DID: 0, SID: 16, Fld: "upsAdvInputLineVoltage", Val: 224, ValStr: ""}
164
DID
165
: 
166
0
167
Fld
168
: 
169
"upsAdvInputLineVoltage"
170
LID
171
: 
172
5
173
SID
174
: 
175
16
176
Val
177
: 
178
224
179
ValStr
180
: 
181
""
182
5
183
: 
184
{LID: 6, DID: 0, SID: 16, Fld: "upsAdvOutputCurrent", Val: 2, ValStr: ""}
185
DID
186
: 
187
0
188
Fld
189
: 
190
"upsAdvOutputCurrent"
191
LID
192
: 
193
6
194
SID
195
: 
196
16
197
Val
198
: 
199
2
200
ValStr
201
: 
202
""
203
6
204
: 
205
{LID: 7, DID: 0, SID: 16, Fld: "upsAdvOutputFrequency", Val: 50, ValStr: ""}
206
DID
207
: 
208
0
209
Fld
210
: 
211
"upsAdvOutputFrequency"
212
LID
213
: 
214
7
215
SID
216
: 
217
16
218
Val
219
: 
220
50
221
ValStr
222
: 
223
""
224
7
225
: 
226
{LID: 8, DID: 0, SID: 16, Fld: "upsAdvOutputLoad", Val: 12, ValStr: ""}
227
DID
228
: 
229
0
230
Fld
231
: 
232
"upsAdvOutputLoad"
233
LID
234
: 
235
8
236
SID
237
: 
238
16
239
Val
240
: 
241
12
242
ValStr
243
: 
244
""
245
8
246
: 
247
{LID: 9, DID: 0, SID: 16, Fld: "upsAdvOutputVoltage", Val: 219, ValStr: ""}
248
DID
249
: 
250
0
251
Fld
252
: 
253
"upsAdvOutputVoltage"
254
LID
255
: 
256
9
257
SID
258
: 
259
16
260
Val
261
: 
262
219
263
ValStr
264
: 
265
""
266
9
267
: 
268
{LID: 10, DID: 0, SID: 16, Fld: "upsAdvStateAbnormalConditions", Val: 0,…}
269
DID
270
: 
271
0
272
Fld
273
: 
274
"upsAdvStateAbnormalConditions"
275
LID
276
: 
277
10
278
SID
279
: 
280
16
281
Val
282
: 
283
0
284
ValStr
285
: 
286
"00000000000000000000000000000000"
287
10
288
: 
289
{LID: 11, DID: 0, SID: 16, Fld: "upsBasicStateOutputState", Val: 0,…}
290
DID
291
: 
292
0
293
Fld
294
: 
295
"upsBasicStateOutputState"
296
LID
297
: 
298
11
299
SID
300
: 
301
16
302
Val
303
: 
304
0
305
ValStr
306
: 
307
"0001010000000000001000000000000000000000000000000000000000000000"