Description Usage Arguments Examples
sar_exec_sadf
sar_stat
1 2 3 4 5 6 7 | sar_exec_sadf(statistic = c("cpu", "ram", "network", "io", "load"),
format = c("df", "csv", "json", "xml"), server = NULL, day = NULL,
log_path = NULL)
sar_stat(statistic = c("cpu", "ram", "network", "io", "load"),
as = c("df", "json", "xml"), server = NULL, day = NULL,
log_path = NULL, to_wide = FALSE)
|
statistic |
Statistics to retreive. |
format |
Only first item will be used. The format of data to produce. |
server |
optional server to get statistics from - if set, function will try to ssh into server and retrieve statitics otherwise it will retrieve statistics from local machine |
day |
optional; either a positive number indicating the calender day or a negative number indicating the number of days before today |
log_path |
optional; a path to look for dat files |
as |
format to return |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
sar_exec_sadf()
sar_exec_sadf(server = "localhost")
sar_exec_sadf(format = "json")
## End(Not run)
## Not run:
sar_stat()
sar_stat(as = "json")
sar_stat(server = "localhost")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.