{"width":"100%","author_name":"kjw_junichi","categories":["\u30d1\u30bd\u30b3\u30f3\u30fb\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8","node.js"],"title":"Node.js\u3067\u30d1\u30a4\u30d7\u3092\u4f7f\u3046\u5916\u90e8\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f","provider_url":"https://hatena.blog","blog_url":"https://abrakatabura.hatenablog.com/","type":"rich","published":"2014-03-19 07:48:00","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fabrakatabura.hatenablog.com%2Fentry%2F2014%2F03%2F19%2F074800\" title=\"Node.js\u3067\u30d1\u30a4\u30d7\u3092\u4f7f\u3046\u5916\u90e8\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f - non vorrei lavorare\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://abrakatabura.hatenablog.com/entry/2014/03/19/074800","version":"1.0","blog_title":"non vorrei lavorare","height":"190","image_url":null,"description":"\u304a\u306f\u3088\u3046\u3054\u3056\u3044\u307e\u3059\u3002\u518d\u3073\u3001\u4eca\u9031\u306f\u5965\u3055\u3093\u304c\u5165\u9662\u306e\u305f\u3081\u3001\u606f\u5b50\u9054\u3068\u5b9f\u5bb6\u3067\u904e\u3054\u3057\u3066\u3044\u308b@kjunichi\u3067\u3059\u3002 child_process.exec\u3067\u306f\u306a\u304f\u3001child_process.spawn\u3092\u4f7f\u3046 \u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u30d1\u30a4\u30d7\u3092\u4f7f\u3046\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u304c\u51fa\u6765\u305f\u3002exec\u3067\u306f\u3001\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u3002 var spawn = require('child_process').spawn; var cmd = \"top -l1|grep usage|cut -d' ' -f3|tr -d '%'|tr -d '\\n'\"; //console.log(\"cmd = \"+cmd); function shspawn\u2026","author_url":"https://blog.hatena.ne.jp/kjw_junichi/","provider_name":"Hatena Blog"}