2015-01-01から1年間の記事一覧
Timestamp(Get(日付);Get(時刻)) - 14*24*60*60
find . -size 0 -and -mmin +10080 | xargs rm -f
win8.1になったので設定 ドライバ5.27でエラー よくよく調べるとsecure_authのせいらしい mysqlコマンドラインで SET SESSION old_passwords=0; GRANT ALL PRIVILEGES ON *.* TO アカウント IDENTIFIED BY 'パスワード' WITH GRANT OPTION; filemaker32ビッ…
フォント http://qiita.com/yuann/items/7e2e62f53064c122dbb0 @font-family-p: "メイリオ"; @font-family-m: "ricty diminished discord"; .tree-view { font-family: @font-family-p; } // style the background and foreground colors on the atom-text-e…
setcompatiblemode 0x0F; searchdown "(GET|POST) /****/****/*********.cgi" , regular, nocasesense, hilight; if( ! result ) beep; copyline; nexthidemaru; paste; prevhidemaru; httpdログをサバ内でviで開くのは危険すぎるのでローカルにDLしてから g…
ロードアベレージ uptime | sed -e 's/.*average: //g' -e 's/,//g' | awk '{print $2}' 0.62 プロセス数 ps aux | wc -l 168 mailq mailq | grep Requests. | awk '{print $5}' 24 スワップメモリkB vmstat | awk 'NR==3' | awk '{print $3}' 892 ssh接続と…
SYN_RECVの表示 netstat | grep SYN_RECV 30秒間隔でモニタリング watch -n 30 "netstat | grep SYN_RECV" 60秒間隔でport80モニタリング watch -n 60 "netstat -n -t | grep SYN_RECV | grep :80" この行数をカウントする netstat | grep SYN_RECV | wc -l …
winな環境で エクスプローラではハングるので無理 rmdirにはワイルドカードが使えない for /d %1 in (2008????_*) do rmdir /s /q %1