• DevOps
    Case Study

    How we built a resilient multi-account, multi-cloud solution for a Health Tech service provider!

    READ CASESTUDY
    icon

    24/7 DevOps as a Service

    Round-the-clock DevOps for uninterrupted efficiency.

    icon

    Infrastructure as a Code

    Crafting infrastructure with ingenious code.

    icon

    CI/CD Pipeline

    Automated CI/CD pipeline for seamless deployments.

    icon

    DevSecOps

    Integrated security in continuous DevOps practices.

    icon

    Hire DevOps Engineers

    Level up your team with DevOps visionaries.

    icon

    Consulting Services

    Navigate success with expert DevOps consulting.

  • TechOps
    Case Study

    How we built a scalable Odoo solution for a Travel Tech service provider!

    READ CASESTUDY

    WEB HOSTING SUPPORT

    icon

    HelpDesk Support

    Highly skilled 24/7 HelpDesk Support

    icon

    Product Support

    Boost your product support with our expertise.

    MANAGED SERVICES

    icon

    Server Management

    Don’t let server issues slow you down. Let us manage them for you.

    icon

    Server Monitoring

    Safeguard your server health with our comprehensive monitoring solutions.

    STAFF AUGMENTATION

    icon

    Hire an Admin

    Transform your business operations with our expert administrative support.

    icon

    Hire a Team

    Augment your workforce with highly skilled professionals from our diverse talent pool.

  • CloudOps
    Case Study

    How we helped a Private Deemed University in India, save US $3500/m on hosting charges!

    READ CASESTUDY
    icon

    AWS Well Architected Review

    Round-the-clock for uninterrupted efficiency

    icon

    Optimize

    Efficient CloudOps mastery for seamless cloud management

    icon

    Manage

    Automated CI/CD pipeline for seamless deployments

    icon

    Migrate

    Upgrade the journey, Migrate & Modernize seamlessly

    icon

    Modernize

    Simplify compliance complexities with our dedicated services

    icon

    FinOps as a Service

    FinOps as a Service

  • SecOps
    Case Study

    How we built a scalable Odoo solution for TravelTech service provider!

    READ CASESTUDY
    icon

    VAPT

    Vulnerability Assessment and Penetration Testing

    icon

    Source Code Review

    Ensuring source code security ans safe practices to reduce risks

    icon

    Security Consultation

    On demand services for improving server security

    icon

    System Hardening

    Reduced vulnerability and proactive protection

    icon

    Managed SoC

    Monitors and maintains system security. Quick response on incidents.

    icon

    Compliance as a Service

    Regulatory compliance, reduced risk

  • Insights
    Case Study

    How we helped a Private Deemed University in India, save US $3,500/m on hosting charges!

    READ CASESTUDY
    icon

    Blog

    Explore our latest articles and insights

    icon

    Case Studies

    Read about our client success stories

    icon

    Flipbook

    Explore our latest Flipbook

    icon

    Events

    Join us at upcoming events and conferences

    icon

    Webinars

    Watch our educational webinar series

  • Our Story
  • Contact Us

Interested to collaborate?

Get in touch with us!

Ready to elevate your business with certified cloud expertise? Contact us today to learn how our team can help you leverage cloud technology to drive growth, streamline operations, and enhance security.

  • AWSAWS
  • Azure CloudAzure Cloud
  • Google CloudGoogle Cloud
  • Akamai CloudAkamai Cloud
  • OVHOVH
  • Digital OceanDigital Ocean
  • HetznerHetzner
  • Kubernetes Consultancy Services
  • K8s & Cloud native Solutions
  • 24/7 Infrastructure Monitoring
  • DevOps as a Service
  • Cloud CI/CD Solutions
  • White Labeled MSP Support
  • Our story
  • Life@SupportSages
  • Insights
  • Careers
  • Events
  • Contact Us

Connect with us!


LinkedInFacebookXInstagramYouTube

aws partneraws advanced partner
SupportSages

Copyright © 2008 – 2026 SupportSages Pvt Ltd. All Rights Reserved.
Privacy PolicyLegal TermsData ProtectionCookie Policy

Check inode availability for your server

Manu M.

  • 3 min read
Check inode availability for your server

Generating audio, please wait...

Hello Folks,

This is my first post of the year and covers on how to get the count of inode in your server/account. Before going on further, let me describe what inode is.

inode

inode is a data structure used to represent a filesystem object, which stores the attributes and disk block location(s) of the file system object’s data. Got it? Well, all you need to know (for now) is that a Linux file is “stored” in two different parts of the disk – the data blocks and the inodes. The data blocks contain the “contents” of the file. The information about the file is stored in the inode.

So, why this Blog?

Do you have a hosting account? Does your hosting provide you and unlimited disk space? Usually, any web-hosting company will provide you hosting accounts with a good amount of disk space. However, there will be a certain limit in the inode usage for each account they provide. In many cases, the issue with the account is over usage of inode. So this kb helps you to find the inode usage in a user account.

Finding inode usage

Just login to your account via SSH and run following command from there

find . -printf "%h\n" | cut -d/ -f-2 | sort | uniq -c | sort -rn

Here is more about the command, just in case if you are curious 🙂

find . – for doing the search in current directory (. can be replaced by full path)

-printf “%h\n” – prints leading directories of file’s name.

cut -d/ -f-2 – trimming the output with de-limiter “/”

sort | uniq -c – sort and count

Sample output would look like this.

manu@sage17:~$ pwd
/home/manu

manu@sage17:~$ find . -printf "%h\n" | cut -d/ -f-2 | sort | uniq -c | sort -rn
26126 ./.cache
9873 ./.config
7387 ./Downloads
3142 ./.tor-browser-en
1452 ./Pictures
540 ./.local
402 ./.thunderbird
338 ./Desktop
323 ./.mozilla
139 .
74 ./firefox
62 ./.gconf
50 ./.compiz-1
48 ./.pulse
41 ./.fontconfig

How to read the output

As you can see the first column is the inode count and the second column is the directory. So with this, you can find the directory which uses up high inode and advice customer accordingly.

So if your hosting company has promised an unlimited storage, don’t forget to ask them about your inode limit and make sure you are within the limits always

Get 24/7 expert server management

  • Howtos
  • Linux
  • Troubleshooting

Looking for AWS Experts?

We provide top-of-the-line custom AWS setup services tailored to your needs.

Check inode availability for your server

Add a command/binary to CageFS

Add a command/binary to CageFS
  • Apache
  • Howtos
  • Linux
logo

Enable password asterisk in Linux

Enable password asterisk in Linux
  • Howtos
  • Linux
logo

Hide php version information

Hide php version information
  • Howtos
  • Linux
logo

How to block IP’s using .htaccess

How to block IP’s using .htaccess
  • Howtos
  • Linux
  • Troubleshooting
logo

Posts by Manu M.

Manu has been with us for past one and half years and is a person with good technical skills and domain knowledge. Being a highly athletic personality, Manu likes to play Cricket and Badminton of all games whenever he gets time off. Apart from his technical and athletic abilities, he is a good writer and has tried his hands on penning a few poems of his own. He believes in the mantra that "small things matter the most" and this nature can also visible in his blogs and writings.