How do I check disk utilization?
df command – Shows the amount of disk space used and available on Linux file systems. du command – Display the amount of disk space used by the specified files and for each subdirectory. btrfs fi df /device/ – Show disk space usage information for a btrfs based mount point/file system.
How do I find my user disk quota?
Display the quotas and disk use for all users on one or more file systems by using the repquota command.
- Become superuser.
- Display all quotas for one or all file systems, even if there is no usage. # repquota [ -v ] -a filesystem. -v. Reports on quotas for all users-even those who do not consume resources. -a.
How to find out how much disk space a directory consumed from?
To do that, run the du command as follows: $ sudo du -sh / etc As you can see, the /etc directory consumed only 13 MB of disk space. With the du command, you can find out how much disk space each sub directories inside a directory consumed as well.
How to find the disk usage per user?
The find would be something like which returns username (or id number of no username) and space used in bytes, in a null-byte delimited file: You can replace the \\0 with something that might be a little bit easier to work with, like tabs or newlines, but that would be less safe if you have funky file names.
How can I find out what kind of disk I have?
Below are a few of the more common commands used to determine disk information: LIST DISK – Displays a list of disks and information about them, such as their size, amount of available free space, whether the disk is a basic or dynamic disk, and whether the disk uses the master boot record (MBR) or GUID partition table (GPT) partition style.
What does list disk do in Windows 10?
LIST DISK – Displays a list of disks and information about them, such as their size, amount of available free space, whether the disk is a basic or dynamic disk, and whether the disk uses the master boot record (MBR) or GUID partition table (GPT) partition style. The disk marked with an asterisk (*) has focus.