by shigemk2

当面は技術的なことしか書かない

10/22のAWSの障害

AWSステータスサイトのRSSから流れてきたやつ。

Service is operating normally: [RESOLVED] ネットワーク接続性の問題 | Network Connectivity Issues Between 7:42 PM PDT and 7:53 PM PDT we experienced network connectivity issues for some instances in a single Availability Zone (APNE1-AZ2) in the AP-NORTHEAST-1 Region. Between 7:42 PM and 9:09 PM PDT, we also had degraded volume performance for some EBS volumes in that Availability Zone. The issue has been resolved and the service is operating normally.

10/22の正午あたりに東京リージョンのAZ D(APNE1-AZ2)でネットワーク障害が起きてた。これによりEC2とかEBSに障害が起きてた。

memdumpの結果をfzfしてVALUEをいい感じに取得する

memdumpの結果をfzfしてVALUEをいい感じに取得する

memdump 0.0.0.0:11211 | fzf | xargs -n1 printf 'get %s\n' | nc 0.0.0.0 11211

fzfじゃなくてpecoでもいいとおもうんだけど、結果をfzfして最終的に以下したい。

printf 'get xxxxxxxxxxxxxxxxxxxxx\n' | nc 0.0.0.0 11211
echo 'get xxxxxxxxxxxxxxxxxxxxx' | nc 0.0.0.0 11211

わりとどっちでもいいとおもうけどprintfとechoの違いは明示的な改行コードの有無なのでよしなにやればいいと思う。これとmemdumpをfzfでうまくつなげたかった。memdumpの結果を都度コピってechoを書き直すのがすごくめんどくさかった。それだけ。