/var/lib/pcp/testsuite/archives/mk.ipcs is in pcp-testsuite 4.0.1-1.
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 | #!/bin/sh
#
# Recipe for creating the pcp-ipcs archive, for exercising IPC
# metric reporting by pcp-ipcs(1) ...
#
. $PCP_DIR/etc/pcp.env
here=`pwd`
tmp=/tmp/$$
if [ "$PCP_PLATFORM" != "linux" ]
then
echo "$0: Error: requires Linux kernel IPC metrics"
exit 1
fi
rm -rf $tmp $here/pcp-ipcs.{0,meta,index}
trap "cd $here; rm -fr $tmp; exit" 0 1 2 3 15
cat <<End-of-File >> $tmp.ipcs.config
log mandatory on once { hinv.pagesize }
log mandatory on 1 sec { ipc }
End-of-File
${PCP_BINADM_DIR}/pmlogger -s 5 -c $tmp.ipcs.config $here/pcp-ipcs
exit
|