Get config file from command line
-#!/usr/local/bin/tclsh -f
+#!/usr/bin/tclsh -f
source cmds.tcl
-source ht98.tcl
+source [lindex $argv 1]
foreach i [agent cat] {
set host [agent list $i host]
- set user muench
- set dir hadaq/hadaq-0.5
+ set user root
+ set dir /home/hades/ht99/daq/hadaq
puts $host
- if {[string match "gast8" $host] || [string match "gast7" $host]} {
+ if {[string match "hades19" $host]} {
set psCmd {ps -ax | awk '{ print $1, $NF }'}
} else {
set psCmd {export UNIX95=XPG4; ps -e -o pid -o comm}