Can we get the PID or Process name for an launch: ExtAPI.DataModel.Project.Model.Solve()

M
M Member, Employee Posts: 169
50 Answers 100 Comments 100 Likes First Anniversary

I have some basic script to follow the CPU and RAM useage during a solve but it would be more focused if I could get the actual usage for the given analysis. To do that I need to know what PID or Process gets started when a solve is started. Any ideas

Answers

  • Mike.Thompson
    Mike.Thompson Member, Employee Posts: 158
    100 Comments 25 Likes 5 Answers First Anniversary

    Could you take a value of the date-time right before the solve command and then look at the APDL solver processes on the machine (look up by name?) and match the one that started soon after the solve call from Mechanical? I am not sure how to directly tie to the process Id but it might be possible.

  • M
    M Member, Employee Posts: 169
    50 Answers 100 Comments 100 Likes First Anniversary

    @Mike.Thompson This would be a solution but might not be super reliable. If I want to be sure what PID is started to follow the useage of a certain analysis.