Below are some built-in commands that you can make use of on the Mac Terminal to monitor the network traffic.
netstat Command
Make use of the netstat command to display network statistics and all the active network connections.
% netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lo0 16384 <Link#1> 3994 0 3994 0 0
lo0 16384 127 localhost 3994 - 3994 - -
lo0 16384 localhost ::1 3994 - 3994 - -
lo0 16384 c2cs-macboo fe80:1::1 3994 - 3994 - -
gif0* 1280 <Link#2> 0 0 0 0 0
stf0* 1280 <Link#3> 0 0 0 0 0
anpi1 1500 <Link#4> 9e:00:90:d3:c2:cc 0 0 0 0 0
anpi0 1500 <Link#5> 9e:00:90:d3:c2:cb 0 0 0 0 0
en3 1500 <Link#6> 9e:00:90:d3:c2:ab 0 0 0 0 0
en4 1500 <Link#7> 9e:00:90:d3:c2:ac 0 0 0 0 0
en1 1500 <Link#8> 36:5f:76:30:f6:80 0 0 0 0 0
en2 1500 <Link#9> 36:5f:76:30:f6:84 0 0 0 0 0
ap1* 1500 <Link#10> 3a:3e:ef:d8:68:7c 0 0 0 0 0
en0 1500 <Link#11> 18:3e:ef:d8:68:7c 675074 0 338171 0 0
en0 1500 c2cs-macboo fe80:b::d1:abdc:8 675074 - 338171 - -
en0 1500 192.168.0 192.168.0.105 675074 - 338171 - -
awdl0 1500 <Link#12> a6:fa:d5:9d:42:03 0 0 10 0 0
awdl0 1500 fe80::a4fa: fe80:c::a4fa:d5ff 0 - 10 - -
llw0 1500 <Link#13> a6:fa:d5:9d:42:03 0 0 0 0 0
llw0 1500 fe80::a4fa: fe80:d::a4fa:d5ff 0 - 0 - -
bridge0 1500 <Link#14> 36:5f:76:30:f6:80 0 0 0 0 0
utun0 1500 <Link#15> 0 0 1 0 0
utun0 1500 c2cs-macboo fe80:f::a941:6a66 0 - 1 - -
utun1 1380 <Link#16> 0 0 3 0 0
utun1 1380 c2cs-macboo fe80:10::e415:752 0 - 3 - -
utun2 2000 <Link#17> 0 0 4 0 0
utun2 2000 c2cs-macboo fe80:11::f908:bf5 0 - 4 - -
utun3 1000 <Link#18> 0 0 3 0 0
utun3 1000 c2cs-macboo fe80:12::ce81:b1c 0 - 3 - -
utun4 1350 <Link#19> 0 0 4 0 0
utun4 1350 c2cs-macboo fe80:13::b194:e5e 0 - 4 - -
utun5 1380 <Link#20> 0 0 4 0 0
utun5 1380 c2cs-macboo fe80:14::5e27:fa3 0 - 4 - -

tcpdump Command
Get the dump of your network using the tcpdump packet analyzer command. Note, that you will need administrative privileges to run this command.
sudo tcpdump -i en0
If you want to monitor network traffic in real-time on the Terminal you can make use of the console-based network bandwidth monitoring tool called iftop. You will need to get it installed using Homebrew.
brew install iftop
You will need administrative privileges to run this command.
sudo iftop
-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to MacOS,
- Clear Screen shortcut macOS Terminal
- What is macOS Ventura?
- [fix] How to Show file extensions on all files on Mac
- How to Find Where Mac Terminal App is Located?
- AutoSave button not working on Office on Mac (Word, Excel or Powerpoint)
- macOS say command text to speech using various voices and languages
- How to change Ping TTL value on macOS
- Open .bash_profile File in TextEdit using Terminal
- How to know the Safari Version on Mac
- How to Copy full Absolute Path of a File on Mac
- 13.0 MacOS Ventura release date
- Enable spell check in Sublime Text (macOS)
- How to Display Analog Clock on Mac Menu Bar
- How to turn off Location Services macOS Ventura 13
- How to Open VS Code on Mac
- Add Bookmark macOS Safari
- How to Fix cd: too many arguments Error in Terminal: A Step-by-Step Guide
- How to install wget on macOS
- Select Line Number TextEdit on Mac
- Strikethrough Text in Excel for Mac
- How to Enable or Disable Dark Mode on macOS Ventura 13
- How to hide or display Wifi icon in macOS Bug Sur Menu Bar
- How to install Yarn on Mac (macOS)
- How to fix command not found brew (bash, zsh) on macOS Terminal
- How to Schedule Mails in macOS Ventura
More Posts:
- How to determine Gradle Version in Android Studio - Android-Studio
- CentOS Cannot find a valid baseurl for repo base7x86_64 yum - HowTos
- 29: Program to move a file in Python - Python
- [Error] Microsoft Teams: We're sorry—we've run into an issue. - Microsoft
- How to run a Command in Bash Script - Bash
- How to perform Find and Replace using vim Editor - vi
- Shutdown Mac Terminal Command - MacOS
- How to check if variable is a number in JavaScript (NaN, typeof, regex) - JavaScript