LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-06-2007, 05:25 AM   #1
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Rep: Reputation: 15
Question whose using nfs server?


hi everyone,
I would like to know who are using/connected to my nfs server?
 
Old 08-06-2007, 08:17 AM   #2
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
Code:
$ netstat | grep nfs
tcp        0      0 RFZIWEZHTIOZ.HWEITG:807 192.168.3.7:nfs             ESTABLISHED
tcp        0      0 WOEIFTHEJTGPOWEPOGTJ.PWETG:915 SIHGHSDGL.SDGKJ:nfs    ESTABLISHED
 
Old 08-08-2007, 12:53 AM   #3
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Original Poster
Rep: Reputation: 15
Smile

can you tell me how to monitor ?? like a any tail comnd as such
thanx a ton

Last edited by gsr_kashyap; 08-08-2007 at 12:54 AM.
 
Old 08-09-2007, 12:43 AM   #4
brianmcgee
Member
 
Registered: Jun 2007
Location: Munich, Germany
Distribution: RHEL, CentOS, Fedora, SLES (...)
Posts: 399

Rep: Reputation: 40
If you want to track continuously all connections you could look at the actual network traffic:

Code:
#  tcpdump | grep nfs
This will run forever and you will see all nfs communication including the handshake between two machines. You could further grep for ack packages to see which connections are acknowledged...
 
Old 08-09-2007, 01:34 AM   #5
gsr_kashyap
Member
 
Registered: Jul 2004
Location: india
Distribution: Ubuntu 14.04
Posts: 155

Original Poster
Rep: Reputation: 15
Thumbs up

thats great help!!
 
Old 08-09-2007, 02:04 PM   #6
yanik
Member
 
Registered: Oct 2003
Location: Montreal Beach
Distribution: Debian Unstable
Posts: 368

Rep: Reputation: 30
You can also use showmount to see what workstation has mounted your share.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
SUSE NFS client can't detect an NFS server RedBoot SUSE / openSUSE 4 01-19-2009 11:56 PM
NFS Error during PXE Boot from NFS server JatMan Linux - Enterprise 0 10-16-2006 05:48 PM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
SuSE 9.0 NFS client with RHL 7.3 NFS server ocjacob Linux - Networking 0 02-01-2005 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration