lanxess
(Lurker)
2006-02-27 07:57 PM
Bandwidth Testing

We're looking to create a bandwidth test within our network using kix. We'd like to have it so that we can just run the script, it will attempt to copy a file from a server, and then upload it, and we'd like to time to see how long it will take.

Is there a kixscript solution to this? I read the "detect network speed" thread but it doesn't seem to have the right solution for this problem.


Radimus
(KiX Supporter)
2006-02-27 08:03 PM
Re: Bandwidth Testing

http://www.optimumx.com/download/#NetSpeed

lanxess
(Lurker)
2006-02-27 09:11 PM
Re: Bandwidth Testing

Thank so much Rad

NTDOCAdministrator
(KiX Master)
2006-02-27 10:11 PM
Re: Bandwidth Testing

By using a 100K file you could also do something like this. Perhaps not as accurate but would give you an idea of the speed in general.

Code:
Break On
Dim $TimeStart, $TimeStop, $TimeLapse
If Exist("%TEMP%\100K.FLG") Del "%TEMP%\100K.FLG" EndIf
$TimeStart=@ticks
Copy "\\SERVER1\SHARE\100K.FLG" "%TEMP%"
$TimeStop=@ticks
$TimeLapse=$TimeStop-$TimeStart
If Exist("%TEMP%\100K.FLG") And $TimeLapse < 700
'Speed is fast enough: ' + $TimeLapse ?
Else
'Speed too slow: ' + $TimeLapse ?
EndIf