Loadtests with perl?

2004-01-22 Thread Deac Nkisetlein
Dear listmembers, I am curious, if it is possible to test load on a windows machine using perl. With load I mean cpu, ram, filesystem-io and of course ethernet-io. Are there modules? I think cpu-load could easily be tested by looping. But how should ethernet and filesystem load being tested?

Re: Win32::API::parse_prototype: WARNING unknown parameter type 'LPTSTR*'

2004-01-22 Thread Dmitry Zyukov
Thanks Bill. Your advice helps me removing previous warning message, however it doesn`t work anyway and cause new warning messages. It seems I don`t understand how it works :( I want to make a list of pairs of two elements AccountName = text_format_SID. For this I use following function

Re: testing if XML is well-formed

2004-01-22 Thread Alan Dickey
Brian Gibson wrote: This might sound like a dumb question but does anyone know of a module or script that simply checks an XML file to see if it is well-formed or not (the validity of the XML is not an issue, but if there is an easy way to check that too then I am all for it!) My search

Re: Win32::API::parse_prototype: WARNING unknown parameter type 'LPTSTR*'

2004-01-22 Thread $Bill Luebkert
Dmitry Zyukov wrote: Thanks Bill. Your advice helps me removing previous warning message, however it doesn`t work anyway and cause new warning messages. It seems I don`t understand how it works :( I want to make a list of pairs of two elements AccountName = text_format_SID. For this I use

Re: Loadtests with perl?

2004-01-22 Thread Trevor Joerges
You can access any of the Windoze performance counters using Perl's Win32::PerfLib ob both local and remote systems. So any of the file system, CPU, memory and Ethernet counters are all accessible. See the perldoc for examples. The authors web site also has more examples and documentation.

Re: Loadtests with perl?

2004-01-22 Thread Trevor Joerges
There probably are load generating modules for Perl but I'm not familiar with any. Personally for generating load for web servers and testing load I use OpenSTA (http://www.opensta.org). PerfLib I use more for monitoring rather than load generating and testing but it is certainly okay for

wsc: perl.exe error on script termination

2004-01-22 Thread Ed Bachmann
I've been getting this error in a Windows msgbox: perl.exe - Application Error The instruction at 0x6bb82089 referenced memory at 0xaabbccdd. The memory could not be read. The referenced memory location is different from script to script, but the instruction location is the same. The

DB_File very slow with Perl 5.8

2004-01-22 Thread Barry Jaspan
I recently started testing an application with ActiveState Perl 5.8.2-808 on Windows XP that I have previously been shipping with Activate Perl 5.6.1-635. With Perl 5.6, one particular test took about 100 seconds. With Perl 5.8, it takes about 235 seconds. Looking further with dprofpp, I

Command line arg monitor

2004-01-22 Thread Sturdevant-Contractor, Robert W
Hi all, I would like to develop a win32 service that intercepts certain command line args from the call/chain function of 16-bit DOS app something like this. My16BitApp ServiceName Arg1 Arg2 Much the same as system or exec but instead of executing a program called ServiceName, I'd like to wake

RE: Loadtests with perl?

2004-01-22 Thread Peter Eisengrein
Title: RE: Loadtests with perl? For filesystem-io you may be able to write a short sub that writes to a file and another that reads and then use Benchmark to exersize each 10 times or so. As for ethernet, are you looking to generate load, or do you just want to know stats about how it is

Re: Command line arg monitor

2004-01-22 Thread Trevor Joerges
You can just write an client/server app. The server would run as a service and listen on a port you specify and the client would connect specifically to that port on that service. This also gives you the ability to expend and run the client from anywhere on your network that would allow the port

[ BUG ] Win32::AdminMisc::SetEnvVar

2004-01-22 Thread Edward S. Peschko
hey, I'm getting the following bug in Win32::AdminMisc::SetEnvVar: Win32::AdminMisc::SetEnvVar('home', 'C:/cygwin/home/horos'); causes a program crash (it looks like it is the '/' but I'm not sure). Is it safe to set the environment variable directly in the registry, or is that not portable?

Re: testing if XML is well-formed

2004-01-22 Thread Alexander Bel...
Hi, Let's go again on CPAN and look at CHACKER modul http://search.cpan.org/~enno/libxml-enno-1.02/lib/XML/Checker.pm --- Best regards AlexBel - Original Message - DATE: Wed, 21 Jan 2004 21:58:06 From: Brian Gibson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: This might

Monitoring Files in a Directory

2004-01-22 Thread Bautista, Rodel D.(Digitel-GSM)
Hi to All, I'm trying to create a script that will monitor the addition of files in a particular directory. I've tried using the Win32::ChangeNotify module but I believe this does not include listings of files that were added/deleted to the directory. I've also tried using the Win32::AdvNotifybut

How Do I Create a Hash dynamically

2004-01-22 Thread Mundell, R. (Ronald)
Good Day All Does anyone know how to create hashes on the fly? Ronald Mundell This email and any accompanying attachments may contain confidential and proprietary information. This information is private and protected by law and, accordingly, if you are not the intended