I am using this command
sudo lsof | grep mongod | grep TCP
it shows record but first it shows below warning i am guesing its not showing me the whole list of open connection
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
please help
sudo umount /run/user/1000/gvfs
– d a i s y Apr 17 '17 at 04:35