list-file-stats

list-file-stats


list-file-access Index Level list-files
Syntax list-file-stats {det-supp} {nopage} {lptr} {hdr-supp} col-hdr-supp} {ni-supp} {leg-supp | legend-supp"} {tcl-supp} {(options}
Category TCL
Type Verb
Description produces the "file statistics" report generated from the most recently executed "file-save" or "account-save".

Statistics are produced from the "dm,file-of-files," file.  The data that is displayed is as follows:

"r#" is the reel number (or volume number) that the file resides on (from the last file-save).

"seq#" is the file sequence number, which numbers from 1 to nn across the whole file-save.

"file#" is the file sequence number in the system's master dictionary.  

"fname" is the file name.

"mod" is the modulo of the file.

"bytes" is the size (in bytes) of the file.

"items" is the number of items in the file.

"ovfitms" is the number of items residing in overflow frames (secondary filespace).

"frames" is the total number of frames used by this file.

"ptr-fms" is the number of pointer frames used by this file.
Options "list-file-stats" is a FlashBASIC program "filter" which limits the command to just the options: b, c, h, n, and p, as well as the modifiers listed.
See Also col-hdr-supp nopage lptr tcl-supp save lfs file-save (R83) sel-restore check-account ni-supp det-supp u28 account-restore f/realloc file control block
Example sort dm,file-of-files, by name id-supp reel# seq# file# roll-on acct "*** 'UVF'" fname mod total bytes total items total ovf-itms total frames total ptr-fms grand-total "'U'" heading "PAGE 'P'    ** FILE STATISTICS REPORT ** 'DCLL'" with stat# "2" lptr

PAGE1    ** FILE STATISTICS REPORT **    16 Jan 1997

r# seq#. file# fname...... mod bytes items ovfitms frames ptr-fms

3    89   134               17  4470     8             25       8
4   109   142 01             1   556     1              2       1
4   111   139 TOOLS         1  20632    20             22      21
4   113   141 TOOLS OBSLT   1  15080    30      28     17       5
4   112   140 TOOLS TOOLS   3  23226    30      18     29      21
                          --------- ----- ------- ------ -------
*** atp4                      359333   125     479    366     131
                          --------- ----- ------- ------  ------
*** tutor                     172970   945     355    210     129
                          ========= ===== ======= ====== =======
                            4170691 15323    6229   5546    2645
[405] 132 items listed out of 158 items.
Warnings
Compatibility D3 7.0 AP R83
list-file-access Index Level list-files