cdk deploy --all すると cdk.context.json が更新されるので、追加してpushする。
"Retry": [
{
"ErrorEquals": [
//"States.TimeOut",
"ECS.ServerException",
"ECS.AmazonECSException",
"ECS.SdkClientException"
ログをパースしてステータスコードが2XXなログをカウントする。
parse '* - * [*] "* * *" * * * *' as host, identity, dateTimeString, httpVerb, url, protocol, statusCode, bytes, Referer, UserAgent
| sort dateTimeString desc
| filter statusCode like /(2\d\d)/
標準搭載のmysqlslapを使って負荷テスト。
mysqlslap -u <username> -p -h <hostname> \
--engine=innodb \
--concurrency=300 \
--iterations=30 \
--auto-generate-sql \
$ curl example.com -x http://<auth-username>:<auth-password>@<proxy-host>:<proxy-port>
export http_proxy=http://username:[email protected]:3214
export https_proxy=http://username:[email protected]:3214
公開鍵の情報(長さ、種別、指紋、コメント)を確認する。
$ ssh-keygen -l -f .ssh/authorized_keys
2048 SHA256:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA comment1 (RSA)
2048 SHA256:BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB comment2 (RSA)
2048 SHA256:CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC comment3 (RSA)
2048 SHA256:DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD comment4 (RSA)
ファイルサイズを大きい順に並べて表示。
$ ls -lS
合計 220M
-rw-r--r-- 1 apache apache 30M 6月 24 14:07 200624140734_9275f57fc0c3b8a2f87e46ced2fb6d82.xlsx
-rw-r--r-- 1 apache apache 30M 6月 25 10:10 200625101055_9275f57fc0c3b8a2f87e46ced2fb6d82.xlsx
-rw-r--r-- 1 apache apache 30M 6月 24 15:35 200624153519_9275f57fc0c3b8a2f87e46ced2fb6d82.xlsx
-rw-r--r-- 1 apache apache 11M 6月 29 17:24 200629172439_main20200629123923.txt
console.log(typeof null);
object
NewerOlder