08 Apr 2025
10:51 PM
- last edited on
09 Apr 2025
12:25 PM
by
MaciejNeumann
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.
Solved! Go to Solution.
09 Apr 2025 01:19 AM
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.
https://docs.dynatrace.com/docs/shortlink/built-in-metrics#processes
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,
09 Apr 2025 09:00 AM
Hi,
You can use @RohitBisht ways and Metric scripting integration .
Best regards