1752761 Members
5245 Online
108789 Solutions
New Discussion юеВ

Re: Cleaning /var

 
SOLVED
Go to solution
Mark McDonald_2
Trusted Contributor

Re: Cleaning /var

Does the box host an application that is logging in to /var? I quite often have problems with app teams filling up file systems especially on the development boxes.
Sagar Sirdesai
Trusted Contributor

Re: Cleaning /var

Hi
Normally /var also get filled with wtpm* files.

You also trin thse files.

Sagar
C_V
Frequent Advisor

Re: Cleaning /var

So guys eventually the contents of /var/spool files will be automatically removed once the printing has been done or the mail has been sent?
Dennis Handly
Acclaimed Contributor

Re: Cleaning /var

>eventually the contents of /var/spool files will be automatically removed once the printing has been done or the mail has been sent?

The keyword is eventually. If mail can't be sent, the mail may just sit there.
Suraj K Sankari
Honored Contributor

Re: Cleaning /var

Hi,

Under /var you can trim all log files.
wtmp
btmp

just give > and filename it will trim the file ex:

>wtmp or >btmp

or you can find big file under /var

cd /
find /var -size +100000 -print

Suraj