{"image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20120112%2F1326338007\" title=\"\u30a2\u30af\u30c6\u30a3\u30d6\u30bb\u30c3\u30b7\u30e7\u30f3\u6570\u3068 statspack \u30ec\u30dd\u30fc\u30c8\u306e\u96c6\u8a08\u51e6\u7406\u306b\u4f7f\u3063\u305f Perl \u30ef\u30f3\u30e9\u30a4\u30ca\u30fc - ablog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://yohei-a.hatenablog.jp/","blog_title":"ablog","categories":["Perl","Oracle"],"provider_url":"https://hatena.blog","author_name":"yohei-a","description":"\u3053\u3093\u306b\u3061\u306f\u3001\u30b3\u30fc\u30c9\u30b4\u30eb\u30d5\u754c\u306e\u98db\u3070\u3057\u5c4b\u3067\u3059w*1 \u81ea\u5206\u7528\u306e\u30e1\u30e2\u3067\u3059\u3002\u30a2\u30af\u30c6\u30a3\u30d6\u30bb\u30c3\u30b7\u30e7\u30f3\u6570\u306e\u96c6\u8a08\u306b\u4f7f\u3063\u305f\u3082\u306e\u3002\u30ec\u30b3\u30fc\u30c9\u30bb\u30d1\u30ec\u30fc\u30bf\u3092\u6bb5\u843d\u306b\u3001\u30d5\u30a3\u30fc\u30eb\u30c9\u30bb\u30d1\u30ec\u30fc\u30bf\u3092\u6539\u884c\u306b\u3057\u3066\u3044\u307e\u3059\u3002 perl -00 -F'\\n' -lane '$sum=0;map{@line=split(q/,/,$_);$sum+=$line[2]}@F;printf(qq!%s/%s %s:%s:%s\\t%d\\n!,unpack(q/a2a2a2a2a2/,$line[0]),$sum)' session_active.log > active_session_cnt.tsv \u3055\u3089\u306b\u5206\u5358\u4f4d\u306e\u5e73\u5747\u3092\u7b97\u51fa\u3057\u3066\u3044\u307e\u3059\u3002 perl \u2026","title":"\u30a2\u30af\u30c6\u30a3\u30d6\u30bb\u30c3\u30b7\u30e7\u30f3\u6570\u3068 statspack \u30ec\u30dd\u30fc\u30c8\u306e\u96c6\u8a08\u51e6\u7406\u306b\u4f7f\u3063\u305f Perl \u30ef\u30f3\u30e9\u30a4\u30ca\u30fc","author_url":"https://blog.hatena.ne.jp/yohei-a/","provider_name":"Hatena Blog","version":"1.0","published":"2012-01-12 12:13:27","width":"100%","url":"https://yohei-a.hatenablog.jp/entry/20120112/1326338007","type":"rich","height":"190"}