Golang static binary I use on my servers when I login
MIT License
| | | | | |
| | | | ___| | ___ ___ _ __ ___ ___
| |/\| |/ _ \ |/ __/ _ \| '_ ` _ \ / _ \
\ /\ / __/ | (_| (_) | | | | | | __/
\/ \/ \___|_|\___\___/|_| |_| |_|\___|
This is a Golang static binary I use on my servers when I login.
It checks and displays several things
--compose
as it takes one second)--network
flag as it takes 100-300 milliseconds)--network
flag as it takes 100-300 milliseconds)wget -qO ~/welcome https://github.com/qdm12/welcome/releases/download/v0.1.0/welcome_0.1.0_linux_amd64
chmod +x ~/welcome
# And then, depending on your shell
echo "~/welcome" >> ~/.zshrc
Usage of welcome:
-compose
show docker-compose version (slow)
-network
verify network connectivity
-requiredContainers string
comma separated list of required running container names to check for (default "dns,ddns")
-websitesToCheck string
comma separated list of websites to check, only enabled if --network is specified (default "https://qqq.ninja,https://1.1.1.1")
df --help
zpool import poolname -l
systemctl start docker
zpool events
zpool status POOLNAME