{"author_url":"https://blog.hatena.ne.jp/yyuuii/","title":"perl \u3092\u4f7f\u3063\u3066\u307f\u305f","blog_title":"\u3075\u308a\u3060\u3057\u306b\u623b\u308b","description":"\u306a\u3093\u3068\u306a\u304f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3068\u66f8\u304f\u3068\u304d\u3001 \u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8(sh)\u304b\u3001php \u3070\u304b\u308a\u4f7f\u3063\u3066\u3044\u305f\u306e\u3067 \u305f\u307e\u306b\u306f perl \u3067\u3002 \u3068\u3044\u3046\u3053\u3068\u3067\u3001\u30c7\u30a3\u30b9\u30af\u5bb9\u91cf\u3092\u30c6\u30ad\u30b9\u30c8\u306b\u66f8\u304d\u51fa\u3059\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u66f8\u3044\u3066\u307f\u305f\u3002 #!/usr/bin/perl open (OUT, '> df.txt') or die \"$!\"; $df = `df -h`;@disk = split(/\\s+/, $df); $size = @disk[38]; $used = @disk[39]; $avail = @disk[40]; $capa = @disk[41];print OUT \"\u30c7\u30a3\u30b9\u30af\u5168\u90e8\u3067 \".$size. \" \\n\"; \u2026","published":"2008-10-14 00:09:20","width":"100%","image_url":null,"url":"https://yyuuii.hatenadiary.org/entry/20081014/1223996960","blog_url":"https://yyuuii.hatenadiary.org/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich","author_name":"yyuuii","height":"190","categories":["perl"],"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyyuuii.hatenadiary.org%2Fentry%2F20081014%2F1223996960\" title=\"perl \u3092\u4f7f\u3063\u3066\u307f\u305f - \u3075\u308a\u3060\u3057\u306b\u623b\u308b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}