Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Inodes Usage option in cpanel

Hi,

Today I was searching for a plugin that show inode usage in cpanel by folders but I did not find something that can be used by the clients without my intevention.

on my searches I found this page:

https://www.namecheap.com/support/knowledgebase/article.aspx/9331/29/how-to-check-the-number-of-inodes-in-your-hosting-account

You see the Inode usage icon in cpanel, Is that a plugin that I don't know about or is a custom-made in-house plugin by namecheap team ?

thanks

Comments

  • In WHM's tweak settings, enable "Display File Usage information in the cPanel stats bar (inode count)".

    Thanked by 1hostdare
  • Namecheap must have created this a custom in-house plugin for inode usage.

  • edited December 2017

    This seems like a custom in-house plugin. Most probably a wrapper around du --inodes

    Seems like a pretty interesting side project to tinker on. I should take a look at developing something similar.

  • @sdglhm said:
    I should take a look at developing something similar.

    see if this helps http://smyl.es/generating-inode-report-for-linux-ubuntu-centos-etc-with-inodes-shellbash-script/

  • @AndreiGhesi - I've written a quick hack (hack-ish plugin) that does this functionality. Will improve the code and share on Github soon.

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    That's part of Cloudlinux, it's what @WhichGunDotCom said.

    Francisco

  • edited January 2018

    Francisco said: That's part of Cloudlinux, it's what @WhichGunDotCom said.

    I haven't seen CL add something like this. If so, I'll be wasting my time.

    Fran, is there a setting on CL that add something like this? https://namecheap.simplekb.com//SiteContents/2-7C22D5236A4543EB827F3BD8936E153E/media/inodes7.png

  • @Francisco said:
    That's part of Cloudlinux, it's what @WhichGunDotCom said.

    Francisco

    CL just give you the total inode usage in the cpanel left/right menu. What I was asking is a option to see a tree usage of the inodes used by folders, like namechep plugin.

  • I know is an old thread but maybe it helps others that are going to read it. Now there is an option if you make a quick google search for a cpanel plugin that does this.

  • @dragos said:
    I know is an old thread but maybe it helps others that are going to read it. Now there is an option if you make a quick google search for a cpanel plugin that does this.

    I no longer need it but you can put the plugin link here, save people some time

  • @AndreiGhesi said:

    @dragos said:
    I know is an old thread but maybe it helps others that are going to read it. Now there is an option if you make a quick google search for a cpanel plugin that does this.

    I no longer need it but you can put the plugin link here, save people some time

    Sure, check this out: https://github.com/dragosboro/cPanel-Inodes-Usage/

  • CloudLinux shows the usage on the sidebar but unsure of a plugin. I use this command at work to generate a breakdown of inode usage for a user. Just cd to the account first.

    echo "Detailed Inodes usage for: $(pwd)" ; for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf "$c\t\t- $d\n" ; done ; printf "Total: \t\t$(find $(pwd) | wc -l)\n"
    
  • @hsr said:
    CloudLinux shows the usage on the sidebar but unsure of a plugin. I use this command at work to generate a breakdown of inode usage for a user. Just cd to the account first.

    echo "Detailed Inodes usage for: $(pwd)" ; for d in `find -maxdepth 1 -type d |cut -d\/ -f2 |grep -xv . |sort`; do c=$(find $d |wc -l) ; printf "$c\t\t- $d\n" ; done ; printf "Total: \t\t$(find $(pwd) | wc -l)\n"
    

    The command you are using is correct, but it doesn't provide a detailed breakdown of each folder. The plugin I’ve shared, if installed at the server level, allows you to open any folder in your cPanel account and view a clear breakdown of inode usage. It’s also much more user-friendly since it offers a graphical interface rather than a terminal output. However, the main issue is that this plugin needs to be installed by the company managing the server, as it requires root-level access. If you don’t have root access, you can continue using the terminal command as long as you have SSH access at the user level.

  • @AndreiGhesi said:
    Hi,

    Today I was searching for a plugin that show inode usage in cpanel by folders but I did not find something that can be used by the clients without my intevention.

    on my searches I found this page:

    https://www.namecheap.com/support/knowledgebase/article.aspx/9331/29/how-to-check-the-number-of-inodes-in-your-hosting-account

    You see the Inode usage icon in cpanel, Is that a plugin that I don't know about or is a custom-made in-house plugin by namecheap team ?

    thanks

    The inode usage icon in cPanel is typically a built-in feature rather than a separate plugin, which explains why you couldn't find anything specific. If you're looking for a user-friendly solution for your clients, you might need to consider creating a custom interface or documentation to help them navigate inode usage.

Sign In or Register to comment.