kill fiber tracking processes on specified hosts. [Usage] dmri_kill_process(hosts); [Input] hosts : host name list [Output] none [Example] dmri_kill_process cbi-node20 cbi-node21 cbi-node22 Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function dmri_kill_process(varargin) 0002 % kill fiber tracking processes on specified hosts. 0003 % [Usage] 0004 % dmri_kill_process(hosts); 0005 % [Input] 0006 % hosts : host name list 0007 % [Output] 0008 % none 0009 % [Example] 0010 % dmri_kill_process cbi-node20 cbi-node21 cbi-node22 0011 % 0012 % Copyright (C) 2011, ATR All Rights Reserved. 0013 % License : New BSD License(see VBMEG_LICENSE.txt) 0014 0015 Nhosts = nargin; 0016 script = which('cpu_job_kill.sh'); 0017 0018 for k=1:Nhosts 0019 cmd = [script ' ', varargin{k}]; 0020 system(cmd); 0021 end