summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-23 00:50:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-06-23 00:50:34 +0000
commit5080e07816645d5f8b3a2a169320545589f367e2 (patch)
treecc786dd192aae7288303ed7b34b684e060d28c37 /usr.sbin
parenta66f30b995f79e6d66da0cce0e1902d393ef1b96 (diff)
only root need apply
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ifmcstat/Makefile2
-rw-r--r--usr.sbin/ifmcstat/ifmcstat.821
2 files changed, 16 insertions, 7 deletions
diff --git a/usr.sbin/ifmcstat/Makefile b/usr.sbin/ifmcstat/Makefile
index b838a07d608..1efc36127c3 100644
--- a/usr.sbin/ifmcstat/Makefile
+++ b/usr.sbin/ifmcstat/Makefile
@@ -2,7 +2,7 @@ PROG= ifmcstat
MAN= ifmcstat.8
BINGRP= kmem
-BINMODE=2555
+BINMODE=555
LDADD= -lkvm
DPADD= ${LIBKVM}
diff --git a/usr.sbin/ifmcstat/ifmcstat.8 b/usr.sbin/ifmcstat/ifmcstat.8
index cd6596bf227..d607fcb5b84 100644
--- a/usr.sbin/ifmcstat/ifmcstat.8
+++ b/usr.sbin/ifmcstat/ifmcstat.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ifmcstat.8,v 1.3 2000/04/12 21:47:53 aaron Exp $
+.\" $OpenBSD: ifmcstat.8,v 1.4 2001/06/23 00:50:33 deraadt Exp $
.\"
.\" Copyright (c) 1996 WIDE Project. All rights reserved.
.\"
@@ -21,13 +21,22 @@
.Nd dump multicast group management statistics per interface
.Sh SYNOPSIS
.Nm
-.\"
.Sh DESCRIPTION
The
.Nm ifmcstat
-program dumps multicast group information in the kernel.
+program dumps multicast group information from the kernel.
+It is similar but not identical to the output from
+.Nm netstat
+.Fl inav .
.Pp
There are no command line options.
-.\"
-.\" .Sh SEE ALSO
-.\" RFC2080 -- IPng for IPv6. G. Malkin, R. Minnear. January 1997.
+.Pp
+Only root can use
+.Nm ifmcstat .
+.Sh SEE ALSO
+.Xr netstat 8
+.Pp
+.%R IPng for IPv6
+.%N RFC2080
+.%A G. Malkin
+.%A R. Minnear