{"width":"100%","height":"190","provider_name":"Hatena Blog","blog_title":"\u3076\u308d\u3050","provider_url":"https://hatena.blog","version":"1.0","image_url":null,"type":"rich","author_name":"ariteku","published":"2012-06-16 00:00:01","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuan.hateblo.jp%2Fentry%2F20120616%2Fp1\" title=\"\u30d7\u30ed\u30bb\u30b9\u3092\u898b\u5f35\u308b - \u3076\u308d\u3050\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/ariteku/","description":"while true; do ps ax | grep hogehoge; sleep 1; done; \u3053\u308c\u3067\u3044\u3051\u308b\u3084\u30fc\u3093\u3002 \u8077\u5834\u3067\u3053\u3093\u306a\u306e\u66f8\u3044\u3066\u305f #!/bin/sh while [ 1 ] do date=`date '+%F %T'` ps=`ps ax | grep hogehoge | grep -v grep` echo \"$date $ps\" | tee test.log sleep 1 done \u4e00\u5fdc\u88cf\u3067\u52d5\u304b\u3057\u3066log\u62fe\u3044\u305f\u3044\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u5316\u3057\u305f\u610f\u5473\u306f\u3042\u308b\u304b\u306a\uff1f \u305d\u3057\u3066\u6700\u8fd1\u306fTeraTerm\u306e\u4fbf\u5229\u3055\u306b\u30d3\u30d3\u3063\u3066\u308b\uff01","blog_url":"https://takuan.hateblo.jp/","url":"https://takuan.hateblo.jp/entry/20120616/p1","title":"\u30d7\u30ed\u30bb\u30b9\u3092\u898b\u5f35\u308b","categories":["Linux"]}