Bjobs is utility that come with Platform Process Manager suite. We have two utilities one to schedule the job that is called process manager and another to do load sharing. The output from both the utilities are very similar. As they have been developed by IBM both products behave same even though the underlying components are different. If you are asked to check all status of the job you can use following command:
[sas94@hostaj ~]$ bjobs -u all -a
JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME
4602 venkat RUN normal hostah hostaj 5F3E85BB0 Feb 12 15:49
4620 arun DONE normal hostaj hostaj ily_Files Feb 12 21:00
In above command, -u stands for user -a stands for all jobs. You can directly provide the job name instead of -a flag. Similarly you can provide user name after -u flag.
If above command didn't give you the output then first you have run profile.lsf command. This will load your lsf settings and environment variables. To load lsf profile:
[sas94@hostaj ~]$ . /lsf/conf/profile.lsf
Look the command carefully. First you need put dot (.) seperated by space and then location of profile.lsf.
[sas94@hostaj ~]$ bjobs -u all -a
JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME
4602 venkat RUN normal hostah hostaj 5F3E85BB0 Feb 12 15:49
4620 arun DONE normal hostaj hostaj ily_Files Feb 12 21:00
In above command, -u stands for user -a stands for all jobs. You can directly provide the job name instead of -a flag. Similarly you can provide user name after -u flag.
If above command didn't give you the output then first you have run profile.lsf command. This will load your lsf settings and environment variables. To load lsf profile:
[sas94@hostaj ~]$ . /lsf/conf/profile.lsf
Look the command carefully. First you need put dot (.) seperated by space and then location of profile.lsf.
Comments
Post a Comment