Visit Our UNIX and Linux User Community


command for to check the connected cilents to NFS


 
Thread Tools Search this Thread
Operating Systems Solaris command for to check the connected cilents to NFS
# 1  
Old 10-23-2007
Java command for to check the connected cilents to NFS

Hi all,

i want to know the command for to check the how many clients are connected to NFS server?

regards
Krishna
# 2  
Old 10-23-2007
netstat

Hi,
a simple way is to grep it from netstat
netstat | grep nfs
This shows you the established connection to your server!

I hope this can help you.
Best regards joerg
# 3  
Old 10-23-2007
Sorry you will see the number of clients?
netstat | grep nfsd | wc -l
Thats all.
joerg
# 4  
Old 10-23-2007
cmd

You can use the showmount command
# 5  
Old 10-30-2007
showmount lists all mounts ever made to the server. grepping netstat will give you live data.

I have not seen showmount ever refresh this information; it just seems to add to a textfile (/etc/rmtab) ad infinitum.

Previous Thread | Next Thread
Test Your Knowledge in Computers #343
Difficulty: Medium
Scott McNealy, Andy Bechtolsheim, and Vinod Khosla, all Caltech graduate students, founded Sun Microsystems.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[PERL] Check if socket is connected before sending data

Hello community, I'm programming a simple code using socket connection in perl: $sock = new IO::Socket::INET( PeerAddr => '192.168.10.7', PeerPort => 8000, Proto => 'tcp'); $sock or die "no socket :$!";Then sending data using a loop: ... (1 Reply)
Discussion started by: Lord Spectre
1 Replies

2. Shell Programming and Scripting

AIX NFS Check

Good day On a AIX system I would like to see if a NFS mount is not set to auto mount, the desired output should be Mount name and Yes or NO. My test environment has 3 NFS mounts of which only 1 is set to auto mount. lsfs -v nfs | read -r Name Nodename Mount VFS Size Options Auto Accounting... (3 Replies)
Discussion started by: AE24
3 Replies

3. Shell Programming and Scripting

Hang NFS shell script check

Hello all, i wrote a shell script that was running perfectly fine until we had some issue with our NFS server and the script was hung. This script runs every 20 mins and obviously as we had the NFS issue, the script start to hang. as i do a check to make sure NFS directory is avaiable or not.... (7 Replies)
Discussion started by: crazy_max
7 Replies

4. UNIX for Advanced & Expert Users

Ways to quickly check if you are connected to the internet while on an internal network

I need some help thinking of ways to quickly check if I am connected to the internet while on an internal network. I never lose connection to the internal network but for some annoying reason I lose the internet quite often. I don't get any errors or warnings. I usually find out that I have lost my... (2 Replies)
Discussion started by: cokedude
2 Replies

5. Solaris

Command see all devices connected to Sun server

Hi All, How to view all devices connected to Sun E2900. I wan to view all components attached to it. Please help Regards, NSkumar (3 Replies)
Discussion started by: nskumar
3 Replies

6. UNIX for Advanced & Expert Users

check external hardware connected to linux/solaris machines

hello, I'm planning to do inventory of all our servers but this time it's more on physical. Meaning I would like to check all hardware connected to it (external only like storage, power support) including the count Would like to get perhaps its serial nr..(linux and solaris different servers... (2 Replies)
Discussion started by: lhareigh890
2 Replies

7. UNIX for Dummies Questions & Answers

How to check whether file system is local or NFS?

Hi, suppose I have file system path say /foo/bar/baz then how would I find out whether it is local file system or NFS? If it is NFS then I want to find out the host where file system is located. Thanks, Paresh (5 Replies)
Discussion started by: masaniparesh
5 Replies

8. HP-UX

Command for check NFS Server.

Please Help, What cammand use to check sharing path on NFS Server. Thanks, :cool: (2 Replies)
Discussion started by: arm_naja
2 Replies

9. IP Networking

how can i check whether i am connected to thenetwork

On a Unix system terminal without GUI (graphical user interface) how can i check whether i am connected to a network. (1 Reply)
Discussion started by: ud4u
1 Replies

10. IP Networking

check whether connected to network

hi... can anyone pls suggest a few methods to check whether a computer is connected to any network, using the terminal, not GUI. thanks eskay (1 Reply)
Discussion started by: eskay_karthik
1 Replies

Featured Tech Videos