This file is indexed.

/var/lib/pcp/testsuite/418 is in pcp-testsuite 3.9.10.

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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/bin/sh
# PCP QA Test No. 418
# "default" interval for pmlogger
#
# Copyright (c) 1995-2002 Silicon Graphics, Inc.  All Rights Reserved.
#

seq=`basename $0`
echo "QA output created by $seq"

# get standard filters
. ./common.product
. ./common.filter
. ./common.check

status=1	# failure is the default!
trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15

# real QA test starts here

echo "expect 2 x one and 0 x million"
echo "expect 2 x one and 0 x million" >$seq.full
$sudo rm -f $tmp.0 $tmp.index $tmp.meta

cat <<End-of-File >$tmp.config
log mandatory on default sample.float.million
log advisory on default sample.long.million
log mandatory on 10 sec sample.float.one
log advisory on 10 sec sample.long.one
End-of-File

if pmlogger -T 15sec -l $tmp.log $tmp <$tmp.config
then
    cat $tmp.log >>$seq.full
else
    echo "Arrgh, pmlogger failed ..."
    cat $tmp.log
    exit
fi

pmdumplog $tmp | _filter_pmdumplog | grep sample | sort -n -k2
pmdumplog $tmp >>$seq.full

echo
echo "expect 2 x one and 4 x million"
$sudo rm -f $tmp.0 $tmp.index $tmp.meta

cat <<End-of-File >$tmp.config
log mandatory on default sample.float.million
log advisory on default sample.long.million
log mandatory on 10 sec sample.float.one
log advisory on 10 sec sample.long.one
End-of-File

if pmlogger -T 15sec -t 7 -l $tmp.log $tmp <$tmp.config
then
    cat $tmp.log >>$seq.full
else
    echo "Arrgh, pmlogger failed ..."
    cat $tmp.log
    exit
fi

pmdumplog $tmp | _filter_pmdumplog | grep sample | sort -n -k2
pmdumplog $tmp >>$seq.full

# success, all done
status=0
exit