Measure bandwidth

2005-05-24 Thread Eric Logeson
Hello List I wanted to get some basic bandwidth statistics across a WAN link. The approach I think I am going to take is the following: Usea perl scipt to read in a bunch of files, determine the sizes, start a timer (not sure how to do this yet), copy the files across the link (winxp-win2003

RE: drag'n'drop onto desktop icon ???

2005-05-24 Thread Ken Cornetet
Create a batch file, and create a shortcut on the desktop to the batch file. The batch file should look like this: C:\perl\bin\perl.exe YourPrelScript.pl %1 %2 %3 %4 %5 %6 %7 %8 %9 Notes: 1. Only works for a max of 9 files dropped on the icon. CMD has a shift operator which, coupled with a for

RE: Measure bandwidth

2005-05-24 Thread Paul Sobey
I'm not sure that your method is very useful for two: 1) Your mileage will vary massively depending on the link bandwidth/latency, and also how congested it is 2) There's an awful lot of overhead when using Windows SMB to move files around, so you won't get a 'true' measure of bandwidth You'd

RE: Measure bandwidth

2005-05-24 Thread Dirk Bremer
Eric, I can only offer some general advice. I do something similar to get statistics on FTP-transfers. Here are some notes: 1. Since I have multiple events (2 per transfer, i.e. start and end times) and multiple transfers per session, I define an array to hold the various times, i.e. @Time. 2.

RE: Measure bandwidth

2005-05-24 Thread Peter Eisengrein
If you are looking for download speed, your approach will probably work. If you want bandwidth stats, use MRTG. http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ It's already written. It's customizable. It's perl. It does an snmp get (defaults to the interface usage but can read any snmp

Re: Measure bandwidth

2005-05-24 Thread Eric Logeson
Oh yes, MRTG is great. I guess I am looking for download speed. Thanks On 5/24/05, Peter Eisengrein [EMAIL PROTECTED] wrote: If you are looking for download speed, your approach will probably work. If you want bandwidth stats, use MRTG. http://people.ee.ethz.ch/~oetiker/webtools/mrtg/ It's

Measure bandwidth

2005-05-24 Thread Eric Logeson
Thanks for the response. I agree, this wouldn't be a true measure ofbandwidth. I am however interestedthe user experience of moving files from the client machine to the server (all windows). I am doing this for a before and after comparison. The after, is the installation of a CIFS optimization

Re: Measure bandwidth

2005-05-24 Thread Eric Logeson
Thanks Dirk Some good tips there, I will have to add file deletion routine. regarding point 5 below, wouldfile::copy be shell based? On 5/24/05, Dirk Bremer [EMAIL PROTECTED] wrote: Eric,I can only offer some general advice. I do something similar to getstatistics on FTP-transfers. Here are some

RE: Measure bandwidth

2005-05-24 Thread Dirk Bremer
Eric, Here is an example of a subroutine that I use: sub CopyFile($$) { # Accept arguments. my $Source = shift; my $Target = shift; # Declare local variables. local $_; my $Length = 0; my $Size = -s $Source; unless (defined($Size) and $Size 0)

RE: Measure bandwidth

2005-05-24 Thread Chris
Hello List I wanted to get some basic bandwidth statistics across a WAN link. The approach I think I am going to take is the following: Use a perl scipt to read in a bunch of files, determine the sizes, start a timer (not sure how to do this yet), copy the files across the link

Win32 OLE - Excel formatting

2005-05-24 Thread Ken Barker
I am new to the mail list. I was looking for any examples in formatting cells in Excel using Win32:OLE. Any help would be much appreciated. Ken Barker [EMAIL PROTECTED] ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com

Net-Ping

2005-05-24 Thread henry
Hi all, The following script has worked fine for a couple of years on 5.6. Since getting my new machines and installing 5.8, it doesn't work. It simply works for a few IPs and then just stops without errors. Did anything change with Net-Ping? Any thoughts, ideas are greatly appreciated...

Re: Measure bandwidth

2005-05-24 Thread $Bill Luebkert
Eric Logeson wrote: Hello List I wanted to get some basic bandwidth statistics across a WAN link. The approach I think I am going to take is the following: Use a perl scipt to read in a bunch of files, determine the sizes, start a timer (not sure how to do this yet), copy the files

Re: Net-Ping

2005-05-24 Thread Moby
Lloyd, Steve wrote: I recently upgraded from 5.8.4 to 5.8.6 and had problems with Net::Ping and sockets. Once I went back to 5.8.4, it all worked fine. After doing some research on the web, I found that there were socket changed in 5.8.6 that caused some major problems with socket calls. I

RE: Measure bandwidth

2005-05-24 Thread John Serink
Title: Message Why not use SNMP from your routers? -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric LogesonSent: Tuesday, May 24, 2005 11:28 PMTo: perl-win32-users@listserv.ActiveState.comSubject: Measure bandwidth Hello List