Solved

/var/mail :clarify

Posted on 2002-03-03
3
446 Views
Last Modified: 2013-12-27
Hi ...

 in my /var/mail :

 -rw-rw----   1 monitor  mail       27186 May  1  2001 monitor
-rw-rw----   1 oracle   mail     86356076 Mar  4 02:00 oracle
-rw-rw----   1 root     mail        7884 Feb 26 00:11 root
-rw-rw----   1 sysops   mail       30446 Feb 22 04:06 sysops
-rw-rw----   1 uucp     mail           0 Feb  8  2000 uucp

 what all these files meant for.
 can ijust delete all these files
 to get more space.
 
 tq
 sun newbie
0
Comment
Question by:ismahwati
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 50 total points
ID: 6838428
They are mail boxes for user: monitor, oracle, root, sysops
and uucp.

Ask your systems administrator for the details of the above
account, if noone reading the email for these account, you can all the email for these account using the following command(su as root, or the paticular user):

  eg, for usr oracle, use the following command:
     #cat /dev/null > /var/mail/oracle

     after the above command the mail box for oracle will donw to 0.


=====
yuzh
0
 
LVL 5

Expert Comment

by:n0thing
ID: 6839649
The only large file in that group is the "oracle" e-mail box. Try to do a tail -100 oracle and see if there is any important information in that file. Perhaps your Oracle database is generating some error logs, database information that is important. Check it first before removing it. You can clear the content of the file using the command that yuzh shown above.
0
 

Author Comment

by:ismahwati
ID: 6840980
i have move the oracle file
to tmp directory and
zerorized it.

tq
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can I delete authorized_keys in FreeBSD 1 122
problem creating new luks volume on new VM disk 5 129
Log File Creation with Header and Footer 17 187
Shell Script- gzip 5 86
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

710 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