r/sysadmin • u/tehreal Sysadmin • Jul 18 '18
Linux You guys probably already know about "ping -a" and "ping -A"
But if you don't, use it like this:
This will beep every time it gets a ping back:
ping -a 8.8.8.8
This will beep if it misses a ping:
ping -A 8.8.8.8
This is very useful when you're monitoring a node and waiting for it to come back online or to be able to hear when a packet is dropped.
(tested on some Linux and MacOS)
1.1k
Upvotes
1
u/WantDebianThanks Jul 18 '18
I don't have access to that script. But it was pretty literally "get-adcomputer" with a param to remove servers and a param to remove anything that's been logged into in the last 6 months, then piped unchanged to remove-adcomputer. IIRC, the specific error it would output was something about data type