nfsping(1nfs)


nfsping -- check status of the NFS daemons

Synopsis

/usr/sbin/nfsping -a

/usr/sbin/nfsping -s

/usr/sbin/nfsping -c

/usr/sbin/nfsping -o name

Description

The nfsping command allows any user to check the status of the NFS® daemons, and to see if they are running.

Options

The following options are available to the nfsping command:

-a
Check that all NFS daemons (nfsd, biod, rpcbind, mountd, lockd, statd, bootparamd, and pcnfsd) are running.

-s
Check that the nfsd, rpcbind, mountd, lockd, and statd NFS daemons are running.

-c
Check that the biod, rpcbind, lockd, and statd NFS daemons are running.

-o name
Check that the NFS daemon specified by name is running.
Only one option may be used at a time.

Exit codes

The following values are returned by the nfsping command:

0
All NFS daemons are running

32
No NFS daemons are running

33
Only the rpcbind daemon is running

34
System is running in bootserver mode

35
System is running in pc server mode

36
System is only running in server mode

37
System is only running in client mode

38
System is running in bootserver and client mode

39
System is running in client and pc server mode

40
System is running in server and client mode

41
The rpcbind daemon is not running

42
Usage message printed

43
More than one option has been specified

50
Could not get network configuration for udp

51
The status daemon (statd) is not running

52
Invalid daemon name specified with -o

xx
Could not get network configuration for tcp

Examples

The nfsping -a command reports the following:
   nfsd is running 
   biod is running 
   rpcbind is running 
   mountd is running 
   lockd is running 
   statd is running 
   bootparamd is running 
   pcnfsd is running 
The nfsping -o statd command produces the following output:
   nfsping: statd is running 

References

biod(1Mnfs), bootparamd(1Mnfs), lockd(1Mnfs), mountd(1Mnfs), nfsd(1Mnfs), pcnfsd(1Mnfs), rpcbind(1Mtcp), statd(1Mnfs)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.