lseligible - display the remote execution eligibility of a task
lseligible [ -h ] [ -V ] [ -q ] [ -r ] [ -s ] task_name
Test whether a given command specified by task_name is eligible for remote execution. If the command is eligible, the string «ELIGIBLE» followed by the resource requirements associated with the task are printed on stdout. Otherwise, the string «NON-ELIGIBLE» is printed on stdout. If lseligible prints «ELIGIBLE» with no resource requirement, the task has the default requirements of CPU and memory intensive.
-r Remote mode of operation. Any task not included in the local task list is considered eligible for remote execution. The default is local mode of operation, in which only tasks contained in the remote task list are considered eligible for remote execution.
-q Quiet mode. Display the resource requirement string defined for the task_name. The string «ELIGIBLE» or «NON-ELIGIBLE» will be omitted.
-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).
-h Print command usage to stderr and exit.
-V Print LSF release version to stderr and exit.
Exit status is 0 if the command is eligible for remote execution, 1 if the command is to be executed locally. Exit status is -1 for syntax errors, -10 if a failure is detected in the LSF system.
ls_eligible(3) , lsrtasks(1) , lsf.task(5)