Platform LSF Reference Version 6.2
lsltasks
Platform LSF Reference
232
lsltasks
displays or updates a user’s local task list
SYNOPSIS
lsltasks [+ task_name ... | – task_name ...]
lsltasks [-h | -V]
DESCRIPTION
Displays or updates a user’s local task list in $HOME/.lsftask.
When no options are specified, displays tasks listed in the system task file
lsf.task
and the user’s task file
.lsftask.
If there is a conflict between the system task file
lsf.task and the user’s task file
.lsftask, the user’s task file overrides the system task file.
Tasks in the local task list are not eligible for remote execution, either because they are
trivial tasks or because they need resources on the local host.
OPTIONS
+ task_name
If + is specified and the specified task names are not already in the file
.lsftask in the
user’s home directory, adds the task names to the file with a plus sign (+) preceding
them.
If any of the task names are already in the
.lsftask file, the actual action depends on
the entry in the file. If the entry starts with a
+ or nothing, replaces the entry with the
specified content; if the entry starts with a minus sign (-), deletes the entry from the
.lsftask file.
- task_name
If – is specified and specified task names are not already in the file
.lsftask in the
user’s home directory, adds the task names to the file with a – preceding the task name.
If any of the task names are already in the
.lsftask file, the actual action depends on
the entry in the file. If the entry starts with a –, no operation is done; if the entry starts
with a +, deletes the entry from the
.lsftask file.
-h
Prints command usage to stderr and exits.
-V
Prints LSF release version to stderr and exits.
EXAMPLES
% lsltasks + foo
Adds the command foo to the local task list.