From: hadaq Date: Mon, 22 Sep 2003 15:03:45 +0000 (+0000) Subject: more debug, mt X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=34b42806c6dbb2f137908d9e35331b139439b66b;p=daqdata.git more debug, mt --- diff --git a/hadaq/start_agents_parallel_sep03 b/hadaq/start_agents_parallel_sep03 index 61c8781..df20863 100644 --- a/hadaq/start_agents_parallel_sep03 +++ b/hadaq/start_agents_parallel_sep03 @@ -89,7 +89,7 @@ foreach $cur_system (@subSys) { $agent_path = "/home/hadaq/" . $beamTime . "/eb/hadaq_tcl"; } - my($exec_command) = "rsh $cpu -l $user_name \"sh -c 'cd; . .bash_profile; cd $agent_path; echo \"DAQSETUP: \\\$DAQ_SETUP\"; type daq_agent; echo \"PWD:\"; pwd; ./daq_agent'\""; + my($exec_command) = "rsh $cpu -l $user_name \"sh -c 'cd; . .bash_profile; kill_all_daq_procs; cd $agent_path; echo \"DAQSETUP: \\\$DAQ_SETUP\"; type daq_agent; echo \"PWD:\"; pwd; ./daq_agent'\""; print "exec: $exec_command\n"; system($exec_command); print "finished pid: $PID , cpu: $cpu, subsystem: $cur_system, command: $exec_command\n";