Wiki‎ > ‎

awk over ssh

posted Oct 14, 2016, 4:01 PM by Dong Xu   [ updated Oct 14, 2016, 4:11 PM ]

runhost.sh all "ps aux|grep virtualgrid|awk '{print \$2}'|head -1|xargs -ti kill {}"


runhost.sh all 'nohup virtualgrid -nogui >& virtualgrid_`hostname`.log&'
Comments