Command Reference Guide

lseligible
232 Platform LSF Command Reference
lseligible
displays whether a task is eligible for remote execution
Synopsis
lseligible [-r] [-q] [-s] task
lseligible [-h | -V]
Description
Displays whether the specified task is eligible for remote execution.
By default, only tasks in the remote task list are considered eligible for remote
execution.
Options
-q Quiet mode. Displays only the resource requirement string defined for the task. The
string ELIGIBLE or NON-ELIGIBLE is omitted.
-r Remote mode. Considers eligible for remote execution any task not included in the
local task list.
-s Silent mode. No output is produced. The -q and -s options are useful for shell
scripts which operate by testing the exit status (see DIAGNOSTICS).
task Specify a command.
-h Prints command usage to stderr and exits.
-V Prints LSF release version to stderr and exits.
Output
If the task is eligible, the string ELIGIBLE followed by the resource requirements
associated with the task are printed to stdout. Otherwise, the string
NON-ELIGIBLE is printed to stdout.
If
lseligible prints ELIGIBLE with no resource requirements, the task has the
default requirements of CPU consumption and memory usage.
Diagnostics
lseligible has the following exit statuses:
0 Task is eligible for remote execution
1 Command is to be executed locally
-1 Syntax errors
-10 A failure is detected in the LSF system
See also
ls_eligible(3), lsrtasks(1), lsf.task(5)