Index: openacs-4/packages/acs-admin/www/monitor.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/monitor.tcl,v diff -u -r1.2 -r1.3 --- openacs-4/packages/acs-admin/www/monitor.tcl 13 Jan 2005 13:54:41 -0000 1.2 +++ openacs-4/packages/acs-admin/www/monitor.tcl 27 Oct 2014 16:38:51 -0000 1.3 @@ -14,7 +14,7 @@ set threads [ns_info threads] set connections [list] foreach thread $threads { - if { [string equal [lindex $thread 5] "ns:connthread"] && [llength [lindex $thread 6]] > 0 } { + if { [lindex $thread 5] eq "ns:connthread" && [llength [lindex $thread 6]] > 0 } { lappend connections [lindex $thread 6] } } @@ -63,7 +63,7 @@ } } -set distinct [llength [array names ip_p]] +set distinct [array size ip_p] # run standard Unix uptime command to get load average (crude measure of # system health)