windows 测试服务管理工具

链接: https://pan.baidu.com/s/1jDl4KzS_VDAU4LtedU7IIg 提取码: bw3j
需依赖 Microsoft .NET Framework 4.5

运行
img_63455c7c1dbee2e0c2ebdcf3cb6f2c67.gif
新建配置
img_eb4d3d4cb39292bd937af1fd777da153.png
修改配置
img_2e5998414afe1af1716965c76b2190ac.png
修改程序配置
img_c0035a983c32157f7751e0b9c66efa81.png
简单使用
img_ccc19b406f3f5357aa50318604a590c2.gif
img_93c9f6d95d9298c1737588f8e6c9f802.gif
配置文件参考说明

conf.json

{
    "cmd": "cmd.exe",#默认 或指定cmd.exe 路径
    "hide": false,#是否在第一次运行时隐藏窗口
    "refreshTime": 3000,#每次刷新的时间间隔 (毫秒)
    "appList": [{
        "name": "Apache24",#服务名称
        "rootPath": "Apache24",#菜单中点击打开的文件夹路径
        "start": "cd  Apache24/bin/ &wscript start.vbs",#启动命令
        "stop": "cd  Apache24/bin/ &pv -f -k httpd.exe -q",#停止命令
        "pidFile": "./Apache24/logs/httpd.pid",#用于监听的pid文件路径 
    }, {
        "name": "Lighttpd",
        "rootPath": "lighttpd-1.4.49-1-win32-ssl-upx",
        "start": "cd lighttpd-1.4.49-1-win32-ssl-upx/lighttpd/ &wscript start.vbs",
        "stop": "cd  lighttpd-1.4.49-1-win32-ssl-upx/lighttpd/ &pv -f -k lighttpd.exe -q",
        "pidFile": "./lighttpd-1.4.49-1-win32-ssl-upx/lighttpd/logs/lighttpd.pid", 
    }, {
        "name": "MySQL",
        "rootPath": "mongodb",
        "start": "net start mysql",
        "stop": "net stop mysql",
        "pidFile": "./mongodb/logs/mongo.pid", 
    }, {
        "name": "Mongodb",
        "rootPath": "mongodb",
        "start": "cd mongodb/bin/ &wscript start.vbs",
        "stop": "cd mongodb/bin/ &taskkill /f /im mongod.exe",
        "pidFile": "./mongodb/logs/mongo.pid",
        "process": null
    }, {
        "name": "Redis",
        "rootPath": "Redis-x64-3.2.100",
        "start": "cd Redis-x64-3.2.100 &wscript start.vbs",
        "stop": "cd Redis-x64-3.2.100 &taskkill /f /im redis-server.exe",
        "pidFile": "./Redis-x64-3.2.100/logs/redis.pid", 
    }, {
        "name": "Aria2",
        "rootPath": "aria2",
        "start": "cd aria2 &wscript start.vbs",
        "stop": "cd aria2 &taskkill /f /im aria2c@x86.exe",
        "pidFile": "./aria2/logs/ariac.pid", 
    }, {
        "name": "Nginx",
        "rootPath": "nginx-1.13.6",
        "start": "cd nginx-1.13.6 &start nginx",
        "stop": "cd nginx-1.13.6 &nginx.exe -s quit",
        "pidFile": "./nginx-1.13.6/logs/nginx.pid", 
    }, {
        "name": "PHP-Cgi",
        "rootPath": "php7",
        "start": "cd php7 &start xxfpm_run.vbs",
        "stop": "cd php7 &taskkill /f /im xxfpm.exe",
        "pidFile": null,#<======
        "process": "xxfpm"#如果没有pid文件 可以使用 进程模糊名称进行匹配 监听
    }]
}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值