diff options
Diffstat (limited to 'scripts/cqlmetrics')
-rwxr-xr-x | scripts/cqlmetrics | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/cqlmetrics b/scripts/cqlmetrics new file mode 100755 index 0000000..db3db6a --- /dev/null +++ b/scripts/cqlmetrics @@ -0,0 +1,11 @@ +#!/bin/bash + +service=$1 + +if [ -z "${service}" ]; then + exit 1 +fi + +zone="${2:-smf1}" + +echo $(cql -z "${zone}" k "${service}" "sd.${service}" | fzf) |