<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>matsumoto_r</author_name>
  <author_url>https://blog.hatena.ne.jp/matsumoto_r/</author_url>
  <blog_title>人間とウェブの未来</blog_title>
  <blog_url>https://hb.matsumoto-r.jp/</blog_url>
  <categories>
    <anon>Webサーバ</anon>
    <anon>レンタルサーバ</anon>
    <anon>運用</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>タイトルのままなのですが、pidから対象プロセスがopenしてるファイルとそのownerを解析し、CPU使用率やMemory使用率と合わせてレポートするワンバイナリなツールを作りました。 というのも、ホスティングにおいては負荷をかけているプロセスについて、リソース使用量を元にopenしているファイルパスやファイルのownerを迅速に知りたい場合が多いからです。 既にあるコマンド、lsofや/procやtopとかその辺を組み合わせるともちろんできるんですが、mruby-cliを使ってone-binaryで作ってみたかったのと、openしているファイルとCPU使用率やMemory使用量同時にサクっ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhb.matsumoto-r.jp%2Fentry%2F2015%2F10%2F23%2F133753&quot; title=&quot;mruby-cliを使ってプロセスのfdをリソース使用率を元に解析するワンバイナリなツールpfdsを作った - 人間とウェブの未来&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-10-23 13:37:53</published>
  <title>mruby-cliを使ってプロセスのfdをリソース使用率を元に解析するワンバイナリなツールpfdsを作った</title>
  <type>rich</type>
  <url>https://hb.matsumoto-r.jp/entry/2015/10/23/133753</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
