nsmcp::AccessRecordStoreSQLite method capacity (public)

 <instance of nsmcp::AccessRecordStoreSQLite[i]> capacity

Defined in /usr/local/ns/tcl/nsmcp/log-traffic-record-store.tcl

Report the configured record-store budget and current allocation. Account for the main database and its journal files separately. Writer instances also publish a timestamped capacity snapshot for the status interface.

Returns:
A dictionary containing byte budgets, allocation, disk usage and the limit-exceeded flag.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: