# grep nfs /etc/services
nfsd 2049/udp nfs # NFS server daemon
(clts)
nfsd 2049/tcp nfs # NFS server daemon
(cots)
#
# netstat -a | grep 2049
#
# ps -ef | grep nfs
root 182 1 0 Sep 25 ? 0:00 /usr/lib/nfs/lockd
daemon 183 1 0 Sep 25 ? 0:00 /usr/lib/nfs/statd
root 308 1 0 Sep 25 ? 1:04 /usr/lib/nfs/nfsd
root 306 1 0 Sep 25 ? 0:00 /usr/lib/nfs/mountd
root 20550 20108 0 11:51:52 pts/1 0:00 grep nfs
#
# pfiles 308 | grep port
#
It seems that NFS is not using any port?
Thanks
Victor
netstat uses /etc/services (or the underlying nameservice database)
to give the name, so either one of the following will work:
netstat -a | grep nfsd
netstat -an | grep 2049
--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]
Not in user space. In Solaris the NFS server runs inside the kernel.
--
Daniel