Linux find disk usage

linux find disk usage

Even with terabyte drives becoming the norm, it’s amazing just how fast all of that space can fill up. What if you could see your entire disk space usage.

So, if you just issue top and leave the screen up, the most current information is always up. The top command is probably the most useful one for an Oracle DBA managing a database on Linux. It refreshes the screen to display new information. Note that unlike other commands, top does not produce an output and sits still. To stop and exit to shell, you can press Control-C.

The Linux “du” (Disk Usage) is a standard. This article explains 10 useful “du” commands with their examples, that might helps you to find out the sizes.

On Linux
$uname -a
64 Bits
Linux gaylord. EL #1 SMP Fri Apr 8 14:20:58 EDT 2005 ia64 ia64 ia64 GNU/Linux

32 Bits
Linux tango. 771_FC2smp #1 SMP Mon Mar 28 01:10:51 EST 2005 i686 i686 i386 GNU/Linux. 27_FC3 #1 Tue May 17 20:24:57 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

64 Bits
Linux caddo.

linux find disk usage

By default so far we have seen the disk space usage of directories rather than specific files. While this does allow us to check the directories to see what is using the space, we can optionally make use of the -a option which will show all files as well.

This article explains 10 useful "du" commands that helps you to find out disk usage of files and directories in Linux.

Finally, you will want to examine the performance data over the past few days to decide on some settings or to make adjustments. Furthermore, consider this situation: how many times has someone reported a performance problem, but when you dive in to investigate, everything is back to normal. Performance issues that have occurred in the past are difficult to diagnose without any specific data as of that time.

linux find disk usage

Du (Disk Usage) Command in Linux. Pe scurt, “du” (Disk Usage) este comanda Linux / Unix prin care putem verifica volumul. Du Command, Hard Disk Information, hard-disk. / stealth / Linux, Note, Noteworthy. Linux, Linux Commands, Linux Disk Tool, Linux Disk Usage, Unix Commands.

You can give a device or mount point as an argument, and df report data only for the filesystem physically residing on that device. For example, the following command provides information only for the partition /dev/sda:
$ df /dev/sda $ df -h /dev/sdc1 $ df /data/
Sample outputs:.

Use find to walk though all the directories you want to. I would like to see the total disk usage for myself on a. Total disk usage for a particular user.

This brief tutorial describes how to find the largest files, directories and sub directories disk usage in the Linux file system using du and find command.

Du command has many useful options to analyze the disk usage. Find largest directories on linux.

linux find disk usage

Leave a Reply

Your email address will not be published. Required fields are marked *