linux server command question....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • acctman
    Confirmed User
    • Oct 2003
    • 2840

    #1

    linux server command question....

    is there a command that will show the directory on a server that is using the most HD space. there is about 30-40gigs used up somewhere on my server that is not apart of my websites.
  • Brujah
    Beer Money Baron
    • Jan 2001
    • 22157

    #2
    man find
    http://www.geocities.com/tipsforlinux/articles/21.html

    man du
    http://www.geocities.com/tipsforlinux/articles/22.html

    Comment

    • DatingGold
      $6 PER EMAIL JOiN
      • Feb 2003
      • 13185

      #3
      du

      will take a bit to run
      9 Years of SOLID payouts and conversions!



      ADULT DATING - $100 PPS

      LIVE CAMS - $214 PPS

      WWW.DATINGGOLD.COM

      ICQ: 27442303

      Comment

      • Linguist
        Confirmed User
        • Apr 2004
        • 1706

        #4
        du | sort -nr | head

        off top of my head.. there's probably a better way to do it
        315-310

        Comment

        • acctman
          Confirmed User
          • Oct 2003
          • 2840

          #5
          thanks i ended up using the du command

          cd /
          du -sh *

          i found out mysql has like 43gb of nmx-bin.001-146 files. i'm thinking its a backup of all the databases on the server everyday dating back to feb.

          Comment

          • egonetworks
            Confirmed User
            • Jan 2004
            • 6706

            #6
            du -ks `ls`

            Comment

            • vending_machine
              Confirmed User
              • Jun 2002
              • 1070

              #7
              Originally posted by acctman
              thanks i ended up using the du command

              cd /
              du -sh *

              i found out mysql has like 43gb of nmx-bin.001-146 files. i'm thinking its a backup of all the databases on the server everyday dating back to feb.
              Those are logs, either just general logs or replication logs. You can purge them:

              http://dev.mysql.com/doc/mysql/en/PU...STER_LOGS.html

              Comment

              Working...