[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where's the log



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 09/02/2014 at 11:21 AM, Bzzzz wrote:

> On Tue, 02 Sep 2014 11:13:02 -0400 The Wanderer 
> <wanderer@fastmail.fm> wrote:
> 
>> I often find that there is text in dmesg which - to the best of
>> my ability to determine - is not visible in any file under
>> /var/log/.
> 
> it is: /var/log/dmesg;

That fits with what I would have expected, but again, my experience has
indicated that the text in that file does not always match (i.e. omits
things from, not merely "is not identical to" or "is not as up-to-date
as") the output from the dmesg command.

> furthermore, this file shows much long term info than the command 
> itself (WTF? Write delay may be).

The dmesg command doesn't read the file, but queries the kernel ring
buffer, whose contents may or may not end up dumped into that file at
some point.

The default ring-buffer size is 16K, and dmesg asks for that much data
from the buffer by default. If you know that the buffer on your system
is larger, you can ask for more data from the buffer with the '-s' option.

Anything beyond the buffer-size limit will of course not be provided by
the command, but may still be present in the file.

- -- 
   The Wanderer

Secrecy is the beginning of tyranny.

A government exists to serve its citizens, not to control them.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJUBeNcAAoJEASpNY00KDJrFPoP/0ybpOV6pcZTV3E4DM2/gTQR
5oobE7OjRnPvu2eaF000SdzYURX5ADdVGKwThraaLx3N1wMWmAHlcmdeeOmDQebn
HxO42gxhMqKeR4Nzc1D0TXz3YIRDlBofRgJUK10RKbopq5Uxhm7cUcxafqsF+skB
oMvD9X/oggiGCyrlKW45ESak22rbntHNNYNTI449kqNPVKJzv/4sdS0AgOngvftL
GJpcuTRZreVueTCJtEIAcpta5PVTa/GGMXHL8ZnmWPFhkRxe/+9wOd6XjrxbFZoQ
1rKwheFmlfDFsBNY6Xkfbza7pucTb67CKiedXi54gDGvRb4thpDKSR2DJ/V0oTUt
0+upNDvHq6nYBpvMVjx4lvmjqnDjHBuUuLeToZjVrYhL/1LnOlVJ9sb64hqBhJ1l
izAvooWThW4xUBdyv9LawGk3SfTldPUipLuUFNYKMy2pi+OPumqAw6O+SmJ8Fnnt
XtOI2wqjaETaDHJPi56KVPmNTTbRfeBeujYog2nHmZLprKqp/YQFpJbA2h1Wwqij
69vDpX2oWuGf8tMDGshfx1XGn6NunXCOo2dvx/8e5Lt9T5f2cLIZhN6jJ2qs3mUK
OvnnvXS6/Bkg7MPCGILP6bTV/Nwld21jzO29dw9oK4XJMAZ2KUU6N30oT0IKPUSC
kPZN/wOq6ULI/JNrCkaT
=/HtQ
-----END PGP SIGNATURE-----


Reply to: