/var/lib/pcp/testsuite/src/mkeventrec 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 | #!/bin/sh
#
# create the eventrec archive
#
. $PCP_DIR/etc/pcp.env
pmstore sample.event.reset 3
rm -f eventrec.0 eventrec.meta eventrec.index pmlogger.log
cat <<End-of-File | pmlogger -s 5 eventrec
log mandatory on 1 sec {
sample.event.records
sample.event.no_indom_records
sample.colour
sampledso.event.records
sampledso.event.no_indom_records
}
End-of-File
cat pmlogger.log
|