[Bug 215836] [PATCH] sbin/dmesg: support new flag for watching messages

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 6 22:44:52 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215836

--- Comment #3 from Mateusz Guzik <mjg at FreeBSD.org> ---
Granted, I did not know about the limitation, but it hints at a better solution
here:

# procstat -fa | grep klog
  638 syslogd              8 v c r----n--   1   19977 -   /dev/klog

Since syslog already monitors dmesg, you can just inspect the log created by
syslog instead of interfacing with the device.

That said, the feature itself would be nice, but busy checking for work is a
non-starter and it is unlikely it is worth it to make the device openable by
many threads.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list