{"blog_url":"https://teramako.hatenadiary.org/","height":"190","provider_name":"Hatena Blog","type":"rich","author_url":"https://blog.hatena.ne.jp/teramako/","provider_url":"https://hatena.blog","published":"2008-10-03 00:00:00","author_name":"teramako","version":"1.0","title":"\u30d7\u30ed\u30bb\u30b9\u3092\u30c4\u30ea\u30fc\u8868\u793a","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fteramako.hatenadiary.org%2Fentry%2F20081003%2Fp2\" title=\"\u30d7\u30ed\u30bb\u30b9\u3092\u30c4\u30ea\u30fc\u8868\u793a - hogehoge @teramako\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u3061\u3087\u3053\u3061\u3087\u3053\u3068Perl\u3092\u52c9\u5f37\u4e2d\u3002 \u3093\u3067\u3001\u30d7\u30ed\u30bb\u30b9\u306e\u30ea\u30b9\u30c8\u3092\u89aa\u5b50\u95a2\u4fc2\u3067\u4e26\u3073\u66ff\u3048\u3066\u8868\u793a\u3059\u308b\u306e\u3092\u4f5c\u3063\u3066\u307f\u305f\u3002 pstree#!/usr/bin/perl -w use strict; use warnings; my @processes; open my $FH, \"/bin/ps -eo pid,ppid,user,etime,pcpu,pmem,args |\" or die \"ERROR: $!\"; my $header = <$FH>; while (<$FH>){ chomp; s/^\\s+//; my @F = split(/\\s+/, $_, 7); my $p = { PID => \u2026","blog_title":"hogehoge @teramako","categories":["Perl"],"url":"https://teramako.hatenadiary.org/entry/20081003/p2","width":"100%"}