The methods of determining disk usage differ between operating systems. Refer to the section below that matches the operating system.
Note: Once it is determined that there is insufficient disk space, the hard disk either needs to be freed up or increased. If the operating system has been installed on a virtual machine, increase the size of its virtual disk. For more information, see
Increasing the disk size on a virtual machine.
Windows
Note: The exact procedure differs between versions of Windows. If one procedure does not work try the other. If neither method works, consult the manual for the version of Windows.
To determine disk usage from the user interface:
- Double-click the My Computer icon.
- Right-click the entry for the local disk.
- Click Properties. Disk usage is displayed graphically.
To determine disk usage from a command line:
- Open a command prompt. For more information, see Opening a command or shell prompt.
-
Type dir c:\ and press Enter. Free disk space is displayed on the last line of output.
Note: If the local disk being investigated is not c: , replace c: with its drive letter.
Linux
Note: The exact procedure may differ between distributions of Linux. If the following commands do not work, consult the manual for the distribution of Linux.
To determine disk usage from the user interface:
- Open a terminal window (Ctrl + Alt + T).
- Type
gnome-disks
(for GNOME desktop) and press Enter.
- Select the disk from the list, and disk usage will be displayed graphically.
To determine disk usage from a command line:
- Open a terminal window.
- Type
df -h
and press Enter.
This will display disk usage for all mounted file systems in a human-readable format (e.g., in GB/MB).
Mac OS
To determine disk usage from the user interface:
- Press Shift + Command + U.
- Double-click Disk Utility.
- Click the Disk (Macintosh HD) on the left hand side. Disk usage is displayed graphically.