Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2017 22:00:50 -0500
From:      Anton Yuzhaninov <citrin+bsd@citrin.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: procstat(1) [-f], proto=stream without addresses
Message-ID:  <611e5fe5-0a25-2058-96b2-51b1fe3ad7f9@citrin.ru>
In-Reply-To: <58BDBAF7.5000907@omnilan.de>
References:  <58BDBAF7.5000907@omnilan.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 03/06/17 14:39, Harry Schmalzbauer wrote:
> One thing I noticed is that procstst(1) doesn't show any addresses for
> my evil process.
> Excerpt:
>
> USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
> squid negotiate_ 597 1 stream -> ??
> squid negotiate_ 596 0 stream -> ??
> squid negotiate_ 596 1 stream -> ??

1. It looks like output from sockstat(1), not procstat(1)

2. stream is Unix domain stream socket

String "??" probably mean, that this file descriptor is not connected 
(was closed by remote side, but not by this process).

May be it is a descriptor leak.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?611e5fe5-0a25-2058-96b2-51b1fe3ad7f9>