The Administration Page contains a link to the Java Performance Monitor. If you use the Administration Page, you do not need to follow the steps for configuring a Java Performance Monitor, unless you want to be able to monitor any RealServer or want to monitor a RealServer from a computer that doesn't have a Web browser.
The Java Performance Monitor can be run two ways: as a stand-alone application or as an applet that you view within a Web browser.
If you want to monitor performance on any server, run the Java Performance Monitor as a stand-alone application. If you're only interested in viewing server activity on a specific Web site, or if you want users to be able to view that site, use the Java Performance Monitor as an applet.
Two sets of Java files enable you to use the Java Performance Monitor to monitor activity on any server. One such file, jview.exe, is installed with Microsoft Internet Explorer versions 3.0 and later. If you have this file on your computer, you can monitor server activity immediately. If you do not have this file, you'll need to download files from Sun Microsystems.
To use the jview program
jview monitor
The Java Performance Monitor runs as an application. To connect to the server, follow the instructions in "Connecting to the Server," below.
To use the Java Runtime Environment
jre -cp <path to JavaMonitor directory> monitor
The Java Performance Monitor starts as an application. To connect to the server, follow the instructions in Connecting to the Server.
RealServer includes the file monitor.htm which is preconfigured to display server status when viewed from the RealServer computer.
If you want to view the RealServer computer from any other computer, you must edit monitor.htm and ensure that the files in the JavaMonitor directory are available to the Web server or ftp server.
If you open the supplied monitor.htm without having made any changes, the Server box will be blank.
To view this server's performance from any other computer:
APPLET
tag:<applet code = "Monitor.class" width = 700 height
= 400>
CODEBASE
variable after the CODE
variable:CODEBASE = "http://ServerName/JavaClassDirectoryPath/"
ServerName
" is the name of your Web
or ftp server and "JavaClassDirectoryPath
"
is the directory where you copied the .class files in step 1. If your server
is an ftp server, you can substitute "ftp" for "http."CODEBASE
variable.
<applet code = "Monitor.class" CODEBASE = "http://www.YourWebSite.com/YourJavaFilesDirectory/"
width = 700 height = 400>
Once you have started the Java Performance Monitor, you'll use it to view and edit information about your server.
In the Java Performance Monitor, double-click the Monitor button to see a display of your server. The Monitor window appears.
This area displays the number of players viewing content over time on the RealServer listed at the top of the window.
The Interval Window specifies how often information in the Monitor window is updated. This information is given in minutes.
The Reset Graphic button acts as a "refresh" or "reload" button, to clear the Usage screen.
To update the peak shown in the Usage and Sources window to its current value, click Reset Peak.
The Sources window tells what files are being accessed and the number of times each file is being played. This helps you determine which files are most and least popular, which could help you decide what new fields to add or remove to improve the popularity of your site.
The Connections window indicates how many clients are connected to your site simultaneously.