Have a Question?


Counting inodes per file, per directory

You are here:
< All topics
Table of contents

Occasionally, you may not be aware of the amount of free space on the server during server operation. How much and what kind of data the libraries store.

For example, if you are curious about the number of files and folders (inodes) recursively in each folder under the public_html folder, enter the following command:

find -xdev -printf '%h\n' | sort | uniq -c | sort -k 1 -n

Depending on the number of folders or files, the run of the issued command will display the data in a shorter time, please be patient.

Was this article helpful?
0 out Of 5 Stars
5 Értékelés 0%
4 Értékelés 0%
3 Értékelés 0%
2 Értékelés 0%
1 Értékelés 0%
How can we correct this article?
Please submit the reason for your vote so that we can improve the article.