Learn R Programming

mirai (version 2.5.1)

status: Status Information

Description

Retrieve status information for the specified compute profile, comprising current connections and daemons status.

Usage

status(.compute = NULL)

Value

A named list comprising:

  • connections - integer number of active daemon connections.

  • daemons - character URL at which host / dispatcher is listening, or else 0L if daemons have not yet been set.

  • mirai (present only if using dispatcher) - a named integer vector comprising: awaiting - number of tasks queued for execution at dispatcher, executing - number of tasks sent to a daemon for execution, and completed - number of tasks for which the result has been received (either completed or cancelled).

Arguments

.compute

character value for the compute profile to query, or NULL to query the 'default' profile.

or a 'miraiCluster' to obtain its status.

See Also

info() for more succinct information statistics.

Examples

Run this code
if (FALSE) { # interactive()
status()
daemons(url = "tcp://[::1]:0")
status()
daemons(0)
}

Run the code above in your browser using DataLab