/var/lib/pcp/testsuite/group-stats 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 35 36 37 38 39 40 | #!/bin/sh
#
# Report test frequency by group
#
# Sample lines ...
# # log rewriting app
# pmlogrewrite
#
# 015 pdu local ostest sanity pmstore
#
awk <group '
/^\#/ { next }
NF == 0 { next }
/^[0-9]/ { for (i = 2; i <= NF; i++) {
if (f[$i] == "") {
if ($i == "remote" || $i == "local" || $i == "sanity" ||
$i == "ostest" ||
$i ~ /^\#/ || $i ~ /patch/) {
# control "groups" or sgi bug numbers
continue
}
printf "Warning[%d]: test %s: group \"%s\" not declared\n",NR,$1,$i
}
else
f[$i]++
}
next
}
{ if ($i == "remote" || $i == "local" || $i == "sanity" ||
$i == "ostest")
next
f[$1] = 0
}
END { for (g in f) {
if (f[g] != "")
printf "%3d %s\n",f[g],g
}
}' \
| sort -k 1,1nr -k2,2
|