3 lines
148 B
Bash
3 lines
148 B
Bash
#!/bin/bash
|
|
docker exec -ti proxysql_proxysql_1 mysql -NB -e "select count(*) FROM main.runtime_mysql_servers where hostgroup_id = 10" | tr -d '\r'
|