文件名称:network-monitor
文件大小:4KB
文件格式:ZIP
更新时间:2024-04-09 21:03:48
Ruby
网络监控器 小型ruby脚本可运行ping 60秒并评估丢失百分比并记录结果。 If the loss percentage is 0 Log basic stats Sleep for 4 mins If the loss percentage is less than 10 percent Log basic stats Immediately repeat ping monitoring If the loss percentage greater than 10 percent Log all the output from ping Immediately repeat ping monitoring 用法 Rubynetwork_monitor.rb 作为一个独立的过程: ruby network_monitor.rb> / dev / null& 输
【文件预览】:
network-monitor-main
----ping_stats.rb(886B)
----Gemfile(154B)
----optimum_trello.rb(2KB)
----README.md(1KB)
----network_monitor.rb(2KB)