![]() |
|
|
|||||||
| Home | Forums | Register | Rules & FAQ | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
Other UNIX.COM Threads You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Increasing swap size | akyuceisik | HP-UX | 1 | 05-09-2008 07:55 AM |
| Help on increasing fs size | kingsto88 | HP-UX | 5 | 02-11-2007 03:37 AM |
| Increasing File Size on AIX | Rosie C | AIX | 1 | 05-12-2006 01:25 AM |
| Increasing the FileSystem Size | aldowsary | AIX | 9 | 07-18-2005 12:59 AM |
| Increasing a directory size | jonest | UNIX for Dummies Questions & Answers | 9 | 06-08-2005 07:26 PM |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
/var size is increasing day by day
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 |
| Forum Sponsor | ||
|
|
|
|||
|
How are the messages.0, messages.1 etc files created, are they being created automatically? Or do those dates match reboots. You can archive and delete the old message.* files.
There are various "log rolling" solutions available. |
|
|||
|
i don't know how messages.0, messages.1 , .2, .3 has created. System is up at least for last one and half months. So, those dates should not be match with reboots. If you see messages.0,1,2,3 size has not changed. Only "messages" size has changed. I m not sure Is only for file 'messages'- the size of /var is increasing?? Or else something hidden.
Could u pls tell me about something 'log rolling'?? |
|
|||