1 #!/bin/sh 2 # Copyright 2017 The Chromium OS Authors. All rights reserved. 3 # Use of this source code is governed by a BSD-style license that can be 4 # found in the LICENSE file. 5 # args: -R 13,10,11 6 # note that 13 = RLIMIT_NICE 7 8 SRCDIR="$(dirname "$0")" 9 10 . "${SRCDIR}"/common.sh 11 12 grep "Max nice priority\s*10\s*11" /proc/self/limits || die "nice limit not set" 13 exit 0 14