24.10 Viewing Compression Statistics with the NDIR Command

The NDIR (ndir) command allows you to view file attributes and compression information for all files in a volume or directory. You can use NDIR for NSS volumes on NetWare and for NSS volumes on Linux when NCP Server is running. NDIR is an MS-DOS* command that you run from a Windows desktop where you have mapped a drive letter to the network volume (or directory in a volume) that you want to manage.

Two useful statistics that NDIR provides are Space Used By Compressed Files and Space Used If Files Were Not Compressed. Subtracting one value from the other indicates how much space you need if all files are decompressed.

The following is an example report:

To generate a report on compression statistics for the volume:

  1. For NSS on Linux volumes, make sure that NCP™ Server is configured and running.

    The NDIR command requires the NCP protocol.

  2. On your Windows desktop, open Explorer, then click Tools > Map Network Drive to map a drive letter to the NSS volume (or directory) you want to manage.

  3. On your Windows desktop, click Start > Run to open an MS-DOS command window.

  4. Navigate to the mapped drive using the Change Directory (cd) command. For example, if the mapped drive letter is N:, enter

    cd N:
    
  5. Get a report on compression statistics by entering

    ndir /comp /vol
    

    For details about NDIR, see Section B.12, NDIR.