Re: Disk usage analysis

2009-04-22 Thread andrew clarke
On Wed 2009-04-22 10:46:14 UTC-0400, Mikel King (mikel.k...@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

Re: Disk usage analysis

2009-04-22 Thread andrew clarke
On Thu 2009-04-23 05:05:25 UTC+1000, andrew clarke (m...@ozzmosis.com) wrote: > durep seems to have no concept of security :-) So how did you go about > restricting unwanted people from viewing its output? I'm referring to the CGI version of durep here, of course. ___

Re: Disk usage analysis

2009-04-22 Thread Mikel King
On Apr 22, 2009, at 3:13 PM, andrew clarke wrote: On Thu 2009-04-23 05:05:25 UTC+1000, andrew clarke (m...@ozzmosis.com) wrote: durep seems to have no concept of security :-) So how did you go about restricting unwanted people from viewing its output? I'm referring to the CGI version o

Re: Disk usage analysis

2009-04-22 Thread Mikel King
On Apr 22, 2009, at 3:05 PM, andrew clarke wrote: On Wed 2009-04-22 10:46:14 UTC-0400, Mikel King (mikel.k...@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

Re: Disk usage analysis

2009-04-22 Thread Jerry McAllister
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 forme

Re: Disk usage analysis

2009-04-22 Thread Mikel King
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 leadin

Re: Disk usage analysis

2009-04-22 Thread Peter Boosten
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 h

Re: Disk usage analysis

2009-04-22 Thread Wojciech Puchar
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 waay too much stupiding-down of the std Unix terminology. ([I thought I was the only one]. An

Re: Disk usage analysis

2009-04-21 Thread Gary Kline
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 (s

Re: Disk usage analysis

2009-04-21 Thread Polytropon
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 resid

Re: Disk usage analysis

2009-04-21 Thread Tim Judd
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 d

Re: Disk usage analysis

2009-04-21 Thread Adam Vande More
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 ___