Solved

SunOS 5.8

Posted on 2011-02-15
3
802 Views
Last Modified: 2013-11-22
I still have a SunOS 5.8 CAD machine lurking about the office. I found this command
du -sk * | sort -m | head
that i run in /var, and it turns out that the /var/crash directory is pretty large. so i was wondering if it is OK to delete the sub-directories in the crash directory? I thought it would be much easier to just delete the crash directory, but i was guessing that unix needs it.
0
Comment
Question by:JeffBeall
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Joseph Gan earned 500 total points
ID: 34899868
The /var/crash directory was the default place for dumping memory when system crashes. You can type "dumpadm" command to see this.
If you see large large space used which meant the system crashed some stage before, you can safly delete the file under there, normal will be under the hostname.
0
 
LVL 1

Author Closing Comment

by:JeffBeall
ID: 34900402
that worked great. my drive went from 99% used to 66%. Thanks again.
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 34900475
Welcome anytime.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now