Get CWD of bjobs in LSF environment -
bjobs -l gives long description of job cwd split across 3 lines. want command can reliable fetch me cwd.
if you're using recent version of lsf (9.1.2+ believe), can use -o
option of bjobs
customize bjobs short form output give each job's cwd on single line:
$ bjobs -o 'jobid exec_cwd' 5950 jobid exec_cwd 5950 /home/squirrel/cwd
if you're running older version of lsf real option parse long form bjobs output.
the -uf
option bjobs
display same output @ -l
option, in "unformatted" way. take of job events split many lines , display each 1 on single line easier parsing.
Comments
Post a Comment