crew_class_monitor_local | R Documentation |
Local monitor R6
class
See crew_monitor_local()
.
dispatchers()
List the process IDs of the running mirai
dispatcher
processes.
crew_class_monitor_local$dispatchers(user = ps::ps_username())
user
Character of length 1, user ID to filter on. NULL
to list processes of all users (not recommended).
Integer vector of process IDs of the running mirai
dispatcher
processes.
daemons()
List the process IDs of the locally running mirai
daemon
processes which are not crew
workers. The crew_async()
object can launch such processes: for example, when a positive
integer is supplied to the processes
argument of e.g.
crew.aws.batch::crew_controller_aws_batch()
.
crew_class_monitor_local$daemons(user = ps::ps_username())
user
Character of length 1, user ID to filter on. NULL
to list processes of all users (not recommended).
Integer vector of process IDs of the locally running
mirai
daemon processes which are not crew
workers.
workers()
List the process IDs of locally running crew
workers
launched by the local controller (crew_controller_local()
).
crew_class_monitor_local$workers(user = ps::ps_username())
user
Character of length 1, user ID to filter on. NULL
to list processes of all users (not recommended).
Only the workers running on your local computer are listed.
Workers that are not listed include jobs on job schedulers like
SLURM or jobs on cloud services like AWS Batch. To monitor
those worker processes, please consult the monitor objects in
the relevant third-party launcher plugins such as crew.cluster
and crew.aws.batch
.
Integer vector of process IDs of locally running crew
workers
launched by the local controller (crew_controller_local()
).
terminate()
Terminate the given process IDs.
crew_class_monitor_local$terminate(pids)
pids
Integer vector of process IDs of local processes to terminate.
Termination happens with the operating system signal
given by crew_terminate_signal()
.
NULL
(invisibly).
Other monitor:
crew_monitor_local()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.