Exercises, examples and other material relating to training module A692. This module is presented on
Private Courses and
Specially Run Courses only
Background
Is your web server barely coping or does it have
plenty of capacity? What will happen if you get an
increased load or a denial of service attack? Tools
such as ab and Jmeter can help you learn the answers
in a controlled environment.
Articles and tips on this subject | updated |
3027 | Server logs - drawing a graph of gathered data You can log pretty much any server data on a Linux or Unix system at regular intervals using a crontab job that adds a line onto the end of a file. That crontab job could be as simple as a shell command, or it could be a bash or perl script (the two most natural languages to choose for such a task) or ... | 2014-09-29 |
2082 | Jmeter - a first test case Would you like to see how your web site performs under load? I mentioned ApacheBench (ab) in a recent post, but you can also use a tool like Jmeter. And although Jmeter is written in and runs in Java, you can use it to look at the performance of other servers and network resources too.
In famous ... | 2012-10-13 |
2079 | Java - Memory Allocation and garbage collection When you're running a dynamic application (and most of the languages we teach these days are dynamic), memory is allocated and released as necessary at run time, with allocation happening 'as required' and being released from time to time by a garbage collector - there is no point is collecting a few ... | 2012-10-13 |
3019 | Apache httpd Server Status - monitoring your server Do you want to know how your Apache httpd web server is running? The Server Status tool - a standard module supplied with the httpd daemon - can give you a lot of information, but by default it's turned off.
Turning it on ...
A work of caution before you turn it on. You do NOT want this to be world ... | 2010-10-28 |
3015 | Logging the performance of the Apache httpd web server Apache's mod_status allows you to take a look at how your Apache httpd server is running - you can see a snapshot of some basic stats of the server, and also the current status of each of the threads. There are two options that you can apply to the URL as you look at the page - a refresh option to cause ... | 2010-10-26 |
2272 | Monitoring and loading tools for testing Apache Tomcat The following monitoring and loading tools can be used to test Apache Tomcat and are all Open Source. This comparative summary includes a link to more details of each of these resources.
ab - ApacheBench. Part of the standard Apache httpd download - a good but basic soak test where you can see how ... | 2009-07-07 |
2080 | Using ApacheBench and jconsole to test and monitor Tomcat jconsole lets you monitor Tomcat or another Java application so that you can see how much memory is in use, how many threads you have running, how many classes, etc.
Here's an example of a Tomcat server that was sitting virtually unused ... which we then exercised through ApacheBench - the ab utility ... | 2009-03-15 |
1718 | Increasing Java Virtual Machine memory for Tomcat Q. "How do I increase the memory that my Java Virtual Machine in Tomcat can use?" A question asked - not for the first time - by a delegate on todays's Deploying Apache httpd and Tomcat course.
A. Set the JAVA_OPTS environment variable. Longer answer:
If you're running on a Unix or Linux system, ... | 2008-07-25 |
Background information
Some modules are
available for download as a sample of our material or under an
Open Training Notes License for free download from
[here].
Topics covered in this module
ab, JConsole and Jmeter
Comparison ab v JConsole v Jmeter
Straightforward testing with ab.
Enabling JMX and running JConsole.
The Jmeter GUI and Engine.
Basic Installation and first test plan.
Running the tests and viewing the results.
Timer elements, conditionals and realistic simulation.
Multiple Jmeter engines and testing other services.
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our
Listing and schedule page.
Well House Consultants specialise in training courses in
Linux and LAMP,
Ruby,
Lua,
Python,
Perl,
PHP, and
MySQL. We run
Private Courses throughout the UK (and beyond for longer courses), and
Public Courses at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if
you live in a different
country or continent to us.
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.