Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Nov 2002 17:40:57 -0600
From:      "Jack L. Stone" <jackstone@sage-one.net>
To:        I am Insane <admin@iaminsane.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: [Fwd: Cleaning up /]
Message-ID:  <3.0.5.32.20021105174057.01125110@mail.sage-one.net>
In-Reply-To: <3DC8558D.2030304@iaminsane.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <admin@iaminsane.net>
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.20021105174057.01125110>