【文件属性】:
文件名称:pyngstats:使用 Python 进行 Ping 统计
文件大小:9KB
文件格式:ZIP
更新时间:2021-07-05 17:08:03
Python
Pingstats
用于创建长期 ping 统计信息的 Python 脚本
目录
用法
Pyngstats的用法很简单,看下面的例子就知道了
# ping a host, stats will be created
$ python3 pygnstats.py --ping
要生成报告,只需使用
$ python3 pygnstats.py --report
高级示例:
# ping the host 8.8.8.8 5 times every 10 secounds
$ python3 pygnstats.py --ping --host=8.8.8.8 --count=10 --interval=5
命令行界面
范围
描述
- 报告
生成 html 报告
--ping
ping 主机
--report_dir
定义报告目录
--stat_dir
定义统计目录
-
【文件预览】:
pyngstats-master
----.gitignore(38B)
----templates()
--------daily.html(4KB)
--------overview.html(4KB)
--------index.html(495B)
--------menu.html(373B)
----pyngstats.py(16KB)
----LICENSE.txt(1KB)
----README.rst(4KB)