DA HardDrive Stats don't Match with Server Stats - Cut by 50%

Discussion in 'Site & Server Administration' started by RapidFire, Jun 29, 2008.

  1. #1
    Somehow I think one of my users are able to fake their server usage stats. Is that possible?

    My Direct Admin panel shows that I have used 40GB, but a php script shows that I have used 80GB.

    Please advise.
     
    RapidFire, Jun 29, 2008 IP
  2. xous

    xous Active Member

    Messages:
    173
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Do you have ssh access?

    Run the following as root:

    Shows usage by partition.
    
    df -h 
    
    Code (markup):
    Shows usage per home directory. May take a few minutes depending on the amount of data.
    
    du -ha --max-depth=1 /home
    
    Code (markup):
     
    xous, Jun 29, 2008 IP
  3. RapidFire

    RapidFire Peon

    Messages:
    213
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I tried this :
    
    du -ha --max-depth=1 /home
    
    Code (markup):
    and it doesn't work... How do I access the reseller files
     
    RapidFire, Jun 30, 2008 IP