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

M
M Member, Employee Posts: 235
100 Comments Photogenic 5 Likes Name Dropper
✭✭✭✭

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: 330
    25 Answers First Anniversary 100 Comments 25 Likes
    ✭✭✭✭

    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: 235
    100 Comments Photogenic 5 Likes Name Dropper
    ✭✭✭✭

    @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.