

            fsize (1) --- size any file system structure             01/16/83


            _U_s_a_g_e

                 fsize  { -<option>{<option>} } { <pathname> | -n }
                        <option> ::=  f | r | v | w


            _D_e_s_c_r_i_p_t_i_o_n

                 'Fsize' prints the amount of disk space consumed by the file
                 system  objects  specified  as  arguments.  Any type of file
                 system object may be specified (ordinary file, ufd, or  seg-
                 ment  directory); in the case of a ufd or segment directory,
                 the entire file system subtree thereunder is  considered  in
                 the  size.   'Fsize' will determine the amount of space used
                 not only for data but also for internal  purposes  (such  as
                 direct access indices).

                 If  "-n"  appears in place of a pathname, pathnames are read
                 from the standard  input.   For  more  information  on  this
                 syntax, see the entry for 'cat' (1).

                 The following options are available:

          |        -f   Force any object that can't be read to be readable by
          |             manipulating   its  protection  bits  and  concurrent
                        access lock.  After the object has  been  sized,  the
                        original attributes are restored.  The user must have
                        owner  status  in  the  object's parent directory for
                        this option to work.  ___WWW___AAA___RRR___NNN___III___NNN___GGG:::   _T_h_i_s  _o_p_t_i_o_n  _s_h_o_u_l_d
                        _n_o_t   _b_e   _u_s_e_d   _o_n  _o_b_j_e_c_t_s  _w_h_o_s_e  _p_r_o_t_e_c_t_i_o_n  _a_n_d
                        _c_o_n_c_u_r_r_e_n_c_y _a_t_t_r_i_b_u_t_e_s _a_r_e _a_s_s_u_m_e_d  _b_y  _s_o_m_e  _r_u_n_n_i_n_g
                        _p_r_o_g_r_a_m _t_o _h_a_v_e _a _p_a_r_t_i_c_u_l_a_r _s_e_t_t_i_n_g.  In particular,
                        certain   of  the  files  used  by  Prime's  database
                        management system must  not  have  their  concurrency
                        locks changed while the DBMS is active.

          |        -r   Print the size as a number of disk records (default).

          |        -v   Print  the  name of the object along with the size of
          |             the object.  This is especially useful when pathnames
                        are being read from the standard input.

          |        -w   Print the size as a number of 16 bit words.

                 If the "-n" idiom is not used and no pathnames are given  on
                 the  command  line, the program will size the current direc-
                 tory by default.


            _E_x_a_m_p_l_e_s

                 fsize
                 lf -c | fsize -f -n | stats -tashln
                 fsize -wv  //extra //lib //src




            fsize (1)                     - 1 -                     fsize (1)




            fsize (1) --- size any file system structure             01/16/83


            _M_e_s_s_a_g_e_s

                 "Usage:  fsize ..."  for incorrect argument syntax.
                 "-r and -w are mutually exclusive" for requesting  both  "r"
                      and "w".
                 "<pathname>:   can't  get record size" if the record size of
                      the disk  partition  containing  the  specified  object
                      can't be determined.
                 "<pathname>:   can't determine size" if the specified object
                      can't be opened for reading.
                 "<pathname>:   can't  size  directory   contents"   if   the
                      specified ufd can't be attached to.


            _B_u_g_s

                 Gives  inaccurate  results  for very large DAM files and DAM
                 segment directories (those with multi-level indices).

                 Will not work if the MFD of the disk  containing  an  object
                 cannot  be attached to with a password of "XXXXXX".  The MFD
                 must be read to determine the record size for the disk.


            _S_e_e _A_l_s_o

                 lf (1), hd (1)































            fsize (1)                     - 2 -                     fsize (1)


