/usr/lib/libhugetlbfs/tests/obj64/counters.sh is in libhugetlbfs-tests 2.11-0ubuntu1.
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 | #!/bin/bash
. wrapper-utils.sh
# Huge page overcommit was not available until 2.6.24
compare_kvers `uname -r` "2.6.24"
if [ $? -eq 1 ]; then
EXP_RC=$RC_FAIL
else
EXP_RC=$RC_PASS
fi
exec_and_check $EXP_RC counters "$@"
|