This should run 100 instances of PHP simultaneously to process 20,000 total requests.
The "-P 100" tells xargs to run up to 100 parallel processes. The --max-args=1 tells it to accept only one argument per process(instead of trying to run several with one single php instance.)
hi unixers,
i wonder if someone can tell me how i can check for a regex at the command line?
if any parameter begins with a special character then
do this
else
do thatthanks for your help. (4 Replies)
I'm looking for a script or some other application that will use up a lot of memory on a Solaris or Linux server, in order to test a monitoring application. So far I have found a script that's good for CPU usage but it does nothing for memory. I have also tried the application called 'stress'... (0 Replies)
Hi to all,
Recently i am testing an equipment that runs in i586 fedora linux. I have to test mmap function. For that i determined to fill the memory and run the required application to check whether it throws any mmap error regarding low resources.
This is the line that does the allocation. ... (3 Replies)
Friends
I need to have a shell script which will feed variables from two different files line-by-line. For example, I have two files - permission and file_name.
Contents of permission is -
644
755
....
contents of file_name
/file1
/file2
.....
Now I want 644 permission will be... (4 Replies)
I am looking for help in processing of those options: '-n' or '-p'
I understand what they do and how to use them.
But, I would like to use them with more than one file (and without any shell-loop; loading the 'perl' once.)
I did try it and -n works on 2 files.
Question is:
- is it possible to... (6 Replies)
On Saturday May 4th the forums will briefly break when I switch our Apache PHP 5.6 module to PHP 7.0.
Previously, I had two sites set up for testing the migration, but for many reasons, the second site has additional issues unrelated to PHP 7.0 so it is hard to debug on a different site and... (3 Replies)
Hello Guys,
Is there a single line archive command to zip or tar log files which is larger than certain size limit ?
Do let me know if there is any.
Thanks (7 Replies)
Hi all, bit of a forum newb here, so apologies if this has been covered else where, but I wonder if any of you has any experience with stress testing servers, specifically using 3rd party services. We run a very busy production system, and just haven't been able to simulate the user activity while... (1 Reply)