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

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -