Get process owner from performance counters

Copper Contributor

Good morning!

I'm having a bit of an issue with a farm, comprised of 18 nv24 vm, each with a current session limit of 24 people.

They are heavy cad users, and sometimes they will launch processes that effectively kill a host for a few minutes, to half an hour. 

 

The issue I'm having, is that so far I haven't found a way to identify the user(s) responsible for those processes. 

We have a log analytics set up with all counters, but I can't find a way to match a process with the owner. The only way I'm able to do it is with either powershell or an interactive session, both of wich won't run when the CPU is under heavy load. 

 

Do you have any input on how to go about something like this? It seems like a very common issue, but I haven't been able to find any reference to a process owner in counters. The only thing I saw is the session number next to the process name if queried from log analytics, but it's hard at best to match with a session posthumously.

 

Thank you very much for any help you might give me. 

1 Reply

@Enrico1433 

I note you mention the log analytics to match the Session ID is not viable post the event and initiating a process when the issue occurs is limited due to CPU load.

 

Would logging when processes start up as a user, capturing their session ID and the process and timestamp initiated provide a reference which could be used in conjunction with the log analytics.

 

The process could be launched as the system or when a user logs in.

 

@server_gov