File: sshallsinfo_killall_MATLAB.sh

package info (click to toggle)
sinfo 0.0.48-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,332 kB
  • sloc: sh: 11,213; cpp: 6,722; makefile: 271; xml: 151; perl: 149
file content (6 lines) | stat: -rwxr-xr-x 97 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
#! /bin/sh

for HOST in ` sinfo -I `; do 
  echo HOST=${HOST} 
  ssh ${HOST} killall MATLAB
done