class FastestServer::LinuxPing
Constants
- REGEX_FILTER
- REGEX_LOSS
- REGEX_PING
- REGEX_STAT
Public Instance Methods
execute_ping_command()
click to toggle source
# File lib/fastest_server/ping.rb, line 100 def execute_ping_command result = `ping -c #{Ping.get_count} -q #@server` status = $? [result, $?] end