- 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.
- To run the utility, type the following at the UNIX prompt:
# cd <software installation path>/Base
- Type DiskReadWrite with the following options:
DiskReadWrite -PATH inpath [-NFS] [-WRITEPATH outpath]
DiskReadWrite FILE inpath [-NFS] [-WRITEPATH outpath] [-BUFSIZE Buffer size in KB]
DiskReadWrite -COL collectFile
DiskReadWrite -DIRLIST DirListFile [-NFS]
This utility reads all the disk files contained in the directory path given by the user in one of the above synopsis.
-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
-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 ---
|-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
|-NFS||Include NFS file systems while read and write. This option is valid only with -PATH and -DIRLIST|
|-detail||Print the file(s) read in the directory|
|-skipread||Skip reading files in the directory|
To read all the files and folders on /usr/local/bin and display only the summary part.
# DiskReadWrite -PATH /usr/local/bin
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