Jump to content

Question regarding remote storage using FileGetSize


Recommended Posts

Hello All,

I have wrote a script that measure time to get FileGetSize query from remote storage ,normally the network we test is Giga or 100Mbit network and storage are Netapp based.

My question is how can i be sure that the query is purely network request and how much time the local system spend on this cycle?.

i am asking it since i don't now how this function behave on remote path.

Please advice

Thanks in advanced

$begin = TimerInit()

    $size = FileGetSize ($fileop)

        $dif = TimerDiff($begin)
Edited by tbaror
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...