TTY_00000000.log files
Robert Jaroszuk
zim at iq.pl
Sat May 16 14:56:18 CDT 2009
madunix wrote:
> I have TTY logs, these files being generated in my log directory
> [root at linux1 log]# ls -al TTY_0*
> -rw-rw-rw- 1 root root 297880 May 16 21:17 TTY_00000000.log
> ......
> -rw-rw-rw- 1 root root 471433 Apr 28 2008 TTY_00000000.log.15
>
> How can I minimize producing them? Can I remove them?
>
> System: RHEL5 PE2950
> uptime 21:39:11 up 116 days, 10:55, 3 users, load average: 0.08, 0.06, 0.01
Those are OMSA log files.
It is not a good idea to remove them at all, but you if you logrotate
them, there should be no problem. Check if you have
/etc/logrotate.d/omsa* file. If so, then consider adding "compress" line
to the script (like below):
/var/log/TTY_00000000.log {
daily
notifempty
dateext
rotate 14
*compress*
postrotate
/etc/init.d/dsm_om_shrsvc restart
endscript
}
--
... Robert Jaroszuk ...
GCS/IT/O d? s: a- C++ ULB++++$ P+ L++++$ E- W++ K- N+ DI+ V-
w M- PS+ PE Y(+) PGP-(+++) t-- 5? X R !tv b++>++++ D- y+ G++
.. The superior warrior wins without fighting -- Sun Tzu. ..
-> New photos: http://zim.iq.pl/photo/
More information about the Linux-PowerEdge
mailing list