Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am tcsantanello on github.
* I am tcsantanello (https://keybase.io/tcsantanello) on keybase.
* I have a public key ASD9U4ZS2g33CmwDLgz4SIFkCHHWygSQW1lmFTM1YpUdhQo
To claim this, I am signing this object:
@tcsantanello
tcsantanello / pingmon
Last active April 18, 2021 19:02
Multi-host Ping Monitoring
#!/bin/bash
set -o pipefail
IPS=( "$@" )
MAX=$(( $( tput lines ) - 3 )) ## Heading + 1 = 3
test ${MAX} -lt 10 && MAX=10
function print_row( ) {
printf "| "