DiskReadWrite

Description

  • This utility can be used for various debugging purposes.
  • The main purpose is to measure the performance of the hard disk reads to justify backup speeds.
  • We can also use this to read shares and measure the network read performance and network write performance.

Usage

  1. To run the utility, type the following at the UNIX prompt:

    # cd <software installation path>/Base
    # ./DiskReadWrite

  2. Type DiskReadWrite with the following options:

    # ./DiskReadWrite

    Usage :
    -----
    DiskReadWrite -PATH inpath [-NFS] [-WRITEPATH outpath]

    DiskReadWrite FILE inpath [-NFS] [-WRITEPATH outpath] [-BUFSIZE Buffer size in KB]

    DiskReadWrite -COL collectFile

    DiskReadWrite -DIRLIST DirListFile [-NFS]

    Description :
    ----------
    This utility reads all the disk files contained in the directory path given by the user in one of the above synopsis.

    Options :
    -----

    -PATH inpath : Read the directory inpath recursively

    -WRITEPATH outpath : Writes the data read from inpath to directory outpath

    -COL collectFile : Reads all the files listed in the collectFile
    generated by Galaxy

    -DIRLIST DirListFile : Reads multiple directories listed in the DirListFile recursively. The contents of this file may look like
    /etc
    /usr
    /var

    -NFS : Include NFS filesystems while read and write
    This option is valid only with -PATH and -DIRLIST

    Additional Options :
    -----------------

    -detail : Print the file(s) read in the directory
    -skipread : Skip reading files in the directory

    --- Press Return to continue ---

Options

Option Description
-PATH inpath Read the directory inpath recursively
-WRITEPATH outpath Writes the data read from inpath to directory outpath
-COL collectFile Reads all the files listed in the collectFile generated by Galaxy
-DIRLIST DirListFile Reads multiple directories listed in the DirListFile recursively. The contents of this file may look like

/etc

/usr

/var

-NFS Include NFS file systems while read and write. This option is valid only with -PATH and -DIRLIST

Additional Options

Option Description
-detail Print the file(s) read in the directory
-skipread Skip reading files in the directory

Example

To read all the files and folders on /usr/local/bin and display only the summary part.

# DiskReadWrite -PATH /usr/local/bin
Reading........
Total Number of Files read : 132
Total Number of Bytes read : 22326 KBytes
Total time taken : 0 Sec
Throughput : Better than 76.650238 GB/hr
#