How to check Inode usage from cPanel and Command line?

Inode is a data structure that stores the information about all files created on your hosting account. The number of inodes indicates the number of files, folders, email or anything you store on your web hosting account. Each file on your web hosting account is identified by an inode number in the file system. Inodes store important data about files such as user, group ownership, access mode, and file type.

Check directly from cPanel.

 

  1. Login directly from cPanel account.

  2. Inside Statistics >> File usage. You can get the Inode Value from File Usage Option.

Check from SSH Login.

 

  1. Login to the server using ssh command.

  2. Ensure that you are at the home directory with the following command.

cd ~
  1. Following is the command to check the total Inodes on your server.
find . | wc -l
  1. Hit the following command if you are looking to view the inode values directory wise.
find . -printf "%h\n" | cut -d/ -f-2 | sort | uniq -c | sort -rn

Related Articles

How To Remotely Copy Files Over SSH Without Entering Your Password?

We can easily copy the files from one Linux machine to another using SSH. Here is an example of...

How to setup VSFTPD on CentOS 7.x?

VSFTPD is an FTP server for Unix/Linux systems. It is a default FTP server on CentOS, RHEL Linux...

How to Setup NTP Server in CentOS?

NTP enables the automatically sync your system time with a remote server. With the help of NTP...

How to check Various cPanel logs like WHM, Apache, MySQL, Email, Error etc?

You can use cPanel to access your Linux hosting account with GUI. It is relatively easier to work...

How to find all files/folders with 777 permission in Linux?

First of all, let us understand the meaning of 777 file permission in Linux. Suppose, any of the...

  • 0 Users Found This Useful

Was this answer helpful?