Log for entire job?

Is there a way to get a log for an entire job? Not a log for each individual task, but a log for the entire job. Like something that shows up in the task window?

Hello James,

Wow, I can honestly not recall a single time we have been asked for this, likely due to the fact that this would make a massive log file. Can you give us some more information on the need for something like this, instead of the individual job reports we have now? I am told that this is something that could be scripted using an archived job, but there is no functionality inside Deadline to do this at all

Hey Dwight,

so basically what I’m looking for would be a simple rundown of the details one would see in the task window put into a txt file.

Kind of like:

Frame | Tasktime | Slave | CPU Utilization | Memory Utilization | Etc…
1 20:24 slave01 95% 6GB
2 21:35 slave03 92% 5GB
3 20:53 slave06 96% 5GB
4 23:01 slave02 94% 8GB

EDIT: The formatting didn’t come out like I had hoped.

I basically need to be able to show how a job performed on our farm on a macro level. To illustrate, we are currently testing out new hardware and I need to send Dell some logs from our test renders so they can compare to their own diagnostics. A handful of individual task logs doesn’t really help them in this.

I was hoping that there was a feature that I missed that I could get this from. But if there is a script that can help me get this that would be great as well.

Thanks!

I think you can just copy most of that straight from jobs tasks view in monitor? Just select everything and right click --> copy.

My usual MO is to save all those logs to a folder, then run Unix commands on them.

To shove all logs into one (not very helpful yet):

cat * > all.txt

Then look for lines with particular text:

grep "Slave Name: " all.txt

Because all of the text will be in the right order, you can do some crafty things with regular expressions: (note the Slave name is on the bottom of each set of stats because of its location in the log)

Mobile-029:Testing2 edwin.amsler$ cat * | egrep "CPU Usage|Slave Name"
Average CPU Usage: 0%
Peak CPU Usage: 0%
Slave Name: Mobile-029-eric2
CPU Usage: 24%
Average CPU Usage: 0%
Peak CPU Usage: 0%
Slave Name: Mobile-029-eric2
CPU Usage: 24%
Average CPU Usage: 0%
Peak CPU Usage: 0%
Slave Name: Mobile-029-eric3
CPU Usage: 50%
Average CPU Usage: 0%
Peak CPU Usage: 0%
Slave Name: Mobile-029-eric3
CPU Usage: 50%
Average CPU Usage: 0%
Peak CPU Usage: 0%
Slave Name: Mobile-029-eric3
CPU Usage: 50%

You’re totally right, thanks for the tip!

If only I was using a Unix OS. :frowning:

But I think Panze gave me the best solution.

I think their solution is probably best too.