ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to save MTP pcap files without stopping the MTP process


Article ID: 20053


Updated On:


CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE



MTP creates packet capture (pcap) files on the ramdisk, nqtmp/tim. However, unless the process is stopped, the pcap files are moved elsewhere within milliseconds. Is there a way to save a pcap file without stopping the process?


At the MTP UNIX Console prompt enter something like this

  • Watch -n 2 "cp /nqtmp/tim/1/worker*/*.pcap /tmp"

to copy pcap files from all ramdisk worker directories every 2 seconds.

A message will appear on the screen "can't stat the files" because they are already moved out of /nqtmp/tim. Once you stop the command, however, you will see the pcap files in /tmp or any other specified directory.


Component: APMCEM