Execute commands on AIX server

Hi Team,

Is there a way to execute a command on the AIX server to capture the output of the following? The jbase_agent in the T24 core banking system is managing hundreds of processes, and these processes are creating files within a specific folder. To track this, counting the active processes or the number of files in that folder would be helpful.

The command in question is:

ps -ef | grep jbase_agent | grep -v start | wc -l

This will allow us to monitor the number of processes associated with jbase_agent. Alternatively, we could count the files in the designated folder to get a similar count of connections.

Hi @VibhashMishra , I believe you can get the count of process with these metrics. Try these and compare with the actual count on the server. 

For number of files in the folder you can use below extension but these extensions don’t run on AIX.
Filesystem monitoring monitoring & observability | Dynatrace Hub

Alternate solution can be you run a shell script → log the output to a file → monitor that log file using Dynatrace.

Hope this helps,

Hi,

You can use @RohitBisht ways and Metric scripting integration .

Best regards