Re: How to get NFS user list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Emmanuel.

Thank you for reply.
In the end I need information about NFS to show on my Gui.
But NFS gives me nothing.
At least we need to see who and where is connected, how much io the nfs server is using realtime.

I can see who is connected with "netstat -an | grep host:.2049"
I can get which ip using which share with showmount But showmount command shows me something else maybe “samba usage" because i can't see "10.1.60.219" in there.

Fo example: 
netstat -an | grep 10.1.60.4:2049
tcp        0      0 10.1.60.4:2049          10.1.60.219:776         ESTABLISHED
tcp        0      0 10.1.60.4:2049          192.168.10.31:764       ESTABLISHED

cat /var/lib/nfs/rmtab
10.1.60.73:/clspool/winnfs:0x00000001
10.1.60.70:/clspool/winnfs2:0x00000001
10.1.60.70:/clspool/winnfs:0x00000003
192.168.10.7:/clspool/nfstest:0x00000004
10.2.60.128:/clspool/nfstest:0x00000001


> 23 Kas 2017 tarihinde 14:13 saatinde, Emmanuel Florac <eflorac@xxxxxxxxxxxxxx> şunları yazdı:
> 
> Le Wed, 22 Nov 2017 16:31:43 +0200
> Özkan Göksu <ozkan.goksu@xxxxxxxxxx> écrivait:
> 
>> I want to get NFS user list (client list) like "smbstatus"
>> I want to see which user & ip is using which share and when connected.
>> I want to kill a nfs user.
>> I want to log what an user is doing like "Create, modify, delete".
>> 
>> In the end; I want to manage nfs users. There is not enough
>> information and tools about this problem.
>> 
>> How you manage your nfs server?
> 
> Traditional tools for NFS monitoring are showmount, nfsstat and
> nfswatch. Common other tools are nfsiostats and mountstats (on the
> client). Unfortunately, AFAIK there is no single tools providing all
> needed information, and nothing that compares to "smbstatus", i.e.
> connected clients and opened files.
> 
> -- 
> ------------------------------------------------------------------------
> Emmanuel Florac     |   Direction technique
>                    |   Intellique
>                    |	<eflorac@xxxxxxxxxxxxxx>
>                    |   +33 1 78 94 84 02
> ------------------------------------------------------------------------

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux