sockstat -l for kernel listen sockets?

From: Xin LI <delphij_at_delphij.net>
Date: Thu, 16 Oct 2008 15:46:31 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

It looks like that we can not use sockstat -l to show kernel listening
sockets?

[lixin_at_netstorage] ~> sockstat -4l | grep 804
[lixin_at_netstorage] ~> netstat -an | grep LISTEN
tcp4       0      0 *.22                   *.*                    LISTEN
tcp6       0      0 *.22                   *.*                    LISTEN
tcp4       0      0 *.804                  *.*                    LISTEN
tcp6       0      0 *.776                  *.*                    LISTEN
tcp6       0      0 *.2049                 *.*                    LISTEN
tcp6       0      0 *.777                  *.*                    LISTEN
tcp4       0      0 *.778                  *.*                    LISTEN
tcp4       0      0 *.2049                 *.*                    LISTEN
tcp4       0      0 *.832                  *.*                    LISTEN
tcp6       0      0 *.832                  *.*                    LISTEN
tcp4       0      0 *.111                  *.*                    LISTEN
tcp6       0      0 *.111                  *.*                    LISTEN
tcp6       0      0 ::1.953                *.*                    LISTEN
tcp4       0      0 127.0.0.1.953          *.*                    LISTEN
tcp4       0      0 127.0.0.1.53           *.*                    LISTEN
[lixin_at_netstorage] ~> rpcinfo -p | grep 804
    100021    0   tcp    804  nlockmgr
    100021    1   tcp    804  nlockmgr
    100021    3   tcp    804  nlockmgr
    100021    4   tcp    804  nlockmgr

Cheers,
- --
Xin LI <delphij_at_delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkj3xEcACgkQi+vbBBjt66A8RwCgtKUYyUwJ22IW8BX+qu9cr+dz
n+QAoLWpx/xkZUQPzypajmrU3mYjs1Ff
=IHR4
-----END PGP SIGNATURE-----
Received on Thu Oct 16 2008 - 20:46:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:36 UTC