Description Usage Arguments Value Note Examples
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.
1 2 | capture_logs(destinations = 9, pings = 50, log_path = NULL,
sleep = NULL)
|
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 |
csv file with captured network log information
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 '
1 2 3 4 | ## Not run:
capture_logs(destinations = 3, pings = 10, log_path = log, sleep = 20)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.