ok, thanks for the info.

-bash-3.00# showmount -a "List both the client hostname and mounted directory in host:dir format."
All mount points on NAS163:
*:/mnt/NAS/public
*:/mnt/NAS/share1/share1
192.168.100.162:*
192.168.100.164:*
 
I have the client IP but no idea which resource is mounted. i've seen some NAS, they were able to get the client IP and the mounted resource.
maybe in the system log, because  there's an info:
"Jun 19 12:10:13 localhost rpc.mountd: authenticated mount request from 192.168.100.162:720 for /mnt/NAS/public (/mnt/NAS/public)"
but its hard to get a specific string in a log file.
Any idea how can I get the client IP and the connected resource?


 
On 6/15/06, Gari Melecio <[EMAIL PROTECTED]> wrote:

Hi Warren.

NFS doesn't work like samba where _users_ use shares. In NFS, _hosts_
are the users.

     man showmount

Use showmount on the NFS server to show which hosts are using your
exports. You can also use showmount from other machines to display
your NFS server's exported directories.

Check out also

     http://nfs.sourceforge.net/

for FAQs on NFS on Linux.

HTH.

Gari

On Jun 14, 2006, at 4:29PM, Warren Beldad wrote:

> Does anyone knows how to monitor a NFS server?
> like whose currently logged on, username and the IP add of client
> and what resources are being used? just like smbstatus on samba.
> I can get the IP add with netstat but no idea on username and the
> resources used...




_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to