[HPADM] RESTATING: lsof doesn't show nfsd? - what is /dev/udp

From: Jeff Lightner (jlightner@water.com)
Date: Thu Oct 27 2005 - 08:57:39 EDT


OK I've now received a couple of responses that make it appear I haven't
properly explained this. One implies I don't know how to use lsof
which I DO and the other implies the port is not active which it IS and
also implies that /dev/udp doesn't exist which it DOES.

 

So I figure I'll cut and paste what I see:

 

netstat -an |grep 2049

(IPs obfuscated with xx)

tcp 0 0 *.2049 *.*
LISTEN

tcp 0 0 10.0.xx.xx.2049 10.0.xx.xx.599
ESTABLISHED

tcp 0 0 10.0.xx.xx.2049 10.0.xx.xx.607
ESTABLISHED

tcp 0 0 10.0.xx.xx.2049 10.0.xx.xx.811
ESTABLISHED

udp 0 0 *.2049 *.*

udp 0 0 *.2049 *.*

udp 0 0 *.2049 *.*

udp 0 0 *.2049 *.*

 

lsof -i :2049

Shows nothing

 

lsof |grep 2049:

lsof |grep 2049

bptm 28172 root 11u CHR 203,0x1f3100 0t0 2049
/dev/sctl/c31t3l1

(This has nothing to do with nfsd - just showing that nowhere in lsof
does it see PORT 2049).

 

 

lsof |grep nfsd

(We're running 16 nfsd's as this is a filesystem that gets shared out to
almost every other server.)

nfsd 3834 root cwd DIR 64,0x3 8192 2 /

nfsd 3834 root rtd DIR 64,0x3 8192 2 /

nfsd 3834 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3834 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3834 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3834 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3834 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3834 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3834 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3834 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3834 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3834 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3834 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3834 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3834 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3834 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3834 root 4u STR 21,0x740002 0t0 84
/dev/tcp->rpcmod->tcpm->ip

nfsd 3834 root 5u STR 21,0x30000b 0t0 84
/dev/tcp->rpcmod->tcpm->ip

nfsd 3834 root 7u STR 21,0x2c000e 0t0 84
/dev/tcp->rpcmod->tcpm->ip

nfsd 3834 root 8u STR 21,0xa40005 0t0 84
/dev/tcp->rpcmod->tcpm->ip

nfsd 3834 root 9u STR 21,0x3c000b 0t0 84
/dev/tcp->rpcmod->tcpm->ip

nfsd 3835 root cwd DIR 64,0x3 8192 2 /

nfsd 3835 root rtd DIR 64,0x3 8192 2 /

nfsd 3835 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3835 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3835 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3835 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3835 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3835 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3835 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3835 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3835 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3835 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3835 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3835 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3835 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3835 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3835 root 4u STR 22,0x800002 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3840 root cwd DIR 64,0x3 8192 2 /

nfsd 3840 root rtd DIR 64,0x3 8192 2 /

nfsd 3840 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3840 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3840 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3840 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3840 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3840 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3840 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3840 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3840 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3840 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3840 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3840 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3840 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3840 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3840 root 4u STR 22,0x780002 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3841 root cwd DIR 64,0x3 8192 2 /

nfsd 3841 root rtd DIR 64,0x3 8192 2 /

nfsd 3841 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3841 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3841 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3841 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3841 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3841 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3841 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3841 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3841 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3841 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3841 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3841 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3841 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3841 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3841 root 4u STR 22,0x7c0003 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3842 root cwd DIR 64,0x3 8192 2 /

nfsd 3842 root rtd DIR 64,0x3 8192 2 /

nfsd 3842 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3842 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3842 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3842 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3842 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3842 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3842 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3842 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3842 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3842 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3842 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3842 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3842 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3842 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3842 root 4u STR 22,0x840002 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3843 root cwd DIR 64,0x3 8192 2 /

nfsd 3843 root rtd DIR 64,0x3 8192 2 /

nfsd 3843 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3843 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3843 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3843 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3843 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3843 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3843 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3843 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3843 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3843 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3843 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3843 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3843 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3843 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3843 root 4u STR 22,0x7c0003 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3844 root cwd DIR 64,0x3 8192 2 /

nfsd 3844 root rtd DIR 64,0x3 8192 2 /

nfsd 3844 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3844 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3844 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3844 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3844 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3844 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3844 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3844 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3844 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3844 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3844 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3844 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3844 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3844 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3844 root 4u STR 22,0x800002 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3845 root cwd DIR 64,0x3 8192 2 /

nfsd 3845 root rtd DIR 64,0x3 8192 2 /

nfsd 3845 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3845 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3845 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3845 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3845 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3845 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3845 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3845 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3845 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3845 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3845 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3845 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3845 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3845 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3845 root 4u STR 22,0x7c0003 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3846 root cwd DIR 64,0x3 8192 2 /

nfsd 3846 root rtd DIR 64,0x3 8192 2 /

nfsd 3846 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3846 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3846 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3846 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3846 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3846 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3846 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3846 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3846 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3846 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3846 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3846 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3846 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3846 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3846 root 4u STR 22,0x800002 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3847 root cwd DIR 64,0x3 8192 2 /

nfsd 3847 root rtd DIR 64,0x3 8192 2 /

nfsd 3847 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3847 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3847 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3847 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3847 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3847 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3847 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3847 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3847 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3847 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3847 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3847 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3847 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3847 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3847 root 4u STR 22,0x840002 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3848 root cwd DIR 64,0x3 8192 2 /

