On Thu, Jan 27, 2005 at 01:55:54 -0800, cranium2003 wrote: > Hello anil, > But what should be the max val i can > assign to LOG_BUF_LEN? I am using RH9 on Pentium 4 > machine. Whatever. You will get at most LOG_BUF_LEN bytes out of dmesg, so it must be larege enough that the messages you are interested in fit in. It is a static buffer that eats up your memory, so it should be reasonably small not to eat up too much of it. Note: distro and cpu are irrelevant here -- memory and kernel version are relevant (kernel from RH package is different than kernel from kernel.org). ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@xxxxxx>
Attachment:
signature.asc
Description: Digital signature