I am attempting to run 'ls -ltr' on a directory where file is being written. After firing this command, I dont receive any response from the shell. I understand, because one of the file is writing, this must have happened.
Is there any way, we can still see the listing represnted the query fire time ?
Something analogous to 'with ur' option used in DB2 SQL, where one can read uncommitted records.
This should not happen on a normal system unless your write process is completely hogging your cpu. Is your file system mounted through NFS on a slower link..?
As I know of, file system is NFS mounted.
What will determine if the link is slower or else ?
Try to invoke a copy from mounted directory to local directory with 'time' command. It will give you the total time taken for the copy to complete which will be indicative of the network speed.
time cp /nfs/mounted/file /local/file