# How to monitor Suricata is done analyzing a pcap file?

**URL:** <https://forum.suricata.io/t/how-to-monitor-suricata-is-done-analyzing-a-pcap-file/3537>\
**Category:** Help\
**Created:** [May 26, 2023, 7:37am UTC](https://forum.suricata.io/t/how-to-monitor-suricata-is-done-analyzing-a-pcap-file/3537 "2023-05-26T07:37:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xifeng](https://avatars.discourse-cdn.com/v4/letter/x/2bfe46/32.png) [@xifeng](https://forum.suricata.io/u/xifeng)\
**Post date:** [May 26, 2023, 7:37am UTC](https://forum.suricata.io/t/how-to-monitor-suricata-is-done-analyzing-a-pcap-file/3537/1 "2023-05-26T07:37:07Z")

</div>

Hello guys, How can I determine if Suricata has done analyzing a pcap file when I’m using the `suricatasc` ? Thank you in advance!

---

<div class="post-metadata">

**Author:** ![Jeff\_Lucovsky](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.suricata.io/jeff_lucovsky/32/11_2.png) [@Jeff\_Lucovsky](https://forum.suricata.io/u/Jeff_Lucovsky)\
**Post date:** [May 27, 2023, 3:06pm UTC](https://forum.suricata.io/t/how-to-monitor-suricata-is-done-analyzing-a-pcap-file/3537/2 "2023-05-27T15:06:10Z")

</div>

Hi,

Have you seen [24.2. Suricata Socket Control — Suricata 8.0.0-dev documentation](https://docs.suricata.io/en/latest/manpages/suricatasc.html#pcap-mode-commands) and the previous forum posts that have asked about the same/similar issue?

> [@How to know pcap file analysis is done & transfer log via socket API?](https://forum.suricata.io/t/how-to-know-pcap-file-analysis-is-done-transfer-log-via-socket-api/216):
>
> Hi, I write a wrap program in Python to analyze pcap file in offline mode using command line, suricata -r test.pcap, and use Python to analyze the output logs. How to know offline analysis is done and notify Python which can parse logs? (Suricata is invoked in cmdline) Is there a way for Suricata to transmit logs via socket API to another machine? In .yaml, there are a few options such as local socket, local file and Redis. Many thanks.

If that doesn’t help, please give more information about

- Suricata version – we recommend using the latest released Suricata version 6.0.12
- Command line used to start Suricata
- Commands used with suricatasc
