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
|
QA output created by 024
=== expected to pass ===
__pmSetSocketIPC: fd=<n>
IPC table fd(PDU version):
__pmSetVersionIPC: fd=<n> version=2
IPC table fd(PDU version): <n>(2,1)
__pmSendCreds: #0 = 1020000
__pmConnectPMCD(<localhost>): pmcd connection port=<n> fd=<n> PDU version=2
IPC table fd(PDU version): <n>(2,1)
pmNewContext(1, <localhost>) -> 0
Dump Contexts: current context = 0
Context[0] host <localhost>: pmcd=CONNECTED profile=NOT_SENT fd=<n> refcnt=1 origin=0.000000 delta=0
Dump Instance Profile state=INCLUDE, 0 profiles
pmNewContext(1, <localhost>) -> 1
Dump Contexts: current context = 1
Context[1] host <localhost>: pmcd=CONNECTED profile=NOT_SENT fd=<n> refcnt=2 origin=0.000000 delta=0
Dump Instance Profile state=INCLUDE, 0 profiles
pmUseContext(1) -> 0
pmDestroyContext(1) -> 0, curcontext=-1
pmUseContext(0) -> 0
__pmSetSocketIPC: fd=<n>
IPC table fd(PDU version):
__pmSetVersionIPC: fd=<n> version=2
IPC table fd(PDU version): <n>(2,1)
__pmSendCreds: #0 = 1020000
__pmConnectPMCD(<localhost>): pmcd connection port=<n> fd=<n> PDU version=2
IPC table fd(PDU version): <n>(2,1)
pmNewContext(1, <localhost>) -> 0
Dump Contexts: current context = 0
Context[0] host <localhost>: pmcd=CONNECTED profile=NOT_SENT fd=<n> refcnt=1 origin=0.000000 delta=0
Dump Instance Profile state=INCLUDE, 0 profiles
pmNewContext(1, <localhost>) -> 1
Dump Contexts: current context = 1
Context[1] host <localhost>: pmcd=CONNECTED profile=NOT_SENT fd=<n> refcnt=2 origin=0.000000 delta=0
Dump Instance Profile state=INCLUDE, 0 profiles
pmUseContext(1) -> 0
pmDestroyContext(1) -> 0, curcontext=-1
pmUseContext(0) -> 0
__pmSetSocketIPC: fd=<n>
IPC table fd(PDU version):
__pmSetVersionIPC: fd=<n> version=2
IPC table fd(PDU version): <n>(2,1)
__pmSendCreds: #0 = 1020000
__pmConnectPMCD(<localhost>): pmcd connection port=<n> fd=<n> PDU version=2
IPC table fd(PDU version): <n>(2,1)
pmNewContext(1, <localhost>) -> 0
Dump Contexts: current context = 0
Context[0] host <localhost>: pmcd=CONNECTED profile=NOT_SENT fd=<n> refcnt=1 origin=0.000000 delta=0
Dump Instance Profile state=INCLUDE, 0 profiles
__pmSetSocketIPC: fd=<n>
IPC table fd(PDU version): <n>(2,1)
__pmSetVersionIPC: fd=<n> version=2
IPC table fd(PDU version): <n>(2,1) <n>(2,1)
__pmSendCreds: #0 = 1020000
__pmConnectPMCD(<localhost>): pmcd connection port=<n> fd=<n> PDU version=2
IPC table fd(PDU version): <n>(2,1) <n>(2,1)
pmNewContext(1, <localhost>) -> 1
Dump Contexts: current context = 1
Context[1] host <localhost>: pmcd=CONNECTED profile=NOT_SENT fd=<n> refcnt=1 origin=0.000000 delta=0
Dump Instance Profile state=INCLUDE, 0 profiles
pmUseContext(1) -> 0
pmDestroyContext(1) -> 0, curcontext=-1
pmUseContext(0) -> 0
__pmSetSocketIPC: fd=<n>
IPC table fd(PDU version):
__pmSetVersionIPC: fd=<n> version=2
IPC table fd(PDU version): <n>(2,1)
__pmSendCreds: #0 = 1020000
__pmConnectPMCD(<localhost>): pmcd connection port=<n> fd=<n> PDU version=2
IPC table fd(PDU version): <n>(2,1)
pmNewContext(1, <localhost>) -> 0
Dump Contexts: current context = 0
Context[0] host <localhost>: pmcd=CONNECTED profile=NOT_SENT fd=<n> refcnt=1 origin=0.000000 delta=0
Dump Instance Profile state=INCLUDE, 0 profiles
__pmSetSocketIPC: fd=<n>
IPC table fd(PDU version): <n>(2,1)
__pmSetVersionIPC: fd=<n> version=2
IPC table fd(PDU version): <n>(2,1) <n>(2,1)
__pmSendCreds: #0 = 1020000
__pmConnectPMCD(<remotehost>): pmcd connection port=<n> fd=<n> PDU version=2
IPC table fd(PDU version): <n>(2,1) <n>(2,1)
pmNewContext(1, <remotehost>) -> 1
Dump Contexts: current context = 1
Context[1] host <remotehost>: pmcd=CONNECTED profile=NOT_SENT fd=<n> refcnt=1 origin=0.000000 delta=0
Dump Instance Profile state=INCLUDE, 0 profiles
pmUseContext(1) -> 0
pmDestroyContext(1) -> 0, curcontext=-1
pmUseContext(0) -> 0
=== try CONTEXT_LOCAL ===
__pmSetSocketIPC: fd=<n>
IPC table fd(PDU version):
__pmSetVersionIPC: fd=<n> version=2
IPC table fd(PDU version): <n>(2,1)
__pmSendCreds: #0 = 1020000
__pmConnectPMCD(<localhost>): pmcd connection port=<n> fd=<n> PDU version=2
IPC table fd(PDU version): <n>(2,1)
pmNewContext(1, <localhost>) -> 0
Dump Contexts: current context = 0
Context[0] host <localhost>: pmcd=CONNECTED profile=NOT_SENT fd=<n> refcnt=1 origin=0.000000 delta=0
Dump Instance Profile state=INCLUDE, 0 profiles
build_dsotab: parsing $PCP_PMCDCONF_PATH
<stripped lines>
pmNewContext(3, (null)) -> 1
Dump Contexts: current context = 1
Context[1] standalone: profile=NOT_SENT
Dump Instance Profile state=INCLUDE, 0 profiles
pmUseContext(1) -> 0
pmDestroyContext(1) -> 0, curcontext=-1
pmUseContext(0) -> 0
NotifyEndLocalContext: DSO PMDA $PCP_PMDAS_DIR/sample/pmda_sample.$DSO_SUFFIX (30) notified of context 0 close
sorted stripped lines ...
ADDR [N] domain=30 name=$PCP_PMDAS_DIR/sample/pmda_sample.$DSO_SUFFIX init=sample_init handle=(nil)
ADDR [N] domain=70 name=$PCP_PMDAS_DIR/mmv/pmda_mmv.$DSO_SUFFIX init=mmv_init handle=(nil)
ADDR [N] domain=N name=OS_PMDA, ...
Local Context PMDA Table
[N] domain=30, name=$PCP_PMDAS_DIR/sample/pmda_sample.$DSO_SUFFIX, init=sample_init
[N] domain=70, name=$PCP_PMDAS_DIR/mmv/pmda_mmv.$DSO_SUFFIX, init=mmv_init
[N] domain=N, name=OS_PMDA, ...
__pmLocalPMDA(op=ADD, domain=30, name=$PCP_PMDAS_DIR/sample/pmda_sample.$DSO_SUFFIX, init=sample_init)
__pmLocalPMDA(op=ADD, domain=70, name=$PCP_PMDAS_DIR/mmv/pmda_mmv.$DSO_SUFFIX, init=mmv_init)
__pmLocalPMDA(op=ADD, domain=N, name=OS_PMDA, ...)
|