www/content/blog/commands/find-inodes-used.md

13 lines
284 B
Markdown
Raw Normal View History

2020-04-28 17:29:52 +02:00
---
title: "Find where inodes are used"
date: 2018-04-25
description: How to locate what is taking all the inodes in the subdirectory of a given device
tags:
2021-03-12 18:12:41 +01:00
- toolbox
- unix
2020-04-28 17:29:52 +02:00
---
{{< highlight sh >}}
find . -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n
{{< /highlight >}}