File: stats.tcl

package info (click to toggle)
aolserver4 4.5.1-15.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 11,772 kB
  • sloc: ansic: 45,120; tcl: 5,532; sh: 1,021; makefile: 380; pascal: 219; php: 13
file content (33 lines) | stat: -rw-r--r-- 859 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# $Header: /cvsroot/aolserver/aolserver/examples/config/stats.tcl,v 1.1 2005/08/24 13:59:38 shmooved Exp $
# $Name: aolserver_v45_r1 $
#
# stats.tcl --
#
#     AOLserver Web stats configuration example. 
#
# Results:     
#
#     A Web based stats interface will configured:
#
#     http://<address>:<port>/_stats/
#
#     The user name and password (aolserver/stats) are configured by
#     default. For security reasons, if you are enabling stats 
#     in a production environment, you should change the default 
#     user name and password.
#

ns_section "ns/server/stats"
    ns_param enabled true
    ns_param user "aolserver"
    ns_param password "stats"
    ns_param url "/_stats"

#
# Mutex metering must be enabled in order for lock contention
# statistics to be collected and displayed.
# 

ns_section "ns/threads"
    ns_param mutexmeter true