Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2019 09:35:37 +0200
From:      Jeremie Le Hen <jlh@freebsd.org>
To:        freebsd-net@freebsd.org
Subject:   Make fstat(1) show socket endpoints information
Message-ID:  <CAGSa5y2t1Ppg8yiJWXSg6yNffJRhC7rJzW92W=LQUAQPpLcfhA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hey folks,

I resurrected this Bugzilla entry [1] which adds an option to fstat(1)
so that it shows sockets' endpoint(s) information.

The initial proposal was adding the "-i" flag because it was working
only for inet/inet6 sockets but the new patch also works for
unix/local sockets, so I renamed the flag "-s".

I created a Phabricator entry for the new patch:
https://reviews.freebsd.org/D21880
This contains a sample output for local/internet sockets.

Let me know what you think.
Cheers,

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=116643
-- 
Jeremie Le Hen
jlh@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGSa5y2t1Ppg8yiJWXSg6yNffJRhC7rJzW92W=LQUAQPpLcfhA>