<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nonylene</author_name>
  <author_url>https://blog.hatena.ne.jp/nonylene/</author_url>
  <blog_title>Unyablog.</blog_title>
  <blog_url>https://nonylene.hatenablog.jp/</blog_url>
  <categories>
    <anon>Android</anon>
    <anon>Linux</anon>
  </categories>
  <description>最近 Android 用の mackerel-agent を作ろうとしていて、Android の /proc/meminfo を読んだりしていたのですが、 filesystem の metrics は df -P コマンドを使っていました。*1 Android にも df コマンドは存在していたのでパースしようとしたのですが、バージョンごとの違いなどがあったのでメモ。 バージョンによる挙動 Andorid 6.0.1 (Marshmallow) まで Android 6.0 / SO-02H $ adb shell shell@SO-02H:/ $ df Filesystem Size Use…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnonylene.hatenablog.jp%2Fentry%2F2016%2F10%2F09%2F014419&quot; title=&quot;Android の df コマンドについて - Unyablog.&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>2016-10-09 01:44:19</published>
  <title>Android の df コマンドについて</title>
  <type>rich</type>
  <url>https://nonylene.hatenablog.jp/entry/2016/10/09/014419</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
