ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: stopping logging daemons to reduce SD flash wear

To: "" <>
Subject: Re: [ts-7000] Re: stopping logging daemons to reduce SD flash wear
From: Jason Taylor <>
Date: Tue, 31 May 2011 17:22:53 -0400


Install lsof (list open files) and look for which processes open the files you want to keep quiet. It's actually a good way to explore your running system. 

/Jason




On May 31, 2011, at 10:32, wrote:

 

Thanks, Martin. There must be a script somewhere that is creating
/var/log/dmesg. I can open it and read it with nano. It is ASCII text.
A dmesg.0 file is also created.

Don
>
>> -----Original Message-----
>> From: m("yahoogroups.com","ts-7000");"> [mailto:m("yahoogroups.com","ts-7000");">] On Behalf
>> Of Don Tucker
>> Sent: Friday, May 27, 2011 9:52 AM
>> To: m("yahoogroups.com","ts-7000");">
>> Subject: Re: [ts-7000] stopping logging daemons to reduce SD flash wear
>>
>> I moved S11klogd to K89klogd and S10sysklogd to K90sysklogd, as
>> instructed by the README in /etc/rc2.d. But, that did not seem to work.
>> I tried your suggestion, Jim, and that seemed to stop most of the logs
>> except for dmesg. Thanks! I guess dmesg is OK to keep, since that is
>> just the log of loading the drivers at boot, if I understand correctly.
>> Does anyone know where dmesg gets called? I would like to prevent it
>> from growing too big, if possible.
>>
>
> I am sure I will be corrected if I am wrong .. dmesg is a program that
> lists kernel messages. The kernel messages themselves are not written to
> a file unless you or some other script does this. I think the kernel
> message buffer is a fixed size so old messages get lost.
>
> So there isn't a log called dmesg. On some old systems, there is a script
> that regularly calls
> dmesg -c >> /var/adm/syslog
> so that messages are regularly appended to the syslog, and the buffer
> cleared.
>
> But there isn't a dmesg log as such.
>
> Does this help?
>
> Martin
>
>



__._,_.___


Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU