Sep
21
Writing to kernel ring buffer from userspace
Filed Under (C, Coding, Linux, Linux kernel, Open source) by 2of1 on 21-09-2010
UPDATE: See comments
Linux purists are going to go crazy at this, but I was looking for a way to write to the kernel ring buffer (read by dmesg) from a userspace script.
I’m not going to debate the ‘whys’ – but in short I like having my sys logs for automated system actions (some which are userspace-launched) in one neat place.
Read the rest of this entry »



