[Cloud] Re: Porting the output of qstat to a web page

2021-05-12 Thread Huji Lee
That explains it! Thanks! On Tue, May 11, 2021 at 10:29 PM YiFei Zhu wrote: > On Tue, May 11, 2021 at 8:45 PM Huji Lee wrote: > > > > @Bryan: this is great! In fact, https://sge-jobs.toolforge.org/tool/huji > completely serves my current needs. I added the links to the Grid page on > the Wikite

[Cloud] Re: Porting the output of qstat to a web page

2021-05-11 Thread YiFei Zhu
On Tue, May 11, 2021 at 8:45 PM Huji Lee wrote: > > @Bryan: this is great! In fact, https://sge-jobs.toolforge.org/tool/huji > completely serves my current needs. I added the links to the Grid page on the > Wikitech wiki. > > @Brooke: thanks for the -xml idea. As it turns out, that is what Bryan

[Cloud] Re: Porting the output of qstat to a web page

2021-05-11 Thread Huji Lee
@Bryan: this is great! In fact, https://sge-jobs.toolforge.org/tool/huji completely serves my current needs. I added the links to the Grid page on the Wikitech wiki . @Brooke: thanks

[Cloud] Re: Porting the output of qstat to a web page

2021-05-11 Thread Bryan Davis
On Tue, May 11, 2021 at 2:16 PM Huji Lee wrote: > > Hi, > > Some of the jobs I submit to the grid take a long time (say, 30-60 minutes) > and I would like to check on their status without having to log back into the > labs. > > I was hoping I could run shell_exec('qstat') in PHP and display its

[Cloud] Re: Porting the output of qstat to a web page

2021-05-11 Thread Brooke Storm
I’d suggest using the "-xml” argument, since the output will be easier to parse for web use, I think. That would also never have empty output so you could see exactly what you are getting back. “Empty” output with the -xml argument looks like: http://arc.liv.ac.uk/repos/darcs/sge/source/dist/ut