Index: openacs-4/packages/monitoring/monitoring.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/monitoring/monitoring.info,v diff -u -N -r1.4 -r1.5 --- openacs-4/packages/monitoring/monitoring.info 22 Aug 2002 03:36:15 -0000 1.4 +++ openacs-4/packages/monitoring/monitoring.info 23 Aug 2002 03:39:12 -0000 1.5 @@ -86,7 +86,7 @@ - + Index: openacs-4/packages/monitoring/tcl/monitoring-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/monitoring/tcl/monitoring-procs.tcl,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/monitoring/tcl/monitoring-procs.tcl 22 Aug 2002 03:36:15 -0000 1.3 +++ openacs-4/packages/monitoring/tcl/monitoring-procs.tcl 23 Aug 2002 03:39:12 -0000 1.4 @@ -68,7 +68,7 @@ return } - if [catch { set top_output [exec $top_location $top_options] } errmsg] { + if [catch { set top_output [eval "exec $top_location $top_options"] } errmsg] { # couldn't exec top at TopLocation if { ![file exists $top_location] } { ns_log Error "ad_monitor_top: top not found $top_location: $errmsg" Index: openacs-4/packages/monitoring/www/top/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/monitoring/www/top/index.tcl,v diff -u -N -r1.3 -r1.4 --- openacs-4/packages/monitoring/www/top/index.tcl 22 Aug 2002 03:36:15 -0000 1.3 +++ openacs-4/packages/monitoring/www/top/index.tcl 23 Aug 2002 03:39:12 -0000 1.4 @@ -185,10 +185,10 @@ " set top_location [ad_parameter -package_id [monitoring_pkg_id] TopLocation monitoring "/usr/local/bin/top"] -set top_options [ad_parameter -package_id [monitoring_pkg_id] TopOptions monitoring "-bn 1"] +set top_options [ad_parameter -package_id [monitoring_pkg_id] TopOptions monitoring "-bn1"] if { [string match $showtop "t"] } { - if [catch { set top_output [exec $top_location $top_options] } errmsg] { + if [catch { set top_output [eval "exec $top_location $top_options"] } errmsg] { # couldn't exec top at TopLocation if { ![file exists $top_location] } { ad_return_error "top not found" "