How to get the memory usage for running processes from VM into servicenow instance

nivethika
Tera Contributor

Hi Team,

We are trying to build AI agent usecase for which we need to get the memory usage for the running processes from VM into our servicenow instance with process name and PID Value dynamically. So that we can use that input for next steps in the AI agent usecase. 

We also have DEX Configuration in our machine. So is there any way to bring that detail into servicenow instance.

4 REPLIES 4

PaulSylo
Tera Sage
Tera Sage

Hi @nivethika - I think you can use a custom script sensor with powershell script to get process name, PID and Memory usage or if you are using ACC, you cna fetch this details, i believe. Just a thought

Regards,
PaulSylo

Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !

HI @nivethika  - Any luck on ths ?

Regards,
PaulSylo

Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !

warren_chan
ServiceNow Employee
ServiceNow Employee

This seems to be a poor use case for Agentic AI as I'm not hearing any requirements for thinking/reasoning. If you are looking for a purely deterministic outcome, traditional tools such as scripts and Flows will work better for you.

HI @warren_chan - I agree with you, this is pure case for PowerShell, point to point scripting 

Regards,
PaulSylo

Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !