Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jan 2017 22:44:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 215836] [PATCH] sbin/dmesg: support new flag for watching messages
Message-ID:  <bug-215836-8-7EdYPjPmkV@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215836-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215836-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215836

--- Comment #3 from Mateusz Guzik <mjg@FreeBSD.org> ---
Granted, I did not know about the limitation, but it hints at a better solu=
tion
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215836-8-7EdYPjPmkV>