Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 09-04-2004, 02:21 PM   #1
acctman
Confirmed User
 
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
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.
acctman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2004, 02:23 PM   #2
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
man find
http://www.geocities.com/tipsforlinux/articles/21.html

man du
http://www.geocities.com/tipsforlinux/articles/22.html
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2004, 02:25 PM   #3
DatingGold
$6 PER EMAIL JOiN
 
Industry Role:
Join Date: Feb 2003
Location: California
Posts: 13,185
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
DatingGold is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2004, 02:27 PM   #4
Linguist
Confirmed User
 
Join Date: Apr 2004
Location: Toronto, ON
Posts: 1,706
du | sort -nr | head

off top of my head.. there's probably a better way to do it
Linguist is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2004, 02:49 PM   #5
acctman
Confirmed User
 
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
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.
acctman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2004, 04:03 PM   #6
AndrewKanuck
Confirmed User
 
Join Date: Jan 2004
Location: Cleveland & Atlanta
Posts: 6,706
du -ks `ls`
__________________
AndrewKanuck is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 09-04-2004, 04:44 PM   #7
vending_machine
Confirmed User
 
Join Date: Jun 2002
Location: Seattle
Posts: 1,062
Quote:
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
vending_machine is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.