The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to delete old statistic software data globally?

Discussion in 'General Discussion' started by postcd, Jun 8, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    621
    Likes Received:
    6
    Trophy Points:
    18
    Hello,

    some accounts had enabled like webalizer, awstats and similar, but no longer and when i open these stat software from some cpanel accounts i see it no longer counting (which is good), but how i can remove old data of these softwares in bulk on all cpanel accounts. Only data of accounts that have these statistic softwares disabled and no longer use them, so these data dont take unnecessary space..? Thank you
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You will have to manually remove the data from the /tmp directory within the account (/home/$username/tmp). Each statistics application uses a different storage method, so there are no single files you can remove. You could develop a bash command that completes this for all accounts, but there are no scripts that remove this data automatically.

    Thank you.
     
Loading...

Share This Page