getStatus: Get the status of an EC2 instance.

View source: R/instances.R

getStatusR Documentation

Get the status of an EC2 instance.

Description

This function requires the top and mpstat programs on the instance.

Usage

getStatus(instance, session = NULL)

Arguments

instance

An instance objected created with launchInstance or getInstanceDescription.

session

Optionally provide an existing ssh session to the instance created with ssh::ssh_connect.

Value

A list containing two named elemements: jobs a data.frame giving the status of all jobs launched on the instance and system a list containing system summary information.


whitwort/AWSTools documentation built on July 9, 2023, 2:56 a.m.