sysutils/lsof Author Question (for CLANG)....

Greg 'groggy' Lehey grog at FreeBSD.org
Wed Nov 7 23:00:38 UTC 2012


On Wednesday,  7 November 2012 at 16:35:22 -0600, Larry Rosenman wrote:
> On 2012-11-07 15:39, Greg 'groggy' Lehey wrote:
>> On Wednesday,  7 November 2012 at 10:32:23 -0500, Benjamin Kaduk
>> wrote:
>>>
>>> Once again, attempting to use kernel internals outside of the
>>> supported interfaces is just asking for trouble; I do not understand
>>> why this message is not sinking in over the course of your previous
>>> mails to these lists, so I will not try to belabor it further.
>>
>> IIRC lsof is a special case that always needs to be built with
>> intimate knowledge of the kernel.
>
> This is VERY true.  Since some of the information lsof uses has
> no API/ABI/KPI/KBI to get, it grovels around in the kernel.

And until those interfaces are provided, I think this is legitimate.
If there's anybody out there who hasn't used lsof, you should try it.
It's good.

Greg
--
Sent from my desktop computer.
Finger grog at FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft MUA reports
problems, please read http://tinyurl.com/broken-mua
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20121108/d653217d/attachment.sig>


More information about the freebsd-current mailing list