Once you are satisfied that data capture is working properly, you can bring the capture process to an orderly close by entering, from the metron home directory:
APMstopit
This will wait until the end of the current Capture Interval before closing all files and terminating the data capture.
You can enter the more disruptive command:
APMstopit now
to immediately stop all Acquire tasks.
You can check that APMstopit has taken effect by inspecting the cron table (to do this, enter the command: crontab -l). The cron table displayed should contain only the entries that check for and remove obsolete file every “n” days, and look for a new Capture Profile every odd minute of every hour of every day. There should be no line referring to the APMcapture command.
Another way of verifying that capture has stopped is to look at the APMst.xxxxx files. They should all now be 9 bytes long and contain the string inactive. However this may not happen until a few minutes after you issue the APMstopit command if you allow the current interval to end.