/usr/share/arc/cancel-ll-job is in nordugrid-arc-arex 1.1.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 | #!/bin/sh
#
# Cancel job running in LoadLeveler.
#
progname=`basename $0`
echo "----- starting $progname -----" 1>&2
joboption_lrms=ll
# ARC1 passes first the config file.
if [ "$1" = "--config" ]; then shift; ARC_CONFIG=$1; shift; fi
basedir=`dirname $0`
basedir=`cd $basedir > /dev/null && pwd` || exit $?
pkgdatadir="$basedir"
. ${pkgdatadir}/cancel_common.sh || exit $?
LL_DEL='llcancel'
if [ ! -z "$LL_BIN_PATH" ] ; then
LL_DEL="${LL_BIN_PATH}/${LL_DEL}"
fi
echo executing job removal with job id $joboption_jobid 1>&2
"${LL_DEL}" "${joboption_jobid}"
echo "----- exiting $progname -----" 1>&2
echo "" 1>&2
exit 0
|