/var/lib/pcp/testsuite/src/mkrewrite is in pcp-testsuite 3.8.12ubuntu1.
This file is owned by root:root, with mode 0o755.
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 | #!/bin/sh
#
# Recipe to remake rewrite archive
#
rm -f rewrite.0 rewrite.index rewrite.meta
. $PCP_DIR/etc/pcp.env
cat <<End-of-File | $PCP_BINADM_DIR/pmlogger -s 5 -l rewrite.log rewrite
log mandatory on 150msec {
sampledso.long.bin_ctr[100,200,800,900]
sample.float.bin_ctr
sampledso.double.hundred
sample.longlong.bin_ctr
sampledso.bin[100,200,800,900]
sample.part_bin
sampledso.long.hundred
sample.ulonglong.hundred
}
log mandatory on 125msec {
sample.ulong.bin_ctr
sampledso.milliseconds
sample.ulonglong.bin_ctr
sampledso.float.hundred
sample.bin
sampledso.part_bin
sampledso.ulong.hundred
sampledso.double.bin_ctr[100,200,800,900]
sampledso.longlong.hundred
}
End-of-File
|