capture_logs {pingers} | R Documentation |
Capture ISP network logs
Description
Repeat capturing network logs with parameters you specify from
ping_capture
and get_destinations
. This will output a
csv file with your ping results displaying packet loss and average
ping across the defined periods.
Usage
capture_logs(destinations = 9, pings = 50, log_path = NULL,
sleep = NULL)
Arguments
destinations |
Retrieve the first n addresses in your ISP destinations |
pings |
Number of times to ping server |
log_path |
Optional: The path and filename to save the result set |
sleep |
Optional: Seconds to sleep for throughout iterations |
Value
csv file with captured network log information
Note
If the log_path parameter is not provided, it will default to saving a csv file in the current working directory called network_logs.csv prefixed with the current timestamp in the format '
Examples
## Not run:
capture_logs(destinations = 3, pings = 10, log_path = log, sleep = 20)
## End(Not run)
[Package pingers version 0.1.1 Index]