Merge branch 'master' of https://github.com/kmcdonell/pcp into kenj-merge
[pcp.git] / qa / 800.out
blob2960c644cf3f4fb8e7ed3c0a68f30be3950428f9
1 QA output created by 800
2 === Hotproc disabled by default test ===
3 dbpmda> open pipe PCP_PMDAS_DIR/proc/pmdaproc -d 3
4 Start pmdaproc PMDA: PCP_PMDAS_DIR/proc/pmdaproc -d 3
5 dbpmda> getdesc on
6 dbpmda> fetch hotproc.control.config_gen
7 PMID(s): 3.NUMBER.NUMBER
8 pmResult dump from ADDR timestamp: 0.000000 TIME numpmid: 1
9   3.NUMBER.NUMBER (hotproc.control.config_gen): numval: 1 valfmt: 0 vlist[]:
10    value 0
11 dbpmda> fetch hotproc.control.config
12 PMID(s): 3.NUMBER.NUMBER
13 pmResult dump from ADDR timestamp: 0.000000 TIME numpmid: 1
14   3.NUMBER.NUMBER (hotproc.control.config): numval: 1 valfmt: 1 vlist[]:
15    value ""
16 dbpmda> 
17 === Check that hotproc can have interval set early===
18 dbpmda> open pipe PCP_PMDAS_DIR/proc/pmdaproc -d 3
19 Start pmdaproc PMDA: PCP_PMDAS_DIR/proc/pmdaproc -d 3
20 dbpmda> getdesc on
21 dbpmda> attr "username" "root"
22 Attribute: username=root
23 Success
24 dbpmda> attr 11 "0"
25 Attribute: userid=0
26 Success
27 dbpmda> store hotproc.control.refresh "1"
28 PMID: 3.NUMBER.NUMBER
29 Getting description...
30 Sending Profile...
31 Getting Result Structure...
32 3.NUMBER.NUMBER: 10 -> 1
33 Sending Result...
34 dbpmda> wait 3
35 dbpmda> fetch hotproc.nprocs
36 PMID(s): 3.NUMBER.NUMBER
37 pmResult dump from ADDR timestamp: 0.000000 TIME numpmid: 1
38   3.NUMBER.NUMBER (hotproc.nprocs): numval: 1 valfmt: 0 vlist[]:
39    value 0
40 dbpmda> 
41 === Check that hotproc can be configured with UID===
42 dbpmda> open pipe PCP_PMDAS_DIR/proc/pmdaproc -d 3
43 Start pmdaproc PMDA: PCP_PMDAS_DIR/proc/pmdaproc -d 3
44 dbpmda> getdesc on
45 dbpmda> attr "username" "root"
46 Attribute: username=root
47 Success
48 dbpmda> attr 11 "0"
49 Attribute: userid=0
50 Success
51 dbpmda> store hotproc.control.config "uid==0"
52 PMID: 3.NUMBER.NUMBER
53 Getting description...
54 Sending Profile...
55 Getting Result Structure...
56 3.NUMBER.NUMBER: "" -> "uid==0"
57 Sending Result...
58 dbpmda> store hotproc.control.refresh "1"
59 PMID: 3.NUMBER.NUMBER
60 Getting description...
61 Getting Result Structure...
62 3.NUMBER.NUMBER: 10 -> 1
63 Sending Result...
64 dbpmda> fetch hotproc.control.config
65 PMID(s): 3.NUMBER.NUMBER
66 pmResult dump from ADDR timestamp: 0.000000 TIME numpmid: 1
67   3.NUMBER.NUMBER (hotproc.control.config): numval: 1 valfmt: 1 vlist[]:
68    value "(uid == 0)"
69 dbpmda> wait 3
70 dbpmda> fetch hotproc.nprocs
71 PMID(s): 3.NUMBER.NUMBER
72 pmResult dump from ADDR timestamp: 0.000000 TIME numpmid: 1
73   3.NUMBER.NUMBER (hotproc.nprocs): numval: 1 valfmt: 0 vlist[]:
74    value NUMBER
75 dbpmda> 
76 === Check that hotproc can be configured with process name===
77 dbpmda> open pipe PCP_PMDAS_DIR/proc/pmdaproc -d 3
78 Start pmdaproc PMDA: PCP_PMDAS_DIR/proc/pmdaproc -d 3
79 dbpmda> getdesc on
80 dbpmda> attr "username" "root"
81 Attribute: username=root
82 Success
83 dbpmda> attr 11 "0"
84 Attribute: userid=0
85 Success
86 dbpmda> store hotproc.control.config 'fname=="pmdaproc"'
87 PMID: 3.NUMBER.NUMBER
88 Getting description...
89 Sending Profile...
90 Getting Result Structure...
91 3.NUMBER.NUMBER: "" -> "fname=="pmdaproc""
92 Sending Result...
93 dbpmda> store hotproc.control.refresh "1"
94 PMID: 3.NUMBER.NUMBER
95 Getting description...
96 Getting Result Structure...
97 3.NUMBER.NUMBER: 10 -> 1
98 Sending Result...
99 dbpmda> wait 3
100 dbpmda> fetch hotproc.nprocs
101 PMID(s): 3.NUMBER.NUMBER
102 pmResult dump from ADDR timestamp: 0.000000 TIME numpmid: 1
103   3.NUMBER.NUMBER (hotproc.nprocs): numval: 1 valfmt: 0 vlist[]:
104    value NUMBER
105 dbpmda>