LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   How can I know who has mounted my nfs server? (https://www.linuxquestions.org/questions/linux-networking-3/how-can-i-know-who-has-mounted-my-nfs-server-725583/)

duyuyang 05-12-2009 10:54 PM

How can I know who has mounted my nfs server?
 
Given a nfs server, how can I know who has mounted my exported directory?

Thanks in advance,

Shawn

maas187 05-13-2009 12:25 AM

Quote:

Originally Posted by duyuyang (Post 3538915)
Given a nfs server, how can I know who has mounted my exported directory?

Thanks in advance,

Shawn


try , tail /var/log/messages

it would give all network activity you need .

chitambira 05-13-2009 04:02 AM

showmount -a

duyuyang 05-14-2009 01:29 AM

Quote:

Originally Posted by chitambira (Post 3539140)
showmount -a

Thanks first.
But showmount seems only to show the ever mounted clients, but not the current clients. When a client umount the nfs server, the client's record does not disappear in showmount -a.

I am using it wrong?

Shawn

chitambira 05-14-2009 06:02 AM

do a showmount without any options


All times are GMT -5. The time now is 10:37 PM.