{"published":"2016-10-25 11:28:59","provider_url":"https://hatena.blog","title":"tar.gz \u3092\u89e3\u51cd\u305b\u305a\u306b\u305d\u306e\u4e2d\u306e\u7279\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u691c\u7d22\u3059\u308b","author_url":"https://blog.hatena.ne.jp/yohei-a/","blog_title":"ablog","url":"https://yohei-a.hatenablog.jp/entry/20161025/1477362539","version":"1.0","type":"rich","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohei-a.hatenablog.jp%2Fentry%2F20161025%2F1477362539\" title=\"tar.gz \u3092\u89e3\u51cd\u305b\u305a\u306b\u305d\u306e\u4e2d\u306e\u7279\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u691c\u7d22\u3059\u308b - ablog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"sar\u3001vmstat\u3001iostat\u3001top \u306a\u3069\u304c\u65e5\u5225\u306b\u4e00\u3064\u306e tar.gz \u306b\u30a2\u30fc\u30ab\u30a4\u30d6\u30fb\u5727\u7e2e\u3055\u308c\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u89e3\u51cd\u305b\u305a\u306b\u3001top \u306e\u4e2d\u8eab\u3092\u691c\u7d22\u3059\u308b\u306e\u306b\u4f7f\u3063\u305f\u30b3\u30de\u30f3\u30c9\u3002 find ./ -type f -name '*.tar.gz'|sort -n|while read LINE do tar tfz ${LINE}|egrep '^./top_'|xargs -I{} -n1 tar xfz ${LINE} -O {}|perl -snle '/top - ([\\d:]+)/ and $t=$1;/java/ and print qq/$file $t $_/' -- -file=$L\u2026","image_url":null,"author_name":"yohei-a","categories":["Linux"],"blog_url":"https://yohei-a.hatenablog.jp/","height":"190","provider_name":"Hatena Blog"}