Smartping Docs
  • 介绍
  • 下载安装
    • 配置说明
    • 脚本参数
  • API文档
    • config
    • ping
    • topology
    • alert
    • mapping
    • tools
  • 设计思路
    • 数据去中心化
    • 存储数据结构
    • 集中配置管理(云模式)
  • 更新记录
由 GitBook 提供支持
在本页
  • Linux
  • Windows
  1. 下载安装

脚本参数

smartping采用脚本调用方式运行,Linux使用 ./control , Windows使用 control.cmd

Linux

./control

build|run|start|stop|restart|status

build   : 源码编译,最终构建成至 bin
run     : 直接启动smartping
start   : 以nohup(deamon)形式启动smartping
stop    : 关闭smartping
restart : 执行 stop & start
status  : 查看smartping的运行状态
version : 查看当前smartping版本
pack    : 执行Build并进行二进制包制作

Windows

control.cmd

build|run|install|start|stop|restart|version

build   : 源码编译,最终构建成至 bin
run     : 直接启动smartping
install : 使用nssm将smartping安装为服务
start   : 启动smartping服务
stop    : 关闭smartping服务
restart : 执行 stop & start
version : 显示当前smartping版本
上一页配置说明下一页API文档

最后更新于5年前