NetWorker command:      nsrls

NAME

       nsrls - list statistics of NetWorker index files


SYNOPSIS

       nsrls [ { clientname ...  | -m } ]


DESCRIPTION

       When  nsrls  is used without any specified options being specified, the
       number of records in an online index and the usage of the online  index
       with  respect to the number of kilobytes allocated to its UNIX files is
       printed.  Administrators can use this command  to  establish  how  many
       files have been saved by a client.


OPTIONS

       When  invoked  with the -m option, nsrls prints the information for the
       media database.  The media database has the following  four  statistics
       associated  with  it:  an  internal file ID (Fid), the size of the file
       (Size), the number of logical  records  in  the  file  (Count),  and  a
       descriptive name for the internal file (Name).

       The internal files are interpreted as follows:

       saveset files
              These  are the internal record files which store the actual data
              (for example, ss).

       volume files
              These are the internal record files which store the volumes (for
              example, vol).

       index files
              These  internal  b-tree  index files hold the index records used
              for optimizing media database queries.  The names of these files
              contain the extension "_i*" (for example, ss_i0 and vol_i1).

       temporary files
              These  files (beginning with the filename "temp_*") contain tem-
              porary records used during sorting.  Temporary files are present
              only while a database is currently being modified.

       The  number,  name,  function, and interpretation of the internal files
       can change at any time.

       An empty argument list prints the statistics for all known clients.


EXAMPLE

              % nsrls -m

              Database id 0: /nsr/mm/mmvolume
               Fid |      Size |     Count | Name
               ------------------------------------------
                 0 |     16 KB |         6 | vol
                 1 |    136 KB |       484 | ss
                 2 |     16 KB |         6 | vol_i0
                 3 |     16 KB |         5 | vol_i1
                 4 |	 16 KB |	 5 | vol_i2
                 5 |	 16 KB |	 5 | vol_i3
                 6 |	 16 KB |	 0 | vol_i4
                 7 |	 24 KB |       484 | ss_i0
                 8 |	 24 KB |       484 | ss_i1
                 9 |	 16 KB |       164 | ss_i2
                10 |	 24 KB |       483 | ss_i3
                11 |	  8 KB |	 1 | temp_0
              % nsrls jupiter

              /space2/nsr/index/jupiter: 292170 records requiring 50 MB
              /space2/nsr/index/jupiter is currently 100% utilized


SEE ALSO

       nsr_layout(5), nsrindexd(8)


DIAGNOSTICS

       ... is not a registered client
              The client named is not a valid NetWorker client.

NetWorker 7.5.1			 Mar 21, 09