/var/lib/pcp/testsuite/075.out.3 is in pcp-testsuite 3.8.12ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | QA output created by 075
$ pmstore -i bin-300,bin-400,bin-500 sample.bin 500
sample.bin inst [300 or "bin-300"] old value=300 new value=500
sample.bin inst [400 or "bin-400"] old value=400 new value=500
sample.bin inst [500 or "bin-500"] old value=500 new value=500
sample.bin: pmStore: No permission to perform requested operation
$ pmstore -i bin-300,bin-400,bin-500 sample.bin 400
sample.bin inst [300 or "bin-300"] old value=300 new value=400
sample.bin inst [400 or "bin-400"] old value=400 new value=400
sample.bin inst [500 or "bin-500"] old value=500 new value=400
sample.bin: pmStore: No permission to perform requested operation
$ pmstore -i bin-300 bin-400 bin-500 sample.bin 500
sample.bin inst [300 or "bin-300"] old value=300 new value=500
sample.bin inst [400 or "bin-400"] old value=400 new value=500
sample.bin inst [500 or "bin-500"] old value=500 new value=500
sample.bin: pmStore: No permission to perform requested operation
$ pmstore -i bin-300
bin-400
bin-500 sample.bin 455
sample.bin inst [300 or "bin-300"] old value=300 new value=455
sample.bin inst [400 or "bin-400"] old value=400 new value=455
sample.bin inst [500 or "bin-500"] old value=500 new value=455
sample.bin: pmStore: No permission to perform requested operation
$ pmstore -i bin-300,bin-400,bin-500 sample.bin 234
sample.bin inst [300 or "bin-300"] old value=300 new value=234
sample.bin inst [400 or "bin-400"] old value=400 new value=234
sample.bin inst [500 or "bin-500"] old value=500 new value=234
sample.bin: pmStore: No permission to perform requested operation
$ pmstore -i bin-300,bin-400,bin-500 sample.bin 500
sample.bin inst [300 or "bin-300"] old value=300 new value=500
sample.bin inst [400 or "bin-400"] old value=400 new value=500
sample.bin inst [500 or "bin-500"] old value=500 new value=500
sample.bin: pmStore: No permission to perform requested operation
$ pmstore -i bin-300 bin-400 bin-500 sample.bin 400
Usage: pmstore [options] metricname value
Options:
-h host metrics source is PMCD on host
-i instance metric instance or list of instances. Elements in an
instance list are separated by commas and/or newlines
-n pmnsfile use an alternative PMNS
$ pmstore -i bin-300.bin-400.bin-500 sample.bin 400
pmLookupInDom sample.bin[bin-300.bin-400.bin-500]: Unknown or illegal instance identifier
$ pmstore -i bin-300,bin-400,bin-500 sample.bin
Usage: pmstore [options] metricname value
Options:
-h host metrics source is PMCD on host
-i instance metric instance or list of instances. Elements in an
instance list are separated by commas and/or newlines
-n pmnsfile use an alternative PMNS
$ pmstore -i bin-300,bin-400,bin-500 -h REMOTEHOST sample.bin 500
sample.bin inst [300 or "bin-300"] old value=300 new value=500
sample.bin inst [400 or "bin-400"] old value=400 new value=500
sample.bin inst [500 or "bin-500"] old value=500 new value=500
sample.bin: pmStore: No permission to perform requested operation
$ pmval -s 2 -i bin-300,bin-400,bin-500 sample.bin
metric: sample.bin
host: localhost
semantics: instantaneous value
units: none
samples: 2
interval: 1.00 sec
bin-300 bin-400 bin-500
300 400 500
300 400 500
$ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
metric: sample.bin
host: localhost
semantics: instantaneous value
units: none
samples: 2
interval: 1.00 sec
bin-300 bin-400 bin-500
300 400 500
300 400 500
$ pmval -t 0.2 -s 2 -i bin-300 bin-400 bin-500 sample.bin
metric: sample.bin
host: localhost
semantics: instantaneous value
units: none
samples: 2
interval: 0.20 sec
bin-300 bin-400 bin-500
300 400 500
300 400 500
$ pmval -t 0.2 -s 2 -i bin-300
bin-400
bin-500 sample.bin
metric: sample.bin
host: localhost
semantics: instantaneous value
units: none
samples: 2
interval: 0.20 sec
bin-300 bin-400 bin-500
300 400 500
300 400 500
$ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
metric: sample.bin
host: localhost
semantics: instantaneous value
units: none
samples: 2
interval: 1.00 sec
bin-300 bin-400 bin-500
300 400 500
300 400 500
$ pmval -i bin-300,bin-400,bin-500 -s 2 sample.bin
metric: sample.bin
host: localhost
semantics: instantaneous value
units: none
samples: 2
interval: 1.00 sec
bin-300 bin-400 bin-500
300 400 500
300 400 500
$ pmval -s 2 -t 0.3 -i bin-300 bin-400 bin-500 sample.bin
Error: pmval can only process one metricname at a time
Usage: pmval [options] metricname
Options:
-A align align sample times on natural boundaries
-a archive metrics source is a PCP log archive (interpolate values)
-d delay, pause between updates for archive replay
-h host metrics source is PMCD on host
-i instance metric instance or list of instances - elements in an
instance list are separated by commas or whitespace
-n pmnsfile use an alternative PMNS
-O offset initial offset into the time window
-r output raw counter values
-S starttime start of the time window
-s samples terminate after this many samples
-T endtime end of the time window
-t interval sample interval [default 1 second]
-U archive metrics source is a PCP log archive (do not interpolate
and -t option ignored)
-w width set the width of each column of output
-Z timezone set reporting timezone
-z set reporting timezone to local time of metrics source
$ pmval -s 2 -t 0.3 -i bin-300.bin-400.bin-500 sample.bin
pmval: instance bin-300.bin-400.bin-500 not available
$ pmval -i bin-300,bin-400 -s 2 sample.bin
metric: sample.bin
host: localhost
semantics: instantaneous value
units: none
samples: 2
interval: 1.00 sec
bin-300 bin-400
300 400
300 400
|