system_uptime: Function to get system uptime.

View source: R/system_uptime.R

system_uptimeR Documentation

Function to get system uptime.

Description

Function to get system uptime.

Usage

system_uptime(round = TRUE, as.vector = FALSE)

Arguments

round

Should the dates and times be rounded to the nearest second?

as.vector

Should the return be a single numeric value indicating seconds since boot time? This is the most efficient way to get this value and is suitable for multiple/continuous calling in a logging application.

Value

Tibble or numeric vector.

Author(s)

Stuart K. Grange


skgrange/systemr documentation built on April 18, 2024, 2:23 a.m.