windows|windows 测试服务管理工具
链接: https://pan.baidu.com/s/1jDl4KzS_VDAU4LtedU7IIg 提取码: bw3j运行
【需依赖 Microsoft .NET Framework 4.5】
文章图片
新建配置
文章图片
修改配置
文章图片
修改程序配置
文章图片
简单使用
文章图片
文章图片
配置文件参考说明 【windows|windows 测试服务管理工具】conf.json
{
"cmd": "cmd.exe",#默认 或指定cmd.exe 路径
"hide": false,#是否在第一次运行时隐藏窗口
"refreshTime": 3000,#每次刷新的时间间隔 (毫秒)
"appList": [{
"name": "Apache24",#服务名称
"rootPath": "Apache24",#菜单中点击打开的文件夹路径
"start": "cdApache24/bin/ &wscript start.vbs",#启动命令
"stop": "cdApache24/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": "cdlighttpd-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文件 可以使用 进程模糊名称进行匹配 监听
}]
}
推荐阅读
- 社保代缴公司服务费包含哪些
- 私有化轻量级持续集成部署方案--03-部署web服务(下)
- 探索免费开源服务器tomcat的魅力
- 女生该不该用小号测试男朋友()
- BNC公链|BNC公链 | Eth2.0测试网Topaz已质押超100万枚ETH
- [源码解析]|[源码解析] NVIDIA HugeCTR,GPU版本参数服务器---(3)
- 我的软件测试开发工程师书单
- Dubbo引用服务
- 性能测试中QPS和TPS的区别
- 第六章|第六章 Sleuth--链路追踪