1flowacct(7ipp) IP Quality of Service Modules flowacct(7ipp)
2
3
4
6 flowacct - Flow Accouting module
7
9 The flow accounting module flowacct enables you to record flow details.
10 You use flow details to gather statistics and/or for billing purposes.
11 Accounting consists of recording flow details in a location you desig‐
12 nate and in a format that you can retrieve at a later stage. IPQoS
13 accounting relies on the exacct mechanism to store and retrieve flow
14 information.
15
16
17 A flow is defined by the 5-tuple - saddr, sport, daddr, dport and pro‐
18 tocol.
19
20
21 Typically, the accounting module is the last datapath element in a
22 sequence of actions. Flow attributes include ToS/DS, user id, project
23 id, creation time (time the flow was created), last seen (when pkts for
24 the flow were last seen), action name (instance that recorded the flow
25 information), nbytes and npackets. Attributes are split into groups
26 entitled basic and extended. The basic group records only the nbytes,
27 npackets and action name, while the extended group is a superset of the
28 basic group and records all attributes. The attributes to be recorded,
29 in addition to the accounting file that contains flow details, are
30 selected using acctadm(1M). The flowacct module does not provide a
31 mechanism to retrieve flow information from the accounting file nor to
32 interpret the retrieved information.
33
35 The flowacct module exports the following statistics available through
36 kstat:
37
38 module: flowacct instance: <action id>
39 name: Flowacct statistics class <action name>
40 bytes_in_tbl <bytes in the flow table>
41 epackets <packets in error>
42 flows_in_tbl <flow records in the flow table>
43 nbytes <number of bytes through this instance>
44 npackets <number of packets>
45 usedmem <memory, in bytes, used by the flow table>
46
47
49 /kernel/ipp/sparcv9/flowacct
50
51 64-bit module (SPARC only.)
52
53
55 See attributes(5) for descriptions of the following attributes:
56
57
58
59
60 ┌─────────────────────────────┬─────────────────────────────┐
61 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
62 ├─────────────────────────────┼─────────────────────────────┤
63 │Availability │SUNWqos │
64 └─────────────────────────────┴─────────────────────────────┘
65
67 ipqosconf(1M), acctadm(1M), libexacct3LIB, dlcosmk(7ipp), dscpmk(7ipp),
68 ipqos(7ipp), ipgpc(7ipp), tokenmt(7ipp), tswtclmt(7ipp)
69
70
71
72SunOS 5.11 29 Sep 2004 flowacct(7ipp)