tasks {doRedis} | R Documentation |
List running doRedis tasks
Description
List running doRedis tasks
Usage
tasks(queue = "*", id = "*")
Arguments
queue |
List jobs for the specified queue, or set to "*" to list jobs for all queues |
id |
List tasks for the specified job id, or set to "*" to list tasks for all job ids |
Value
a data frame listing jobs by row with variables queue, id, user, coordinator, time, iter, host, pid (see Note)
Note
The returned values indicate
-
queue
the doRedis queue name -
id
the doRedis job id -
user
the user running the job -
coordinator
the host name or I.P. address where the job was submitted (and the coordinator R process runs) -
time
system time on the worker node when the task was started -
iter
the loop iterations being run by the task -
host
the host name or I.P. address where the task is running -
pid
the process ID of the R worker running the task onhost
Tasks are listed until a key associated with them expires in Redis. Thus running tasks are not explicitly removed from the task list immediately when they terminate, but may linger on the list for a short while after (a few seconds).