nsmcp::AccessRecordStoreSQLite method diskBytes (public)
<instance of nsmcp::AccessRecordStoreSQLite> diskBytes
Defined in /usr/local/ns/tcl/nsmcp/log-traffic-record-store.tcl
Measure the disk space occupied by the record-store files. Include the database, rollback journal, WAL and shared-memory file when present. SQLite temporary files and unrelated files are excluded.
- Returns:
- The total size in bytes of the existing store files.
- Testcases:
- No testcase defined.
Source code: set total 0 foreach suffix {{} -journal -wal -shm} { if {[file exists ${:path}$suffix]} { incr total [file size ${:path}$suffix] } } return $totalXQL Not present: Generic, PostgreSQL, Oracle
![[i]](/resources/acs-subsite/ZoomIn16.gif)