Hi experts,
I am facing a big problem. i use solaris 9. i found size of /var is increasing day by.
snapshot of a yester moring-
/dev/vx/dsk/var 15G 14G 1.1G 94% /var
snapshot of a yesterday everning-
/dev/vx/dsk/var 15G 14G 824M 95% /var
I am expecting /var/adm/messages size is increasing and hence /var size is increasing. Its my assume. But I don't know how to delete lot of records from the file /var/adm/messages
Please guys advise me asap. I am danger situation and i am afraid.
Morning Snapshot- /var/adm
bash-2.05$ ls -lht
total 1250600
-r--r--r-- 1 root root 27K Nov 2 09:55 lastlog
-rw-r--r-- 1 root root 109M Nov 2 09:55 messages-rw-r--r-- 1 root bin 15K Nov 2 09:31 utmpx
-rw------- 1 root root 42K Nov 1 13:05 sulog
-rw-r--r-- 1 root root 179M Oct 29 03:10 messages.0
-rw-r--r-- 1 root root 123M Oct 22 03:10 messages.1
-rw-r--r-- 1 root root 87M Oct 15 03:10 messages.2
-rw-r--r-- 1 root root 112M Oct 8 03:10 messages.3
-rw-r--r-- 1 root root 0 May 10 2005 vold.log
drwxrwxr-x 5 adm adm 512 May 10 2005 acct
drwxrwxr-x 2 adm sys 512 May 10 2005 sa
drwxr-xr-x 2 root sys 512 May 10 2005 sm.bin
-rw------- 1 uucp bin 0 May 10 2005 aculog
-rw-rw-rw- 1 root bin 0 May 10 2005 spellhist
drwxr-xr-x 2 adm adm 512 May 10 2005 exacct
drwxr-xr-x 2 adm adm 512 May 10 2005 log
drwxr-xr-x 2 adm adm 512 May 10 2005 passwd
drwxr-xr-x 2 root sys 512 May 10 2005 streams
bash-2.05$
Evening snapshot- /var/adm
bash-2.05$ ls -ltrh
total 1269464
drwxr-xr-x 2 root sys 512 May 10 2005 streams
drwxr-xr-x 2 adm adm 512 May 10 2005 passwd
drwxr-xr-x 2 adm adm 512 May 10 2005 log
drwxr-xr-x 2 adm adm 512 May 10 2005 exacct
-rw-rw-rw- 1 root bin 0 May 10 2005 spellhist
-rw------- 1 uucp bin 0 May 10 2005 aculog
drwxr-xr-x 2 root sys 512 May 10 2005 sm.bin
drwxrwxr-x 2 adm sys 512 May 10 2005 sa
drwxrwxr-x 5 adm adm 512 May 10 2005 acct
-rw-r--r-- 1 root root 0 May 10 2005 vold.log
-rw-r--r-- 1 root root 112M Oct 8 03:10 messages.3
-rw-r--r-- 1 root root 87M Oct 15 03:10 messages.2
-rw-r--r-- 1 root root 123M Oct 22 03:10 messages.1
-rw-r--r-- 1 root root 179M Oct 29 03:10 messages.0
-rw------- 1 root root 42K Nov 2 09:59 sulog
-rw-r--r-- 1 root bin 15K Nov 2 18:24 utmpx
-rw-r--r-- 1 root root 118M Nov 2 18:29 messages-r--r--r-- 1 root root 27K Nov 2 18:29 lastlog
bash-2.05$
Best Regards,
Purple