Question: How to find out how long each tool run on in galaxy
0
gravatar for Mic
3.4 years ago by
Mic70
Australia
Mic70 wrote:

Hello, How is is possible to find out in Galaxy how long each tool needed to run in the history?

 

galaxy • 1.0k views
ADD COMMENTlink modified 2.7 years ago by Martin Čech ♦♦ 4.9k • written 3.4 years ago by Mic70

Hi Hanz-Rudolf, unfortunately "Job End Time", "Job Start Time", and "Job Runtime" are not there. Please have look to the screenshot http://i.imgur.com/ZMI83MC.png

ADD REPLYlink written 3.4 years ago by Mic70

Oops, I am sorry. I haven't realized this was a modification on our local Galaxy server

Hans-Rudolf

ADD REPLYlink written 3.4 years ago by Hotz, Hans-Rudolf1.8k

By any chance, do you know how to make these changes?

ADD REPLYlink written 3.4 years ago by Mic70

I was probably wrong again.....are you admin on your server? You should get the details when you  log in with your admin account

For deatils see: /database/compiled_templates/show_params.mako.py

 

Hans-Rudolf

ADD REPLYlink written 3.4 years ago by Hotz, Hans-Rudolf1.8k

Yes, I am an admin, but I do not know where to find the running times?

ADD REPLYlink written 3.4 years ago by Mic70

If you don't get it to display via the "view details' button despite being logged-in as admin, you can also query the PostgreSGL database, either directly (e.g. select create_time, update_time from job where id =<job-id>; ) or via the reports server (https://wiki.galaxyproject.org/Admin/UsageReports )

Hans-Rudolf

ADD REPLYlink written 3.4 years ago by Hotz, Hans-Rudolf1.8k

I am also looking for this. I would really need to display "Job End Time", "Job Start Time", and "Job Runtime" without interacting by myself with the database or server. My old instance displayed this informations, and I did nothing to obtain this behaviour. I don't understand why those simple informations are not available anymore.

Did you find a solution ? Do I need to change "something", "somewhere" ? I didn't find anything related to this in the galaxy.ini .

ADD REPLYlink modified 2.7 years ago • written 2.7 years ago by christophe.habib340
1
gravatar for Martin Čech
2.7 years ago by
Martin Čech ♦♦ 4.9k
United States
Martin Čech ♦♦ 4.9k wrote:

The collection of start and end times of jobs (and other metrics) is controlled by the job_metrics_conf.xml file. Details are inscribed in the file itself:

https://github.com/galaxyproject/galaxy/blob/dev/config/job_metrics_conf.xml.sample#L15

ADD COMMENTlink written 2.7 years ago by Martin Čech ♦♦ 4.9k

Thank you for your answer. There is no line in the galaxy.ini related to this file. I just renamed the file removing the .sample and now it works. Do you know where this file is called ?

ADD REPLYlink written 2.7 years ago by christophe.habib340

it is being loaded from config at lib/galaxy/app.py - is this what you were asking?

ADD REPLYlink written 2.7 years ago by Martin Čech ♦♦ 4.9k

I just checked, in my job_metrics_conf.xml I have <core/> and <meminfo/>.

I have 2 instances on 2 different servers both on 16.01, on the first one it works fine and I see all I want with the "view details", and on the second one I have no such informations.

How could I explain this behaviour ?

PS : apparently the informations are available only for admin user. Is it normal ?

ADD REPLYlink modified 2.2 years ago • written 2.2 years ago by christophe.habib340
0
gravatar for Hotz, Hans-Rudolf
3.4 years ago by
Switzerland
Hotz, Hans-Rudolf1.8k wrote:

Hi Mic

Click on the "view details' button in the history item. There you find information about "Job End Time", "Job Start Time", and "Job Runtime" for the tool which created this history item.

 

Hope this helps

Regards, Hans-Rudolf

ADD COMMENTlink written 3.4 years ago by Hotz, Hans-Rudolf1.8k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 171 users visited in the last hour