Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 1997 02:04:53 -0800 (PST)
From:      John-Mark Gurney <jmg@nike.efn.org>
To:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   pppstats and slstat...  (plus pppstats.8 to mdoc)
Message-ID:  <Pine.BSF.3.95q.970210015122.21086P-100000@hydrogen.nike.efn.org>

next in thread | raw e-mail | index | archive | help
hmm...  I was just really noticing the difference in convention between
the two...  any good reason one is plural and the other isn't??  anyone
else found this annoying?  comments?

also...  the pppstats.8 doesn't have xrefs to pppd...  plus it isn't
mdoc'ified...

here we go:
Index: pppstats.8
===================================================================
RCS file: /usr/cvs/src/usr.sbin/pppstats/pppstats.8,v
retrieving revision 1.4
diff -c -r1.4 pppstats.8
*** pppstats.8	1997/01/14 07:16:31	1.4
--- pppstats.8	1997/02/10 10:00:47
***************
*** 1,42 ****
  .\"	@(#) $FreeBSD$
! .TH PPPSTATS 8 "2 May 1995"
! .SH NAME
! pppstats \- print PPP statistics
! .SH SYNOPSIS
! .B pppstats
! [
! .B -v
! ] [
! .B -r
! ] [
! .B -c
! ] [
! .B -i
! .I <secs>
! ] [
! .I <unit#>
! ]
! .ti 12
! .SH DESCRIPTION
! .B pppstats
  prints PPP-related statistics.
! .PP
  The
! .B -v
  flag causes
! .B pppstats
  to display additional statistics, such as the number of packets tossed
  (that is, which the VJ TCP header decompression code rejected).
! .PP
  The
! .B -r
  flag causes
! .B pppstats
  to display the overall packet compression rate.  The rate value is
  between 0 and 1, with 0 meaning that the data is incompressible.
! .PP
  The
! .B -c
  flag is used to specify an alternate display mode that shows
  packet compression statistics: the number of packets and bytes
  uncompressed (that is, before compression or after decompression),
--- 1,34 ----
  .\"	@(#) $FreeBSD$
! .Dd May 2, 1995
! .Dt PPPSTATS 8
! .Sh NAME
! .Nm pppstats
! .Nd print PPP statistics
! .Sh SYNOPSIS
! .Nm
! .Op Fl vrc
! .Op Fl i Ar secs
! .Op Ar unit#
! .Sh DESCRIPTION
! .Nm pppstats
  prints PPP-related statistics.
! .Pp
  The
! .Fl v
  flag causes
! .Nm
  to display additional statistics, such as the number of packets tossed
  (that is, which the VJ TCP header decompression code rejected).
! .Pp
  The
! .Fl r
  flag causes
! .Nm
  to display the overall packet compression rate.  The rate value is
  between 0 and 1, with 0 meaning that the data is incompressible.
! .Pp
  The
! .Fl c
  flag is used to specify an alternate display mode that shows
  packet compression statistics: the number of packets and bytes
  uncompressed (that is, before compression or after decompression),
***************
*** 45,54 ****
  compression rate.  This rate reflects the recent performance of the
  compression code rather than the overall rate achieved since
  compression was enabled.
! .PP
  The
! .B -i
  flag is used to specify the interval between printouts. The default is
  5 seconds.
! .PP
! <unit#> specifies which interface to use for gathering statistics.
--- 37,49 ----
  compression rate.  This rate reflects the recent performance of the
  compression code rather than the overall rate achieved since
  compression was enabled.
! .Pp
  The
! .Fl i
  flag is used to specify the interval between printouts. The default is
  5 seconds.
! .Pp
! .Ar unit#
! specifies which interface to use for gathering statistics.
! .Sh SEE ALSO
! .Xr pppd 8


John-Mark

gurney_j@efn.org
http://resnet.uoregon.edu/~gurney_j/
Modem/FAX: (541) 683-6954   (FreeBSD Box)

Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970210015122.21086P-100000>