cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Execute commands on AIX server

VibhashMishra
Participant

 

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. 

2 REPLIES 2

RohitBisht
Dynatrace Mentor
Dynatrace Mentor

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,

RB

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

You can use @RohitBisht ways and Metric scripting integration .

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Featured Posts