summaryrefslogtreecommitdiffstats
path: root/utils/statd/statd.man
diff options
context:
space:
mode:
Diffstat (limited to 'utils/statd/statd.man')
-rw-r--r--utils/statd/statd.man13
1 files changed, 12 insertions, 1 deletions
diff --git a/utils/statd/statd.man b/utils/statd/statd.man
index 84199e8..9f861b2 100644
--- a/utils/statd/statd.man
+++ b/utils/statd/statd.man
@@ -8,7 +8,7 @@
.SH NAME
rpc.statd \- NSM status monitor
.SH SYNOPSIS
-.B "/sbin/rpc.statd [-F] [-d] [-?] [-o " port "] [-p " port "] [-V]"
+.B "/sbin/rpc.statd [-F] [-d] [-?] [-n " name "] [-o " port "] [-p " port "] [-V]"
.SH DESCRIPTION
The
.B rpc.statd
@@ -52,6 +52,17 @@ be used in conjunction with the
.B -F
parameter.
.TP
+.BI "\-n," "" " \-\-name " name
+specify a name for
+.B rpc.statd
+to use as the local hostname. By default,
+.BR rpc.statd
+will call
+.BR gethostname (2)
+to get the local hostname. Specifying
+a local hostname may be useful for machines with more than one
+interfaces.
+.TP
.BI "\-o," "" " \-\-outgoing\-port " port
specify a port for
.B rpc.statd