Add the DragonFly cvs id and perform general cleanups on cvs/rcs/sccs ids. Most
[dragonfly.git] / usr.sbin / i4b / isdnd / isdnd.acct.5
1 .\"
2 .\" Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 .\" SUCH DAMAGE.
24 .\"
25 .\"     $Id: isdnd.acct.5,v 1.11 1999/12/13 22:11:55 hm Exp $
26 .\"
27 .\" $FreeBSD: src/usr.sbin/i4b/isdnd/isdnd.acct.5,v 1.9.2.4 2001/08/01 17:45:03 obrien Exp $
28 .\" $DragonFly: src/usr.sbin/i4b/isdnd/isdnd.acct.5,v 1.2 2003/06/17 04:29:54 dillon Exp $
29 .\"
30 .\"     last edit-date: [Mon Dec 13 22:58:12 1999]
31 .\"
32 .Dd September 11, 1998
33 .Dt ISDND.ACCT 5
34 .Os
35 .Sh NAME
36 .Nm isdnd.acct
37 .Nd isdn4bsd ISDN management daemon accounting file format
38 .Sh DESCRIPTION
39 The file
40 .Pa isdnd.acct
41 contains accounting information which is written if the variable
42 .Em useacctfile
43 in the
44 .Xr isdnd 8
45 configuration file
46 .Xr isdnd.rc 5
47 is set to
48 .Em on
49 and charging information transmission has been subscribed for the
50 ISDN connection (AOCD or AOCE).
51 .Pp
52 If the variable
53 .Em acctall
54 is set to
55 .Em on ,
56 accounting information is written even if the local site was not charged
57 or no charging information is available or is not subscribed.
58 .Pp
59 The general format of an accounting line is as follows:
60 .Pp
61 .Dl FROM - UNTIL NAME UNITS (SECONDS) (INBYTES/OUTBYTES)
62 .Pp
63 .Em FROM
64 is the time the connection was established in the format
65 .Dl Day.Month.Year Hour:Minutes:seconds
66 .Pp
67 .Em UNTIL
68 is the time the connection was closed. The format is the same as
69 described for
70 .Em FROM
71 above.
72 .Pp
73 .Em NAME
74 is the symbolic name got from the
75 .Em name
76 entry of the
77 .Xr isdnd.rc 5
78 config file for this connection.
79 .Pp
80 .Em UNITS
81 is the amount of charging units billed for the connection.
82 .Pp
83 .Em SECONDS
84 is the number of seconds the connection lasted.
85 .Pp
86 .Em INBYTES
87 and
88 .Em OUTBYTES
89 is the (optional) number of bytes that were transferred.
90 .Sh FILES
91 .Bl -tag -width /var/log/isdnd.acct -compact
92 .It Pa /var/log/isdnd.acct
93 The default accounting information file for the
94 .Nm isdnd
95 ISDN daemon.
96 .El
97 .Sh EXAMPLES
98 This is a typical accounting line:
99 .Pp
100 .Dl 12.06.97 10:41:37 - 12.06.97 10:45:18 GROGGY 2 (65) (4711/1147)
101 .Sh SEE ALSO
102 .Xr isdnd.rc 5 ,
103 .Xr isdnd 8
104 .Sh AUTHORS
105 The
106 .Xr isdnd 8
107 daemon and this manual page were written by
108 .An Hellmuth Michaelis Aq hm@kts.org .