Test IP addresses online/offline status for example from /etc/hosts.
[OPTIONS] ip-list-status-check
IP_SOURCE='/etc/hosts' ip-list-status-check
LOCAL_IP_PREFIX='^10\.10\.10\.' ip-list-status-check
ip-list-status-check --help|help
---------------------------------
- PROGRAM: ip-list-status-check -
---------------------------------
- -
- IP Address Status -
- ............................. -
- 10.10.10.1 Online -
- 10.10.10.2 Online -
- 10.10.10.3 Online -
- 10.10.10.4 Online -
- 10.10.10.5 Offline -
- 10.10.10.6 Online -
- 10.10.10.10 Offline -
- 10.10.10.11 Online -
- 10.10.10.12 Online -
- 10.10.10.20 Online -
- 10.10.10.21 Online -
- 10.10.10.22 Online -
.................................
- SCRIPT END -
---------------------------------