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
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
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
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
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
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
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
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
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
-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
-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
11 matches
Mail list logo