Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2008 15:46:31 -0700
From:      Xin LI <delphij@delphij.net>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   sockstat -l for kernel listen sockets?
Message-ID:  <48F7C447.8070308@delphij.net>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

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

[lixin@netstorage] ~> sockstat -4l | grep 804
[lixin@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@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@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-----



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