Results 1 to 3 of 3

Thread: Anybody who knows how to add file count feature in cPanel

  1. #1
    Registered User
    Join Date
    Jun 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default Anybody who knows how to add file count feature in cPanel

    Anybody who knows how to add file count feature in cPanel? I would like to know whether there is any addon module can achieve this.
    If not,how can I make it? I want the user can see the the number of inodes occupied in cPanel.Any suggestion would be appreciated.Thank you.

  2. #2
    Member morissette's Avatar
    Join Date
    May 2009
    Location
    Austin, TX
    Posts
    103
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Anybody who knows how to add file count feature in cPanel

    Not sure if there is an addon module for this, there is definitely not an api call for it(at least from what i've looked at for it) How can you make it? See: cPanel & WHM's SDK

    I'm thinking of a wrapper around the quota command will be the best way to accomplish this. If you want to have a break down like "Disk Space Usage" you will need to loop through all the directories and get the inodes which could end up being quite intensive.

  3. #3
    Registered User
    Join Date
    Jun 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default Re: Anybody who knows how to add file count feature in cPanel

    Thanks for your nice tips.I'm not familiar with module development.I'm looking for if there's a thing like third-party or addon module for me to make it.
    Any one who know more can share you idea.Thank you!

Similar Threads

  1. Replies: 5
    Last Post: 03-28-2012, 11:10 PM
  2. cpanel cannot count the file size of some files
    By MaRiOsGR66 in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 02-09-2012, 05:50 PM
  3. Our sudoers file crashed with the cPanel shell feature
    By greatman in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 06-13-2011, 08:44 PM
  4. File Manager's "move" feature needs to add preceeding / character if omitted
    By jpratt in forum Feature Requests for cPanel & WHM
    Replies: 0
    Last Post: 02-21-2011, 03:08 PM
  5. Can CPanel please add this password feature?
    By stftk14 in forum cPanel & WHM Discussions
    Replies: 24
    Last Post: 08-07-2003, 12:29 PM