view bin/hack2.sh @ 0:fdd3f8a16fd4 default tip

shared scripts on valhalla cluster
author Henry Thompson <ht@markup.co.uk>
date Sat, 14 Mar 2020 11:00:58 +0000
parents
children
line wrap: on
line source

#!/bin/bash
cat $1 | parallel -j40 -N1 --pipe '{ sleep 1 ; hostname ; cut -f 39 -d \  /proc/$$/stat ; cat ; date +"%M:%S" ; }|paste -sd:'