beautypg.com

Apple WebObjects 3.5: Serving User Manual

Page 24

background image

Administrative Tasks

25

1. Start a command shell window (on NT use the Bourne Shell in the

WebObjects program group).

2. Change to the temporary directory (using the

cd

command).

3. Enter the following command to create the

logWebObjects

file:

touch logWebObjects

4. Enter the

tail

command to print the current activity in the adaptor to

standard output (the shell window):

tail -f WebObjects.log

Accessing the Application Statistics Page

WebObjects applications record statistics about themselves while they run.
You can access the WOStats page while the application is running to obtain
access to these statistics. Most WebObjects applications have a WOStats
page automatically included in the application. Access the WOStats page
with a URL like the following:

http://localhost/cgi-bin/WebObjects/MyWebApp.woa/-/WOStats

If there are multiple instances, specify the instance number as well:

http://myhost/cgi-bin/WebObjects/MyWebApp.woa/-/WOStats.wo/-/-/1/myhost

The “1” just before the last occurrence of “myhost” is the instance number.