Products | Versions |
---|---|
TIBCO ActiveSpaces | - |
Not Applicable | - |
Monitor ActiveSpaces process and memory usage.
AS_ADMIN
======================
- Login to as-admin.
- Execute command "show members" when the member name is not known.
- Enable monitoring using command listed below.
- Execute on member "<Member_Name>" monitor system true.
- Disable monitoring. Do not keep monitoring enabled all the time. Enabling monitoring will slow the as-agent processing.
Sample Command
=========================
as-admin > execute on member "as-agent-name-1" monitor system true
as-admin > execute on member "as-agent-name-2" monitor system true
==========================
- The agent is now visible in the command output: "show system stats" or as-admin > show space "$sys_stats" entries.
-In show space "$sys_stats" entries " output res_mem_size refers to as-agent memory.
Once you collect the stats, you can disable monitoring.
==========================
as-admin > execute on member "as-agent-name-1" monitor system false
as-admin > execute on member "as-agent-name-2" monitor system false
=========================
Linux OS related commands
=========================
ps -p <pid> -o %cpu,%mem,cmd // provide PID of as-agent , CPU and memory usage of the PID.
pmap <pid> | grep total // provide PID of as-agent. Total Memory usage of PID.
pmap <pid> // provide PID of as-agent. Memory usage map of single process.
ASMM:
======================
Once you enable monitoring from as-admin for members, you can check the memory usage in the ASMM Console.