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

16 lines
280 B
Markdown
Raw Permalink 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:
- linux
2021-03-12 18:12:41 +01:00
- toolbox
- unix
2020-04-28 17:29:52 +02:00
---
## The command
```sh
2020-04-28 17:29:52 +02:00
find . -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n
```