Learn R Programming

pingers (version 0.1.1)

capture_logs: 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

Examples

Run this code
# NOT RUN {
capture_logs(destinations = 3, pings = 10, log_path = log, sleep = 20)
# }

Run the code above in your browser using DataLab