So the PID is 2341 in this example.
cd /usr/local/kerio/mailserver
sample mailserver 10 100 -file profile.txt
Send us the profile.txt file for developers to analyze.
Sometimes it is necessary to gather more in depth profiling data. For that, you need to use "shark" which is installed separately. The customer might need a contractor or Apple to help them to find and install shark. Then, they can follow the instructions in the following document:
After about 10 seconds, hit Ctrl-C to stop the trace. If it did not gather any packets, you may need to use the -i option to specify a different interface.
Shark can produce an output file our developers can analyze. There is a simple txt file at: How-to-gather-a-shark-trace.txt
This will create a core file in /cores.
ls -lt /cores | head
This will list the cores in /cores in order of newest to oldest. Gzip the most recent core, and send it to our FTP site. Call Kerio technical support for an FTP account.