Learn R Programming

taskqueue (version 0.2.0)

resource_list: List All Computing Resources

Description

Retrieves all computing resources registered in the database.

Usage

resource_list()

Arguments

Value

A data frame containing information about all resources, with columns:

id

Unique resource identifier

name

Resource name

type

Resource type (e.g., "slurm", "computer")

host

Hostname or IP address

username

Username for SSH connection

nodename

Node name as reported by Sys.info()

workers

Maximum number of concurrent workers

log_folder

Absolute path to log file directory

See Also

resource_add, resource_get

Examples

Run this code
if (FALSE) {
# Not run:
# List all resources
resources <- resource_list()
print(resources)

# Find SLURM resources
slurm_resources <- resources[resources$type == "slurm", ]
}

Run the code above in your browser using DataLab