Load test

2001-12-18 Thread insomniak
Hi all, can any one help? Im looking for a few ideas that I could use to write a quick script that would place a lot of load on the server (CPU disk IO etc..) any suggestion are welcome. Regards Mark -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: Load test

2001-12-18 Thread nafiseh saberi
hi. please describe more about work that you want to do. if it is possible for you. thx. Best regards Nafiseh Saberi Iran www.iraninfocenter.net www.sorna.net Only to fight when there is a chance, so we don't have to

Re: Load test

2001-12-18 Thread insomniak
Ooops sorry, What I need to do is to place a test server under load - this can be anything from moving large files arround to just some data crunching. The server is primarily a mail server but I have already done some load tests on SMTP & POP what I need now is to run a few further tests that wo

RE: Substitute for grep command for Windows 2000

2001-12-18 Thread Bob Showalter
> -Original Message- > From: Evan Panagiotopoulos [mailto:[EMAIL PROTECTED]] > Sent: Monday, December 17, 2001 7:34 PM > To: [EMAIL PROTECTED] > Subject: Substitute for grep command for Windows 2000 > > > I had a script that was using the grep command to extract > lines from a text file

Re: multiple image upload CGI/perl

2001-12-18 Thread Carl Franks
Birgit, you asked, > But this only works when the image is uploaded via a form field. > What I would like to do, however, is to parse content of a textarea field > for image names and then upload all of them, so there will be no such > field. > > The only workaround I can think of is to use Javas

Re: Cgi scripts not running...

2001-12-18 Thread Carl Franks
Chris, > I am working within a small network (10 computers). I am trying to > create a form that people can access through the f: (global drive). They > will fill in this form, and the results will be processed by my script, and > emailed to me. I have installed activeperl in the f drivebu

Readdir

2001-12-18 Thread angelo . bettati
Hi to All, I' d like to know if it' s possible to count the exact number of files inside a certain directory, using a way better than this: use CGI; my $q = new CGI; my $dir = 'C:\...\temp'; my $num_files = -1; print $q->header("text/html"); local *DIR; opendir (DIR, $dir); $num = $num_files++

mailto method form plus

2001-12-18 Thread Alan F Larimer Jr
I am using a free webhosting server that allows CGI scripts, but does not allow access to the sendmail program. This, with my current knowledge, limits my form actions. I would like to create a form that e-mails the data to a given address, but also produces a "Thank You" page and possibly o

Re: Load test

2001-12-18 Thread Brian
Mark, I would try doing a recurrsive loop. Making it copy one file to another. I am not sure what type of load that would be, but I am sure it may help in whatever you are trying to accomplish. ~Brian. > Ooops sorry, > What I need to do is to place a test server under load - this can be >

RE: Substitute for grep command for Windows 2000

2001-12-18 Thread James Kelty
I believe that the Perl question was 'Is there a substitute or work-around for this problem I have?'. In so saying there is actually a perl fuction called, you guessed it!, grep. perldoc -f grep will give you the info you need. -James -Original Message- From: Evan Panagiotopoulos [mailt

Re: Readdir

2001-12-18 Thread Curtis Poe
--- [EMAIL PROTECTED] wrote: > Hi to All, > I' d like to know if it' s possible to count the exact number of files > inside a certain directory, using a way better than this: perl -e 'opendir D,".";$count=grep{-f}readdir D;print $count' That breaks out to: opendir DIR, $dir or die "Cann

Problem passing "action" parameter from a form

2001-12-18 Thread Kris Seraphine
Hi - first time posting here I want to use one script with multiple functions to process a variety of forms/information. in my script I declare the action variable and give it instructions: # get the action my $ACTION = $Q->param('action') || ""; if ($ACTION eq "check_password") { check_

Re: Readdir

2001-12-18 Thread fliptop
[EMAIL PROTECTED] wrote: > Hi to All, > I' d like to know if it' s possible to count the exact number of files > inside a certain directory, using a way better than this: > > use CGI; > > my $q = new CGI; > my $dir = 'C:\...\temp'; > my $num_files = -1; > > print $q->header("text/html"); > >

Re: mailto method form plus

2001-12-18 Thread fliptop
Alan F Larimer Jr wrote: > I am using a free webhosting server that allows CGI scripts, but does not allow >access to the sendmail program. This, with my current knowledge, limits my form >actions. I would like to create a form that e-mails the data to a given address, but >also produces a "

Re: Problem passing "action" parameter from a form

2001-12-18 Thread fliptop
Kris Seraphine wrote: > I want to use one script with multiple functions to > process a variety of forms/information. > > in my script I declare the action variable and give it > instructions: > > # get the action > my $ACTION = $Q->param('action') || ""; > if ($ACTION eq "check_password") is

RegExp fails on server

2001-12-18 Thread Steven Vargas
Does someone know of a good way to count total records for the week? I can get total for day and month, but the week totals fail, returning 0 (for some reason they work when I execute the program from the shell). I've shown below snippets of the code and subroutine, sorry for the long post. If any