- Previous thread: Has SVN server changed ?
- Next thread: You've received A Hallmark E-Card!
- Threads sorted by date: freebsd 200904
Is there an easy way to analyze disk usage to determine which files and
folders are taking up the most space?
--
Christopher Chambers
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
folders are taking up the most space?
--
Christopher Chambers
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Christopher Chambers writes:
> Is there an easy way to analyze disk usage to determine which
> files and folders are taking up the most space?
If this isn't a FAQ, then search the mailing list archives.
This question, or something leading to it like "out of disk space",
comes up regularly.
Robert Huff
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Christopher Chambers wrote:
> Is there an easy way to analyze disk usage to determine which files and
> folders are taking up the most space?
>
>
>
du -hd 1 | sort -n
http://www.freebsd.org/cgi/man.cgi?query=du&apropos=0&sektion=0&manpath=FreeBSD+7.1-RELEASE+and+Ports&format=html
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> Is there an easy way to analyze disk usage to determine which files and
> folders are taking up the most space?
>
>
>
du -hd 1 | sort -n
http://www.freebsd.org/cgi/man.cgi?query=du&apropos=0&sektion=0&manpath=FreeBSD+7.1-RELEASE+and+Ports&format=html
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
On Tue, Apr 21, 2009 at 9:21 PM, Adam Vande More wrote:
> Christopher Chambers wrote:
>
>> Is there an easy way to analyze disk usage to determine which files and
>> folders are taking up the most space?
>>
>>
>>
>>
> du -hd 1 | sort -n
du -kd 1 | sort -rn
Shows in ENV{BLOCKSIZE} the biggest directories first. Bound to be / always
in this situation. :D
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> Christopher Chambers wrote:
>
>> Is there an easy way to analyze disk usage to determine which files and
>> folders are taking up the most space?
>>
>>
>>
>>
> du -hd 1 | sort -n
du -kd 1 | sort -rn
Shows in ENV{BLOCKSIZE} the biggest directories first. Bound to be / always
in this situation. :D
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
On Tue, 21 Apr 2009 20:08:18 -0700, Christopher Chambers wrote:
> Is there an easy way to analyze disk usage to determine which files and
> folders are taking up the most space?
See "man du". Just for terminology: In UNIX (so in FreeBSD), there
are no folders. Folders are made of paper and reside in a cabinet. :-)
These are called directories.
You don't call files "sheets of paper" either, do you? :-)
For a GUI solution, check out file browsers. Most of them have the
ability to calculate the disk space occupation of a certain
directory or subtree. For example, in the Midnight Commander,
use PF9, Command, Show directory sizes.
--
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> Is there an easy way to analyze disk usage to determine which files and
> folders are taking up the most space?
See "man du". Just for terminology: In UNIX (so in FreeBSD), there
are no folders. Folders are made of paper and reside in a cabinet. :-)
These are called directories.
You don't call files "sheets of paper" either, do you? :-)
For a GUI solution, check out file browsers. Most of them have the
ability to calculate the disk space occupation of a certain
directory or subtree. For example, in the Midnight Commander,
use PF9, Command, Show directory sizes.
--
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
On Wed, Apr 22, 2009 at 07:52:38AM +0200, Polytropon wrote:
> On Tue, 21 Apr 2009 20:08:18 -0700, Christopher Chambers wrote:
> > Is there an easy way to analyze disk usage to determine which files and
> > folders are taking up the most space?
>
> See "man du". Just for terminology: In UNIX (so in FreeBSD), there
> are no folders. Folders are made of paper and reside in a cabinet. :-)
>
> These are called directories.
>
> You don't call files "sheets of paper" either, do you? :-)
YES!! I'm probably too up-tight about the use of "folder",
but it just seems like waaaaaay too much stupiding-down of the
std Unix terminology. ([I thought I was the only one]. And yes,
there are things of greater gravitas to be ticked off about!)
gary
>
[ ... ]
>
>
> --
> Polytropon
> >From Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
--
Gary Kline kline@thought.org http://www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
The 2.41a release of Jottings: http://jottings.thought.org/index.php
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> On Tue, 21 Apr 2009 20:08:18 -0700, Christopher Chambers wrote:
> > Is there an easy way to analyze disk usage to determine which files and
> > folders are taking up the most space?
>
> See "man du". Just for terminology: In UNIX (so in FreeBSD), there
> are no folders. Folders are made of paper and reside in a cabinet. :-)
>
> These are called directories.
>
> You don't call files "sheets of paper" either, do you? :-)
YES!! I'm probably too up-tight about the use of "folder",
but it just seems like waaaaaay too much stupiding-down of the
std Unix terminology. ([I thought I was the only one]. And yes,
there are things of greater gravitas to be ticked off about!)
gary
>
[ ... ]
>
>
> --
> Polytropon
> >From Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
--
Gary Kline kline@thought.org http://www.thought.org Public Service Unix
http://jottings.thought.org http://transfinite.thought.org
The 2.41a release of Jottings: http://jottings.thought.org/index.php
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>>
>> These are called directories.
>>
>> You don't call files "sheets of paper" either, do you? :-)
>
> YES!! I'm probably too up-tight about the use of "folder",
> but it just seems like waaaaaay too much stupiding-down of the
> std Unix terminology. ([I thought I was the only one]. And yes,
> there are things of greater gravitas to be ticked off about!)
>
it's just stupid to pursue windoze/maclame naming where names are ALREADY
present!
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>> These are called directories.
>>
>> You don't call files "sheets of paper" either, do you? :-)
>
> YES!! I'm probably too up-tight about the use of "folder",
> but it just seems like waaaaaay too much stupiding-down of the
> std Unix terminology. ([I thought I was the only one]. And yes,
> there are things of greater gravitas to be ticked off about!)
>
it's just stupid to pursue windoze/maclame naming where names are ALREADY
present!
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
On 22 apr 2009, at 10:01, Wojciech Puchar
>>>
>>>
>>
> it's just stupid to pursue windoze/maclame naming
It's just stupid to start another flame war about the superiority of
one or another OS.
Peter
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
On Tue, Apr 21, 2009 at 08:08:18PM -0700, Christopher Chambers wrote:
> Is there an easy way to analyze disk usage to determine which files and
> folders are taking up the most space?
Check out the du(1) command.
Go in to a file system and type du -sk * or maybe du -sh *
(I prefer the former because then all numbers have the same value)
Once you determine some directory that seems out of line, go in to that
directory and do it again.
////jerry
>
> --
> Christopher Chambers
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> Is there an easy way to analyze disk usage to determine which files and
> folders are taking up the most space?
Check out the du(1) command.
Go in to a file system and type du -sk * or maybe du -sh *
(I prefer the former because then all numbers have the same value)
Once you determine some directory that seems out of line, go in to that
directory and do it again.
////jerry
>
> --
> Christopher Chambers
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
On Apr 21, 2009, at 11:24 PM, Robert Huff wrote:
>
> Christopher Chambers writes:
>
>> Is there an easy way to analyze disk usage to determine which
>> files and folders are taking up the most space?
>
> If this isn't a FAQ, then search the mailing list archives.
> This question, or something leading to it like "out of disk space",
> comes up regularly.
>
>
> Robert Huff
I used to run durep on my shared servers. The package seems a bit out
of date and I have often considered adopting it as a pet project to
rewrite/update, but time, time and time always seem to be an issue.
You can read more about the application. It generates a comprehensive
report that can be automatically emailed, or viewed via the web.
http://www.hibernaculum.net/durep/
Cheers,
Mikel King
CEO, Olivent Technologies
Senior Editor, Daemon News
Columnist, BSD Magazine
6 Alpine Court
Medford, NY 11763
http://www.olivent.com
http://www.daemonnews.org
http://www.bsdmag.org
skype: mikel.king
+------------------------------------------+
Follow me if you dare...
http://twitter.com/mikelking
+------------------------------------------+
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
On Wed 2009-04-22 10:46:14 UTC-0400, Mikel King (mikel.king@olivent.com) wrote:
> I used to run durep on my shared servers.
durep seems to have no concept of security :-) So how did you go about
restricting unwanted people from viewing its output?
Regards
Andrew
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> I used to run durep on my shared servers.
durep seems to have no concept of security :-) So how did you go about
restricting unwanted people from viewing its output?
Regards
Andrew
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Related Threads
- Aviate, the Web Deployer - python
- Question about op. overloading - ruby
- [PHP] PHP - Jasper Report Integeration - php
- About combine ssl with mysql. - mysql
- URI path is not taking parameters - ruby
- install questions - fedora
- [users] wordprocessing - openoffice
- noob trouble with IDLE - python
- [GENERAL] encoding of PostgreSQL messages - pgsql
- amd.core on 7.1-BETA2 amd64 - freebsd
- (χωρίς θέμα) - postfix
- Compare DATETIME to DATE - mysql