10-23-2007
Sorry you will see the number of clients?
netstat | grep nfsd | wc -l
Thats all.
joerg
10 More Discussions You Might Find Interesting
1. IP Networking
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
2. IP Networking
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
3. HP-UX
Please Help,
What cammand use to check sharing path on NFS Server.
Thanks, :cool: (2 Replies)
Discussion started by: arm_naja
2 Replies
4. UNIX for Dummies Questions & Answers
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
5. UNIX for Advanced & Expert Users
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
6. Solaris
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
7. UNIX for Advanced & Expert Users
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
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
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
10. Shell Programming and Scripting
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
rpc.nfsd(8) System Manager's Manual rpc.nfsd(8)
NAME
rpc.nfsd - NFS server process
SYNOPSIS
/usr/sbin/rpc.nfsd [options] nproc
DESCRIPTION
The rpc.nfsd program implements the user level part of the NFS service. The main functionality is handled by the nfsd kernel module. The
user space program merely specifies what sort of sockets the kernel service should listen on, what NFS versions it should support, and how
many kernel threads it should use.
The rpc.mountd server provides an ancillary service needed to satisfy mount requests by NFS clients.
OPTIONS
-d or --debug
enable logging of debugging messages
-H or --host hostname
specify a particular hostname (or address) that NFS requests will be accepted on. By default, rpc.nfsd will accept NFS requests on
all known network addresses. Note that lockd (which performs file locking services for NFS) may still accept request on all known
network addresses. This may change in future releases of the Linux Kernel.
-p or --port port
specify a diferent port to listen on for NFS requests. By default, rpc.nfsd will listen on port 2049.
-N or --no-nfs-version vers
This option can be used to request that rpc.nfsd does not offer certain versions of NFS. The current version of rpc.nfsd can support
both NFS version 2,3 and the newer version 4.
-s or --syslog
By default, rpc.nfsd logs error messages (and debug messages, if enabled) to stderr. This option makes rpc.nfsd log these messages
to syslog instead. Note that errors encountered during option processing will still be logged to stderr regardless of this option.
-T or --no-tcp
Disable rpc.nfsd from accepting TCP connections from clients.
-U or --no-udp
Disable rpc.nfsd from accepting UDP connections from clients.
nproc specify the number of NFS server threads. By default, just one thread is started. However, for optimum performance several threads
should be used. The actual figure depends on the number of and the work load created by the NFS clients, but a useful starting point
is 8 threads. Effects of modifying that number can be checked using the nfsstat(8) program.
Note that if the NFS server is already running, then the options for specifying host, port, and protocol will be ignored. The number of
processes given will be the only option considered, and the number of active nfsd processes will be increased or decreased to match this
number. In particular rpc.nfsd 0 will stop all threads and thus close any open connections.
NOTES
If the program is built with TI-RPC support, it will enable any protocol and address family combinations that are marked visible in the
netconfig database.
SEE ALSO
rpc.mountd(8), exports(5), exportfs(8), rpc.rquotad(8), nfsstat(8), netconfig(5).
AUTHOR
Olaf Kirch, Bill Hawes, H. J. Lu, G. Allan Morris III, and a host of others.
7 Aug 2006 rpc.nfsd(8)