Valid for VPS+, VPS, migrated Cloud Servers, Cloud Servers, Dedicated Servers, and Value Servers.

This article explains how to check the free and used space of a hard disk or SSD.

Linux

To view the free space of the entire file system, enter the following command:

root@localhost:~# df -h

To view the used space of the entire file system, use the following command:

root@localhost:~# du -sh /

Use the following command to display the size of the subdirectories of the current path:

root@localhost:~# du -shx ./* | sort -h

Microsoft Windows

  • Double-click Explorer at the bottom of the taskbar.

  • On the left side, click This PC.

A screenshot of This PC highlighted within Microsoft Windows Explorer.
A screenshot of This PC highlighted within Microsoft Windows Explorer.
  • The available and used space is displayed in the Devices and Drives area.

A screenshot of the C drive highlighted within This PC.
A screenshot of the C drive highlighted within This PC.

Plesk

To check disk space usage using Plesk, you need Diskspace Usage Viewer.

Install Diskspace Usage Viewer

To install Diskspace Usage Viewer, do the following:

  • Log in to Plesk.

  • In the navigation bar on the left, click Extensions.

A screenshot of the Plesk interface with Extensions highlighted in the left-side menu.
A screenshot of the Plesk interface with Extensions highlighted in the left-side menu.
  • Enter the term Diskspace Usage Viewer in the search bar at the top right.

  • To install Diskspace Usage Viewer, click Use for free.

A screenshot of the Diskspace Usage Viewer extension within Plesk, with the Get it Free button highlighted.
A screenshot of the Diskspace Usage Viewer extension within Plesk, with the Get it Free button highlighted.

The Diskspace Usage Viewer will now be installed.

View used disk space

In the Extensions > My Extensions section, click Open in the Disk Space Usage Viewer area. You will then see the existing directories and their respective used disk space.