Forum Discussion

Dinu30's avatar
3 years ago

Wanted to know Processes or PID

Is there any custom data source / custom script available to know the processes which is consuming all the CPU resources during High CPU / High Memory. Wanted to incorporate this into existing CPU & Memory DS so that during production issues we can move the cursor on the respective graph to find the processes / PID of the application causing issue. 

  • 42 minutes ago, Dinu30 said:

    Is there any custom data source / custom script available to know the processes which is consuming all the CPU resources during High CPU / High Memory. Wanted to incorporate this into existing CPU & Memory DS so that during production issues we can move the cursor on the respective graph to find the processes / PID of the application causing issue. 

    It would be very nice if LM provided this sort of information, but generally they only do numbers not text.  Still, Mike Suding (who used to work there) has a great blog with various useful modules.  Check this one out (from 2015, so may need tuning): http://blog.mikesuding.com/2015/11/07/windows-top-5/

    I really miss stuff like this in general -- when we used to deploy Nagios we developed a callback mechanism so arbitrary additional data could be collected to attach to alerts (data you would have retrieved as an admin at the time the event occurred if you could).  Doing the same with LM has proven to be tricky.