Linux command
netop 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Monitor all network traffic
sudo netop
Monitor a specific interface
sudo netop -n [eth0]
说明
netop is a terminal-based network traffic monitor that uses BPF (Berkeley Packet Filter) to capture and display network activity. It provides a TUI showing real-time network topology and traffic statistics with customizable filter rules.
参数
- -n _INTERFACE_
- Specify the network interface to monitor.
FAQ
What is the netop command used for?
netop is a terminal-based network traffic monitor that uses BPF (Berkeley Packet Filter) to capture and display network activity. It provides a TUI showing real-time network topology and traffic statistics with customizable filter rules.
How do I run a basic netop example?
Run `sudo netop` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -n _INTERFACE_ do in netop?
Specify the network interface to monitor.