[Cloud] Re: Expired certificates for wmflabs.org and wmcloud.org

2021-05-11 Thread Sascha Brawer
Filed a feature request for better monitoring: https://phabricator.wikimedia.org/T282264 — Sascha Am Fr., 7. Mai 2021 um 11:56 Uhr schrieb Arturo Borrero Gonzalez < aborr...@wikimedia.org>: > On 5/7/21 7:40 AM, Sascha Brawer wrote: > > Curious, does the Wikimedia cloud have some kind of monitori

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

2021-05-11 Thread Huji Lee
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 output on a web page. While shell_exec() works with other command

[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

[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 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 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