Re: How to find files that are eating up disk space

2008-12-17 Thread Cliff Addy
Use df to report disk usage. Sitting in /, for example, df -sm bin will tell you the disk usage in megs in the bin directory, df -sm * will do the same for each file/dir in / man df for the whole story Cliff John Almberg wrote: Here is another newbie question that is driving me crazy, but is

Re: How to find files that are eating up disk space

2008-12-17 Thread Cliff Addy
Uh, that should be du not df :) -- Use df to report disk usage. Sitting in /, for example, df -sm bin will tell you the disk usage in megs in the bin directory, df -sm * will do the same for each file/dir in / man df for the whole story Cliff

How to find files that are eating up disk space

2008-12-17 Thread John Almberg
Here is another newbie question that is driving me crazy, but is probably a laughable situation to an experienced admin... I've got a smallish server that is suddenly out of disk space in the '/' partition. Probably some log files have gotten out of hand. I am going to start looking for

Re: How to find files that are eating up disk space

2008-12-17 Thread Wojciech Puchar
why not du|sort -r|head -20 and you get 20 largest I should probably have mentioned that what I currently do is run du -h -d0 / and gradually work my way down the tree, until I find the directory that is hogging disk space. This works, but is not exactly efficient. -- John

Re: How to find files that are eating up disk space

2008-12-17 Thread John Almberg
Is there a command line tool that will help me figure out where the problem is? I should probably have mentioned that what I currently do is run du -h -d0 / and gradually work my way down the tree, until I find the directory that is hogging disk space. This works, but is not

Re: How to find files that are eating up disk space

2008-12-17 Thread Karl Vogel
On Wed, 17 Dec 2008 12:16:57 -0500, John Almberg jalmb...@identry.com said: J Is there a command line tool that will help me figure out where the [disk J space] problem is? I run a script every night to handle this. We have a few business divisions, and each division has several groups

Re: How to find files that are eating up disk space

2008-12-17 Thread John Almberg
Is there a command line tool that will help me figure out where the problem is? I should probably have mentioned that what I currently do is run du -h -d0 / and gradually work my way down the tree, until I find the directory that is hogging disk space. This works, but is not

Re: How to find files that are eating up disk space

2008-12-17 Thread John Almberg
On Dec 17, 2008, at 1:53 PM, Karl Vogel wrote: On Wed, 17 Dec 2008 12:16:57 -0500, John Almberg jalmb...@identry.com said: J Is there a command line tool that will help me figure out where the [disk J space] problem is? I run a script every night to handle this. snip exit 0

Re: How to find files that are eating up disk space

2008-12-17 Thread Robert Huff
John Almberg writes: Is there a command line tool that will help me figure out where the problem is? I should probably have mentioned that what I currently do is run du -h -d0 / and gradually work my way down the tree, until I find the directory that is hogging disk

RE: How to find files that are eating up disk space

2008-12-17 Thread Barry Byrne
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of John Almberg Sent: 17 December 2008 17:17 To: freebsd-questions@freebsd.org Subject: How to find files that are eating up disk space Here is another newbie

Re: How to find files that are eating up disk space

2008-12-17 Thread Andy Greenwood
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Almberg wrote: Here is another newbie question that is driving me crazy, but is probably a laughable situation to an experienced admin... I've got a smallish server that is suddenly out of disk space in the '/' partition. Probably some log