Date: Sun, 2 Dec 2001 23:51:14 +0100 From: "Anthony Atkielski" <anthony@freebie.atkielski.com> To: "Gary W. Swearingen" <swear@blarg.net> Cc: "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> Subject: Re: How do I find major consumers of disk space on the system? Message-ID: <012f01c17b83$d94c19e0$0a00000a@atkielski.com> References: <008301c17af1$910f4a90$0a00000a@atkielski.com> <w5k7w5pat6.7w5@localhost.localdomain>
next in thread | previous in thread | raw e-mail | index | archive | help
Pretty cool! I tried it out and it works well. Looks like most of the space in /usr is taken up by ports, particularly a port called teTeX, which occupies 33 MB alone. What is it? Is there a clean way to delete ports that I don't intend to install, and then download them if I ever do decide to put them in? Or maybe load them back off the CD, in cases where I don't need the latest and greatest. The big files are mostly in /usr/ports/distfiles. Not that I need the space _right now_, but I like to keep the system tidy. ----- Original Message ----- From: "Gary W. Swearingen" <swear@blarg.net> To: "Anthony Atkielski" <anthony@atkielski.com> Cc: "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG> Sent: Sunday, December 02, 2001 22:32 Subject: Re: How do I find major consumers of disk space on the system? > I use a script something like this to find big files to delete. > > ## Good arguments: "/dir", "/mount-point -xdev" > find $@ -size +2000 -ls | sort -rn +6 ## size in 512 blocks > #NOTE: "-ls" is MUCH faster than "-exec ls -ld {} \;" > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?012f01c17b83$d94c19e0$0a00000a>