How to Calculate File Sizes on a Specific File System
(Doc ID 1986163.1)
Last updated on MAY 06, 2020
Applies to:Linux OS - Version Oracle Linux 4.4 and later
Oracle Cloud Infrastructure - Version N/A and later
Information in this document applies to any platform.
The command "du" is ordinarily used to calculate the files or directores on a file system and help to quickly determinate which occupies the most of the disk spaces.
But it does not apply for following situation:
- a file system have some mounted file systems on its sub-directories
- The files and directories under the sub-directories are hidden by some other mounted file systems (i.e /var and /usr on root "/" file system)
This document shows how to use 'du' in such configuration.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document