|lotus 7ad277da5d added output for site being down. Added color. version bump.||2 months ago|
|LICENSE.md||5 months ago|
|README.md||2 months ago|
|isdown-helper.sh||2 months ago|
|isdown.1||5 months ago|
|isdown.sh||2 months ago|
|makefile||5 months ago|
Do you need to quickly check a site to see if it's down? Do you need to check a whole list of sites? Then this will likely be a helpful tool for you. Run a one liner from the command line and you're off! You can run multipile checks in parallel, allowing more free time for all the fun things in life; like writing more shell scripts! 👍I've tried to make this tool as intuitive as possible, with sane defaults, and no weird flags. We use the web service isdown.me behind the scenes to do each check.
make install #(as root) # to uninstall make uninstall #(as root)
Note: If you choose to install this by hand, be sure the helper file is also in the PATH
In order to use this tool, you only need two things installed:
There are no requirements to use a specific shell, should be POSIX compatible, but I've only tested with ksh and bash.
# test a single site $ isdown openbsd.org Yay, openbsd.org is up. # read in sites from a text file and test one at a time $ isdown -f ./sites.txt Yay, fsf.org is up. Oh No! gentoo.org is down. Yay, openbsd.org is up. Oh No! zerohack.xyz is down. (cont......) # test 3 sites; 2 at a time $ isdown -j 2 fsf.org gentoo.org openbsd.org Yay, fsf.org is up. Yay, gentoo.org is up. Yay, openbsd.org is up. # read in sites from 2 files, and test 8 at a time $ isdown -j 8 -f ./sitesA.txt ./sitesB.txt Yay, A1.org is up. Yay, B1.org is up. Oh No! B2.org is down. Yay, A2.xyz is up. Yay, B3.org is up. Yay, B4.org is up. Yay, B5.org is up. Yay, B6.xyz is up. (cont............)
When reading from a file, isdown.sh expects them to be newline delimited.
This project is licensed under the 3-clause BSD license. (See LICENSE.md)This project is not related to isdown.me and their organization.