Solved

SunOS 5.8

Posted on 2011-02-15
3
800 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Host issue and need to move VM's 2 244
Restore XenServer VM with only dd image of LVM snapshot 3 161
mobaxterm not able to change directory 28 109
Linux hostname change 2 55
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

895 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

19 Experts available now in Live!

Get 1:1 Help Now