Last active
August 29, 2015 14:24
-
-
Save anshultiwari1/7db6b63c4a07cc2b6af4 to your computer and use it in GitHub Desktop.
to get time for all tasks of a particular job id from tractor database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to get time for all tasks of a particular job id from tractor database | |
tq_bin='/home/anshul/dev/python/Tractor-2.0/bin/tq' | |
export TRACTOR_ENGINE=fox:1503 | |
$tq_bin tasks "jid=877" -c wtime --nh | tail -n+2 | awk '{print $1}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment