i am running rhel 5 server...i have some issues
1. will the server hang if the free space in /var is say about 30%
2. the other thing is i am seeing a log file named audit and sa taking up the space
[root@PDB log]# du -sh
31M .
[root@PDB log]# du -sh *
9.0K acpid
758K anaconda.log
41K anaconda.syslog
70K anaconda.xlog
20M audit
0 boot.log
0 boot.log.1
0 boot.log.2
0 boot.log.3
0 boot.log.4
27K btmp
2.0K conman
2.0K conman.old
115K cron
130K cron.1
130K cron.2
130K cron.3
130K cron.4
15K cups
34K dmesg
7.0K faillog
26K gdm
2.0K httpd
22K lastlog
5.0K mail
6.0K maillog
7.0K maillog.1
7.0K maillog.2
7.0K maillog.3
7.0K maillog.4
1.0K mcelog
132K messages
147K messages.1
147K messages.2
147K messages.3
147K messages.4
3.0K pm
2.0K ppp
40K prelink
45K rpmpkgs
45K rpmpkgs.1
45K rpmpkgs.2
45K rpmpkgs.3
45K rpmpkgs.4
0 rpmpkgs.aiIzl3667
0 rpmpkgs.AUECc6967
0 rpmpkgs.BbDlW8720
0 rpmpkgs.dCyi20366
(output ommited here)
0 rpmpkgs.zfLd24202
0 rpmpkgs.zIuU11614
7.1M sa
2.0K samba
73K scrollkeeper.log
5.0K secure
4.0K secure.1
4.0K secure.2
0 secure.3
3.0K secure.4
2.0K setroubleshoot
0 spooler
0 spooler.1
0 spooler.2
0 spooler.3
0 spooler.4
2.0K squid
1.0K tallylog
68K up2date
74K up2date.1
75K up2date.2
74K up2date.3
74K up2date.4
490K wtmp
71K Xorg.0.log
71K Xorg.0.log.old
0 yum.log
2.0K yum.log.1
[root@PDB log]# cd audit
[root@PDB audit]# ls
audit.log audit.log.1 audit.log.2 audit.log.3
[root@PDB audit]# ls -lh
total 20M
-rw------- 1 root root 4.3M Sep 15 10:30 audit.log
-r-------- 1 root root 5.1M Aug 28 02:00 audit.log.1
-r-------- 1 root root 5.1M Aug 6 20:40 audit.log.2
-r-------- 1 root root 5.1M Jul 16 10:20 audit.log.3
is it ok to truncate the audit.log.3, audit.log.2 ... to free some space
3. what is actually the sa folder
thank you

Reply With Quote
