All of lore.kernel.org
 help / color / mirror / Atom feed
* How to get NFS user list
@ 2017-11-22 14:31 Özkan Göksu
  2017-11-23 12:13 ` Emmanuel Florac
  0 siblings, 1 reply; 3+ messages in thread
From: Özkan Göksu @ 2017-11-22 14:31 UTC (permalink / raw)
  To: linux-nfs

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?

Best Regards.=

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to get NFS user list
  2017-11-22 14:31 How to get NFS user list Özkan Göksu
@ 2017-11-23 12:13 ` Emmanuel Florac
  2017-11-24 12:58   ` Özkan Göksu
  0 siblings, 1 reply; 3+ messages in thread
From: Emmanuel Florac @ 2017-11-23 12:13 UTC (permalink / raw)
  To: Özkan Göksu; +Cc: linux-nfs

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

Le Wed, 22 Nov 2017 16:31:43 +0200
Özkan Göksu <ozkan.goksu@usishi.com> é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@intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------

[-- Attachment #2: Signature digitale OpenPGP --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to get NFS user list
  2017-11-23 12:13 ` Emmanuel Florac
@ 2017-11-24 12:58   ` Özkan Göksu
  0 siblings, 0 replies; 3+ messages in thread
From: Özkan Göksu @ 2017-11-24 12:58 UTC (permalink / raw)
  To: Emmanuel Florac; +Cc: linux-nfs

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 =E2=80=9Csamba usage" because i =
can't see "10.1.60.219" in there.

Fo example:=20
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@intellique.com> =C5=9Funlar=C4=B1 yazd=C4=B1:
>=20
> Le Wed, 22 Nov 2017 16:31:43 +0200
> =C3=96zkan G=C3=B6ksu <ozkan.goksu@usishi.com> =C3=A9crivait:
>=20
>> 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".
>>=20
>> In the end; I want to manage nfs users. There is not enough
>> information and tools about this problem.
>>=20
>> How you manage your nfs server?
>=20
> 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.
>=20
> --=20
> =
------------------------------------------------------------------------
> Emmanuel Florac     |   Direction technique
>                    |   Intellique
>                    |	<eflorac@intellique.com>
>                    |   +33 1 78 94 84 02
> =
------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-24 11:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-22 14:31 How to get NFS user list Özkan Göksu
2017-11-23 12:13 ` Emmanuel Florac
2017-11-24 12:58   ` Özkan Göksu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.