Skip to main content.

2006-Dec-13

Couldn't figure out what processes were listening on some ports on Linux. "netstat -anp" and lsof didn't know. I read it may be related to RPC but was not sure.

I used "rpcinfo -p" and that showed me the port numbers with names. All were listed with netstat -anp except the ports I was looking for. They were shown by rpcinfo as "nlockmgr".

I read that this is the kernel's lockd. And ps shows I have "[lockd]".

So that explains why no "normal" process was associated with it.

I didn't find the reference "nlockmgr" in my kernel source, but I assume it is in the glibc source (I didn't look) as rpcinfo is from glibc.