view bin/dummy.sh @ 153:2b59f3ef2294

add -c switch to btot
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 01 Nov 2021 21:23:13 +0000
parents a598469733d3
children
line wrap: on
line source

#!/bin/bash
pwd
parallel --will-cite --nonall -S r1i5n0 -S r1i5n1 'echo $$ $(hostname); n=$(echo $(hostname)|cut -c 6); nohup sleep $((n*5)); echo done $n'
echo pdone