/var/lib/pcp/testsuite/archives/mk.vmstat 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 29 30 31 32 33 34 | #!/bin/sh
#
# Recreate vmstat archive for pmrep and pcp-vmstat testing
#
tmp=/var/tmp/$$
trap "rm -f $tmp.*; exit 0" 0 1 2 3 15
cat <<End-of-File >$tmp.config
log mandatory on 1 sec {
mem.util.free
mem.util.bufmem
mem.util.cached
mem.util.slab
swap.used
swap.pagesin
swap.pagesout
mem.vmstat.pgpgin
mem.vmstat.pgpgout
disk.all.blkread
disk.all.blkwrite
kernel.all.load
kernel.all.intr
kernel.all.sysfork
kernel.all.pswitch
kernel.all.running
kernel.all.blocked
kernel.all.cpu
hinv.ncpu
}
End-of-File
rm -f pcp-vmstat.index pcp-vmstat.meta pcp-vmstat.0
pmlogger -c $tmp.config -s 5 pcp-vmstat
|