procstat(1) [-f], proto=stream without addresses
freebsd at omnilan.de
Mon Mar 13 15:25:05 UTC 2017
Bezüglich Anton Yuzhaninov's Nachricht vom 07.03.2017 04:00 (localtime):
> 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.
>> 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).
Thank you for your answer!
The excerpt was from 'procstat -f' which lists file descriptors. I
wasn't aware of an "unconnected" FD state... Sounds reasonable.
More information about the freebsd-questions