Intel® DevCloud
Help for those needing help starting or connecting to the Intel® DevCloud
1644 Discussions

Monitor job output before the job is complete

Saransh
Employee
635 Views

Hi!

I have to monitor jobs on DevCloud (for example : training), but I noticed that we get the output logs of the terminal at the compute node only after the job is complete. 

Is there a way to do that? I tried nohup, but it did not work.

 

Thanks,

Saransh

0 Kudos
3 Replies
RaeesaM_Intel
Moderator
622 Views

Hi,

 

Thanks for reaching out to us.

 

You could use ‘qpeek’ command to monitor jobs and to get the real time logs of running job on DevCloud.

  • Once job is submitted, you can track the job using the below command:  

     qstat

  • To read the output and error stream of the executing job, you can use the qpeek command as below:

     qpeek -o <job_id>

     qpeek -e <job_id>        

Please note that an output and error file will be created once the execution is in running state.

 

Hope this helps

Regards,

Raeesa

 

0 Kudos
RaeesaM_Intel
Moderator
604 Views

Hi Saransh,


Did the solution provided helped ? Were you able to see the logs ? Please let us know the updates.


Regards,

Raeesa


0 Kudos
RaeesaM_Intel
Moderator
572 Views

Hi Saransh,


We haven't heard back from you. We are discontinuing monitoring this thread. Please raise a new query if you have any further doubts. We would be happy to help you.


Thanks and Regards,

Raeesa


0 Kudos
Reply