Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Mar 2014 15:00:00 GMT
From:      "C Hutchinson" <portmaster@bsdforge.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/187240: sysutils/tcplist incompatible with sysutils/lsof
Message-ID:  <201403041500.s24F00WO057611@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/187240; it has been noted by GNATS.

From: "C Hutchinson" <portmaster@bsdforge.com>
To: "Ruslan Makhmatkhanov" <cvs-src@yandex.ru>
Cc: bug-followup@freebsd.org
Subject: Re: ports/187240: sysutils/tcplist incompatible with sysutils/lsof
Date: Tue, 4 Mar 2014 06:56:15 -0800 (PST)

 Greetings, Ruslan, and thank you very much for the response.
 > Hi,
 >
 > this patch will fix lsof command (it works while running manually), but
 > tcplist itself is still broken, because it doesn't output anything.
 
 Ahh, I see. Thanks for taking the time to do this.
 
 >
 > By the way, doesn't sockstat(1) is what you looking for? F.e.:
 >
 > [rm@smeshariki4 tcplist]> sudo sockstat -4l
 > USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS  FOREIGN ADDRESS
 > root     sshd       84319 4  tcp4   *:22                  *:*
 > mysql    mysqld     84283 10 tcp4   *:3306                *:*
 > www      httpd      84169 4  tcp4   *:80                  *:*
 > www      httpd      84168 4  tcp4   *:80                  *:*
 > www      httpd      84167 4  tcp4   *:80                  *:*
 > www      httpd      84166 4  tcp4   *:80                  *:*
 > www      httpd      84165 4  tcp4   *:80                  *:*
 > www      httpd      84164 4  tcp4   *:80                  *:*
 > root     httpd      84163 4  tcp4   *:80                  *:*
 
 Indeed. In my struggle to retreive similar output from something else, I remembered
 sockstat(1). :)
 
 >
 > --
 > Regards,
 > Ruslan
 >
 > T.O.S. Of Reality
 >
 
 Thanks again, for all your time, and attention to this.
 
 --Chris
 



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