From owner-freebsd-questions Tue Nov 5 15:41:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6492937B401 for ; Tue, 5 Nov 2002 15:41:38 -0800 (PST) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 485A543E77 for ; Tue, 5 Nov 2002 15:41:35 -0800 (PST) (envelope-from jackstone@sage-one.net) Received: from sagea (sagea [192.168.0.3]) by sage-one.net (8.11.6/8.11.6) with SMTP id gA5Nevv35990; Tue, 5 Nov 2002 17:41:01 -0600 (CST) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20021105174057.01125110@mail.sage-one.net> X-Sender: jackstone@mail.sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 05 Nov 2002 17:40:57 -0600 To: I am Insane , freebsd-questions@FreeBSD.ORG From: "Jack L. Stone" Subject: Re: [Fwd: Cleaning up /] In-Reply-To: <3DC8558D.2030304@iaminsane.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 06:34 PM 11.5.2002 -0500, I am Insane wrote: >I sent this to the newbies list, but was hoping it wasn't too off topic >for the questions list. > >Can anyone help? > >-------- Original Message -------- >Subject: Cleaning up / >Date: Tue, 05 Nov 2002 14:43:21 -0500 >From: I am Insane >To: freebsd-newbies@FreeBSD.ORG > > > >I need some help. I'm not a complete newbie but I'm new enough to not >know which files are actually needed in my / filesystem. > >my current df -k shows > >Filesystem 1K-blocks Used Avail Capacity Mounted on >/dev/ad0s1a 100750 82898 9792 89% / >/dev/ad0s1g 10080382 766404 8507548 8% /usr >/dev/ad0s1h 15421366 26432 14161226 0% /usr/home >/dev/ad0s1e 201518 3332 182066 2% /var >/dev/ad0s1f 2015918 144 1854502 0% /var/mail >procfs 4 4 0 100% /proc > >and I am aware that if / gets to 100% the system has a good chance of >crashing. > >how can I tell what files can be removed in order to free up some space? >and/or how can i tell which files are the largest and need to be addressed? > >Thanks in advance, >REM > Just cd to / and issue the simple command: du -h or more complicated output with kb sizes du -s * | sort -n Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message