File: list_ckpt_files.sh

package info (click to toggle)
dmtcp 2.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 6,496 kB
  • sloc: cpp: 33,592; ansic: 28,099; sh: 6,735; makefile: 1,950; perl: 1,690; python: 1,241; asm: 138; java: 13
file content (14 lines) | stat: -rwxr-xr-x 305 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#this script was used to free up space after testing on teracluster
#it also wipes out debugging logs
#it takes no args and expects a file 'hosts' to contain a list of nodes

for X in localhost `cat < hosts`
do
#  echo "Clearing $X..."
  ssh $X ls -l /tmp |grep ckpt_ | grep $USER 
done

wait