analyze_process.py

The analyze_process.py script collects statistics for a running MATRIXX process and writes the information to two log files.

This script creates two log files: pid.basic.log and pid.server_name.log. The pid.basic.log file has a basic analysis of the process that includes the call stack of each process thread, and the pid.server_name.log file has a deeper analysis of the process.

Syntax

analyze_process.py [-p pid | server_abbreviation]

Options

-p pid | service_abbreviation
The Linux process ID or service abbreviation of the MATRIXX process to analyze. To determine the PID, run the following command in a terminal:
ps -aef |grep mtx
If you are using the service abbreviation syntax, you can specify more than one. Values for mtx_service and task_name lists the available service abbreviations:
Table 1. Values for mtx_service and task_name
Application mtx_service Abbreviation task_name Value
test_app app
  • test_app_driver_task
  • file_sink_task
  • io_sender_task
  • io_receiver_task
cdr_checker cdr_checker
  • cdr_checker_driver_task
  • cdr_checker_sink_task
  • io_sender_task
  • io_receiver_task
cdr_converter cdr_converter
  • cdr_converter_driver_task
  • cdr_dispatcher_sender_task
  • to_diameter_task
  • diameter_sender_task
  • diameter_client_sender_task
  • diameter_receiver_task
  • diameter_client_receiver_task
  • from_diameter_task
  • cdr_dispatcher_receiver_task
  • cdr_converter_file_sink_task
cdr_simulator cdr_simulator
  • cdr_simulator_driver_task
  • file_sink_task
  • io_sender_task
  • io_receiver_task
camel_gateway cg
  • unitdata_receiver_task
  • unitdata_sender_task
  • from_sccp_task
  • to_sccp_task
  • camel_logging_task
  • analyzer_task
  • stats_task
  • stats_monitor_task
  • transporter_task
charging_server chrg
  • task_manager_handler_task
  • replay_task
  • upgrade_task
  • normalization_task
  • from_tcap_task
  • charging_task
  • enrichment_task
  • response_task
  • retry_task
  • stats_monitor_task
cluster_manager cluster
  • timing_task
  • cmp_receiver_task
  • service_mgr_task
  • peer_cluster_mgr_task
  • peer_cluster_monitor_task
  • cluster_mgmt_server_task
  • lb_monitor_server_task
  • event_dispatcher_task
  • system_monitor_task
  • publishing_ha_mgr_task
  • cluster_state_monitor_task
  • snmp_monitor_task
  • kafka_monitor_task
  • cluster
  • stats_monitor_task
diameter_gateway diam
  • diameter_receiver_task
  • diameter_client_receiver_task
  • from_diameter_task
  • diameter_logging_task
  • to_diameter_task
  • diameter_sender_task
  • diameter_client_sender_task
  • analyzer_task
  • stats_task
  • stats_monitor_task
  • external_mdc_producer_sender_task
diameter_test_app diam_app
  • diameter_test_app_driver_task
  • to_diameter_task
  • diameter_sender_task
  • diameter_client_sender_task
  • diameter_receiver_task
  • diameter_client_receiver_task
  • from_diameter_task
  • file_sink_task
event_loader eloader
  • event_loader_cleanup_task
  • event_loader_dispatcher_task
  • event_loader_purge_task
  • event_loader_worker_task
  • topology_processing_task
  • stats_monitor_task
mdc_gateway gw
  • network_receiver_task
  • network_client_receiver_task
  • from_network_task
  • to_network_task
  • network_sender_task
  • network_client_sender_task
  • to_activemq_task
  • from_activemq_task
  • analyzer_task
  • stats_task
  • stats_monitor_task
  • transporter_task
network_enabler ne
  • external_network_task
  • internal_network_task
  • stats_task
  • stats_monitor_task
price_loader_app price
  • price_loader_app_driver_task
  • price_loader_app_sink_task
  • io_sender_task
  • io_receiver_task
prometheus_agent prometheus
  • main_task
  • stats_monitor_task
route_cache_controller rcc
  • main_task
route_cache_controller_l2 rccl2
  • main_task
route_cache_proxy rcp
  • main_task
snmp_agent snmp
  • main_task
  • stats_monitor_task
event_stream_server stream
  • event_publisher_task
  • event_writer_task
  • event_file_manager_task
  • kafka_event_producer_task
  • event_archiver_task
  • mef_v2_generator_task
  • topology_processing_task
  • stats_monitor_task
system_monitor sysmon
  • main_task
task_manager task
  • topology_processing_task
  • subscriber_db_scan_task
  • alert_db_scan_task
  • activity_db_scan_task
  • event_db_scan_task
  • upgrade_cleanup_task
  • schedule_db_task_object_scan_task
  • schedule_db_application_delay_response_object_scan_task
  • schedule_db_call_out_object_scan_task
  • schedule_db_payment_op_object_scan_task
  • schedule_db_notification_object_scan_task
  • schedule_db_start_call_object_scan_task
  • stats_monitor_task
  • response_task
traffic_manager tra
  • main_task
  • stats_monitor_task
traffic_manager traffic
  • main_task
  • stats_monitor_task
transaction_server txn
  • transaction_request_receiver_task
  • gtc_sorting_task
  • control_channel_task
  • transaction_manager_task
  • transaction_stream_task
  • database_copier_copy_task
  • database_copier_sender_task
  • database_copier_receiver_task
  • database_copier_merge_task
  • transaction_rsync_task
  • transaction_log_manager_task
  • checkpoint_writer_task
  • transaction_log_reader_task
  • p2p_sender_receiver_task
  • checkpoint_manager_task
  • database_replay_manager_task
  • replay_analyzer_task
  • stats_monitor_task
  • index_organizer_driver_task
  • index_organizer_task
  • transaction_sorted_logging_task
  • transaction_stream_kafka_task
  • transaction_init_logging_task