[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] [RaQ3] /var getting full



At 01:03 PM 9/8/01, Per M Knutsen wrote:
My /var filesystem is becoming filled up. I have moved some of the /var/log
files, but that didn't really save much space. Does anyone know which files
in /var can safely be deleted, so that I can free up more space?

You can use the 'du' (disk usage) utility, which tells you how much space directories' contents use. It's different from 'ls' in that it adds up the total size of directories' contents. cd to the /var directory, and run "du -sh *". Those flags tell it to summarize the data using human-readable numbers (e.g., it'll say "4.3M" instead of 4508876). This tool is right up there with grep in terms of usefulness.

--------------------------------------------------------------------------
Ted Behling, Web Application Developer - Monarch Information Systems, Inc.

43 Folly Field Road, Unit 4, Hilton Head Island, SC 29928-5434
E-mail: mailto:TBehling@xxxxxxxxxxxxx
Phone/Fax: 1-800-842-7894    Local or Outside the USA: 1-843-842-7894
Cell Phone (urgent issues): 843-816-7895
Cell Phone E-mail: mailto:TedPhone@xxxxxxxxxxxxx (116 letter limit)
Web site: http://www.MonarchIS.net
--------------------------------------------------------------------------