lsltasks

displays or updates a local task list

Synopsis

lsltasks [+ task_name ... task_name ...]

lsltasks [-h -V]

Description

Displays or updates a user local task list in $HOME/.lsftask.

When no options are specified, displays tasks listed in the system task file lsf.task and the user task file .lsftask.

If there is a conflict between the system task file lsf.task and the user task file (.lsftask), the user 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 user task file (.lsftask), 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 user .lsftask file, 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.

-hPrints command usage to stderr and exits.

-VPrints LSF release version to stderr and exits.

Examples

lsltasks + foo

Adds the command foo to the local task list.

Files

Reads the system task file lsf.task, and the user .lsftask file. See lsf.task(5) for more details.

Platform LSF Command Reference 261