nfsd 3848 root rtd DIR 64,0x3 8192 2 /

nfsd 3848 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3848 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3848 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3848 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3848 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3848 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3848 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3848 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3848 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3848 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3848 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3848 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3848 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3848 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3848 root 4u STR 22,0x800002 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3849 root cwd DIR 64,0x3 8192 2 /

nfsd 3849 root rtd DIR 64,0x3 8192 2 /

nfsd 3849 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3849 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3849 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3849 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3849 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3849 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3849 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3849 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3849 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3849 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3849 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3849 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3849 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3849 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3849 root 4u STR 22,0x840002 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3850 root cwd DIR 64,0x3 8192 2 /

nfsd 3850 root rtd DIR 64,0x3 8192 2 /

nfsd 3850 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3850 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3850 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3850 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3850 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3850 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3850 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3850 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3850 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3850 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3850 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3850 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3850 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3850 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3850 root 4u STR 22,0x840002 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3851 root cwd DIR 64,0x3 8192 2 /

nfsd 3851 root rtd DIR 64,0x3 8192 2 /

nfsd 3851 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3851 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3851 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3851 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3851 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3851 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3851 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3851 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3851 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3851 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3851 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3851 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3851 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3851 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3851 root 4u STR 22,0x7c0003 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3865 root cwd DIR 64,0x3 8192 2 /

nfsd 3865 root rtd DIR 64,0x3 8192 2 /

nfsd 3865 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3865 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3865 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3865 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3865 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3865 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3865 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3865 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3865 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3865 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3865 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3865 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3865 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3865 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3865 root 4u STR 22,0x780002 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3866 root cwd DIR 64,0x3 8192 2 /

nfsd 3866 root rtd DIR 64,0x3 8192 2 /

nfsd 3866 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3866 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3866 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3866 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3866 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3866 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3866 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3866 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3866 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3866 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3866 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3866 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3866 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3866 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3866 root 4u STR 22,0x780002 0t0 81
/dev/udp->nfsm->udpm->ip

nfsd 3867 root cwd DIR 64,0x3 8192 2 /

nfsd 3867 root rtd DIR 64,0x3 8192 2 /

nfsd 3867 root txt REG 64,0x7 32768 780
/usr (/dev/vg00/lvol7)

nfsd 3867 root mem REG 64,0x7 53248 27687
/usr (/dev/vg00/lvol7)

nfsd 3867 root mem REG 64,0x7 45056 30236
/usr (/dev/vg00/lvol7)

nfsd 3867 root mem REG 64,0x7 16384 5411
/usr (/dev/vg00/lvol7)

nfsd 3867 root mem REG 64,0x7 12794 5334
/usr (/dev/vg00/lvol7)

nfsd 3867 root mem REG 64,0x7 135168 955
/usr (/dev/vg00/lvol7)

nfsd 3867 root mem REG 64,0x7 741376 30235
/usr (/dev/vg00/lvol7)

nfsd 3867 root mem REG 64,0x7 1814528 27739
/usr (/dev/vg00/lvol7)

nfsd 3867 root mem REG 64,0x7 24576 4972
/usr (/dev/vg00/lvol7)

nfsd 3867 root mem REG 64,0x7 155648 118
/usr (/dev/vg00/lvol7)

nfsd 3867 root 0r CHR 3,0x2 0t0 66
/dev/null

nfsd 3867 root 1w CHR 3,0x2 0t0 66
/dev/null

nfsd 3867 root 2w CHR 3,0x2 0t0 66
/dev/null

nfsd 3867 root 3u FIFO 0x559aa048 0t0 2073

nfsd 3867 root 4u STR 22,0x780002 0t0 81
/dev/udp->nfsm->udpm->ip

 

And finally:

ls -l /dev/udp

crw-rw-rw- 1 root root 72 0x000016 Oct 6 17:17 /dev/udp

Note sure what the -> stuff in above output is - it appears to me it is
showing some sort of link to the port which is why I questioned this in
original email. Also what is an "STR" filehandle?

 

 

________________________________

From: hpux-admin-owner@DutchWorks.nl
[mailto:hpux-admin-owner@DutchWorks.nl] On Behalf Of Jeff Lightner
Sent: Tuesday, October 25, 2005 4:11 PM
To: hpux-admin@DutchWorks.nl
Subject: [HPADM] lsof doesn't show nfsd? - what is /dev/udp?

 

OK - Just asking for curiosity. We were trying to install a SW package
that requested a range of ports and gave it a range that included 2049.
It failed because 2049 is apparently in use by nfsd. We found this in
"netstat -an" and then found 2049 in /etc/services.

However if I run:

lsof -i :2049

It finds nothing. It should have shown me the process (nfsd) that had
this port open.

If I run:

lsof |grep nfsd

It finds no sockets but does show entries such as:

nfsd 7776 root 4u STR 22,0x800c3 0t0 84
/dev/udp->nfsm->udpm->ip

So I'm assuming it is somehow using the /dev/udp to open the port.

My question is why wouldn't it show me 2049 in lsof? How would I know a
port was open on this /dev/udp and moreover how would I know what was
using it? Is there something that would tell me this if it weren't
defined in /etc/services like nfsd?

 

Jeffrey C. Lightner

Unix Systems Administrator

DS Waters of North America

678-486-3516

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:50 EDT