next up previous contents index
Next: 6.6 Setting up WWW Up: 6 The Object Cache Previous: 6.4 Using the Cache's

6.5 Using the Cache's remote instrumentation interface

   

The Cache provides a remote instrumentation interface, allowing you to gather statistics about many caches from a single graphical client. The instrumentation interface has two user interfaces: one is implemented using WWW, and the other is implemented using Tcl/Tk [16].

To run the WWW-based Cache Manager: open the URL /Harvest/cgi-bin/cachemgr.cgi on your local HTTP server. You will receive a HTML form in which you can specify the hostname and port on which your Cache is running, and the type of information you wish to receive. After you've entered this information, click on the ``Submit'' button to send the request to the Cache.

   

The instrumentation interface also allows caches to be shutdown remotely. To provide a measure of security, we use a simple password mechanism. For this purpose, you should add the user ``cache'' to your /etc/passwd file (or the passwd ypmap for NIS). cached will check the given password with this account when a shutdown is requested.



Duane Wessels
Wed Jan 31 23:46:21 PST 1996