{"author_url":"https://blog.hatena.ne.jp/iww/","author_name":"iww","blog_url":"https://iww.hateblo.jp/","type":"rich","width":"100%","height":"190","description":"dmesg \u306e\u6642\u9593\u8868\u8a18\u3092\u65e5\u6642\u306b\u5909\u63db\u3059\u308b\u3084\u3064 #!/usr/bin/perl my $btime = `grep btime /proc/stat|cut -b7-`; open(my $fh, \"dmesg |\") or die(\"open\"); while(<$fh>){ if( $_ =~ m/^\\[\\s*(\\d+)\\.\\d*\\] (.*)$/ ){ my $time = $1; my $text = $2; my ($S,$M,$H,$d,$m,$Y,$x) = localtime($time+$btime); my $date = sprintf( \"%04d-%02d-%02d %0\u2026","blog_title":"\u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/42132/1577169589465165","provider_url":"https://hatena.blog","categories":["Linux","perl"],"url":"https://iww.hateblo.jp/entry/20210202/uptime","title":" dmesg\u306euptime\u90e8\u5206\u3092\u65e5\u4ed8\u306b\u3059\u308b 2","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20210202%2Fuptime\" title=\" dmesg\u306euptime\u90e8\u5206\u3092\u65e5\u4ed8\u306b\u3059\u308b 2 - \u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2021-02-03 08:30:00","provider_name":"Hatena Blog"}