]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/i4b/isdnd/isdnd.acct.5
This commit was generated by cvs2svn to compensate for changes in r53024,
[FreeBSD/FreeBSD.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 .\" $FreeBSD$ 
26 .\"
27 .\"     last edit-date: [Mon Feb 15 16:54:23 1999]
28 .\"
29 .Dd September 11, 1998
30 .Dt ISDND.ACCT 5
31 .Os
32 .Sh NAME
33 .Nm isdnd.acct
34 .Nd isdn4bsd ISDN management daemon accounting file format
35 .Sh DESCRIPTION
36 The file
37 .Pa isdnd.acct
38 contains accounting information which is written if the variable
39 .Em useacctfile
40 in the
41 .Xr isdnd 8
42 configuration file
43 .Xr isdnd.rc 5
44 is set to
45 .Em on
46 and charging information transmission has been subscribed for the
47 ISDN connection (AOCD or AOCE).
48 .Pp
49 If the variable
50 .Em acctall
51 is set to
52 .Em on ,
53 accounting information is written even if the local site was not charged
54 or no charging information is available or is not subscribed.
55 .Pp
56 The general format of an accounting line is as follows:
57 .Pp
58 .Dl FROM - UNTIL NAME UNITS (SECONDS) (INBYTES/OUTBYTES)
59 .Pp
60 .Em FROM
61 is the time the connection was established in the format
62 .Dl Day.Month.Year Hour:Minutes:seconds
63 .Pp
64 .Em UNTIL
65 is the time the connection was closed. The format is the same as
66 described for
67 .Em FROM
68 above.
69 .Pp
70 .Em NAME
71 is the symbolic name got from the
72 .Em name
73 entry of the
74 .Xr isdnd.rc 5
75 config file for this connection.
76 .Pp
77 .Em UNITS
78 is the amount of charging units billed for the connection.
79 .Pp
80 .Em SECONDS
81 is the number of seconds the connection lasted.
82 .Pp
83 .Em INBYTES
84 and
85 .Em OUTBYTES
86 is the (optional) number of bytes that were transferred.
87 .Sh FILES
88 .Bl -tag -width /var/log/isdnd.acct -compact
89 .It Pa /var/log/isdnd.acct
90 The default accounting information file for the
91 .Nm isdnd
92 ISDN daemon.
93 .El
94 .Sh EXAMPLES
95 This is a typical accounting line:
96 .Pp
97 .Dl 12.06.97 10:41:37 - 12.06.97 10:45:18 GROGGY 2 (65) (4711/1147)
98 .Sh SEE ALSO
99 .Xr isdnd.rc 5 ,
100 .Xr isdnd 8
101 .Sh AUTHORS
102 The 
103 .Xr isdnd 8
104 daemon and this manual page were written by
105 .An Hellmuth Michaelis .
106 He can be contacted at hm@kts.org or hm@hcs.de.