【文件属性】:
文件名称:tentarun:在多台服务器上运行并获取输出
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-22 08:43:26
Go
坦塔伦
在多台机器上运行命令。
例子
在多个主机上运行命令。
使用用户名和密码:
tentarun -u username -p password -h host1,host2,host3 "tail /var/log/nginx/access.log"
tentarun -p password -h host1,host2,host3 "tail /var/log/nginx/access.log"
使用用户名和密钥文件
tentarun -u username -k keyfile -h host1,host2,host3 "tail /var/log/nginx/access.log"
tentarun -k keyfile -h host1,host2,host3 "tail /var/log/nginx/access.log"
传递环境变量
tentarun -e "F
【文件预览】:
tentarun-master
----main.go(3KB)
----README.md(2KB)