<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a1026302</author_name>
  <author_url>https://blog.hatena.ne.jp/a1026302/</author_url>
  <blog_title>ものづくりのブログ</blog_title>
  <blog_url>https://a1026302.hatenablog.com/</blog_url>
  <categories>
    <anon>シェル</anon>
  </categories>
  <description>Linux でディスクの空き容量が不足してきたとき、ディレクトリのサイズを大きい順に表示して原因を特定する方法をここに残しておきます。 コマンド オプションの説明 duコマンドの主なオプション 含める/含めない 表示関係 sortコマンドの主なオプション 並べ替え その他 コマンド 以下のコマンドを実行すると容量が大きいディレクトリがわかります。 $ sudo du -m / --max-depth=3 --exclude=&quot;/proc*&quot; | sort -k1 -n -r オプションの説明 duコマンドの主なオプション 「du」は、ディスクの使用量をディレクトリごとに集計して表示するコマンド…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2021%2F01%2F07%2F120512&quot; title=&quot;【Linux】ディスクの空き容量が不足してきたときのディレクトリのサイズを大きい順に表示する方法 - ものづくりのブログ&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/157314735/1599576939808917</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-01-07 12:05:12</published>
  <title>【Linux】ディスクの空き容量が不足してきたときのディレクトリのサイズを大きい順に表示する方法</title>
  <type>rich</type>
  <url>https://a1026302.hatenablog.com/entry/2021/01/07/120512</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
