module TorControl::Info::Accounting

Overview

Information about accounting status. If accounting is enabled, "enabled" is 1; otherwise it is 0. The "hibernating" field is "hard" if we are accepting no data; "soft" if we're accepting no new connections, and "awake" if we're not hibernating at all. The "bytes" and "bytes-left" fields contain (read-bytes SP write-bytes), for the start and the rest of the interval respectively. The 'interval-start' and 'interval-end' fields are the borders of the current interval; the 'interval-wake' field is the time within the current interval (if any) where we plan[ned] to start being active. The times are UTC.

Defined in:

get_info.cr

Constant Summary

Bytes = "accounting/bytes"
BytesLeft = "accounting/bytes-left"
Enabled = "accounting/enabled"
Hibernating = "accounting/hibernating"
IntervalEnd = "accounting/interval-end"
IntervalStart = "accounting/interval-start"
IntervalWake = "accounting/interval-wake"