said Dr. Nikolaus Klepp via tde-users:
| In case you did not solve this already:
|
| $ ping -i 3 -O -D 1.1.1.1 |\
| stdbuf -i 0 -o 0 awk '{ sub(/[0-9]{10}/, strftime("%Y-%m-%d
| %H:%M:%S", substr($0,2,10))) } 1' |\ tee -a ~/frontier_downtime.log
Thanks, Nik. I have my little script chugging along -- unfortunately,
Frontier Communications has offered many proofs that it works. After a
sufficient amount of time -- a month, I think, would be fine -- I'll be
able to send a complaint to the FCC, who would have to approve the
proposed sale of Frontier to Verizon. It might interest the FCC to know
that Frontier still hasn't done the improvements that the government paid
them to do years ago. The routine seems to be: Frontier gets lots of
money. Frontier declared bankruptcy and gets the debt excused. Frontier
gets more money. Frontier sells out to Verizon. In every step, they don't
do anything it was paid to do. They don't even replace the backup
batteries, so if the power blinks for a millisecond, not even long enough
to make the clocks flash, their internet and phone services go down and
don't come back for half an hour. The log is to demonstrate how bad they
are.
| You can put this line in /etc/rc.local and it will do it's work in the
| background.
Thanks very much. I may do this.
--
dep
Pictures:
http://www.ipernity.com/doc/depscribe/album
Column:
https://ofb.biz/author/dep/