Files
cheatsheet-tldr/tldr/ipaggcreate
2024-03-15 00:13:13 +00:00

22 lines
610 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ipaggcreate
> Produce aggregate statistics of TCP/IP dumps.
> More information: <https://manned.org/ipaggcreate>.
- Count the number of packets sent from each source address appearing in a PCAP file:
`ipaggcreate --src {{path/to/file.pcap}}`
- Group and count packets read from a network interface by IP packet length:
`ipaggcreate --interface {{eth0}} --length`
- Count the number of bytes sent between each address pair appearing in a PCAP file:
`ipaggcreate --address-pairs --bytes {{path/to/file.pcap}}`