ntap
is a real-time network monitoring tool that provides comprehensive insights into your network activity.
This guide describes how to use ntap
and its various commands and options.
To run ntap
, use the following syntax:
ntap [OPTIONS] [COMMAND]
By default, if no subcommand is specified, ntap enters the stat
mode, which displays continuous network statistics:
ntap
This default mode captures packets on all available network interfaces and continuously displays live network statistics, providing a quick and easy way to monitor current network activity without the need for additional configuration.
stat: Continuously displays network statistics, including bytes/bandwidth usage, top remote hosts, connections, and processes.
ntap stat
ntap live
monitor: Enters monitor mode to continuously display live network usage statistics with associated country and AS (or ISP) info.
ntap monitor
ntap socket
ntap interfaces
ntap interface
ntap route
ntap ipinfo
ntap help
For help on a specific command, such as live:
ntap help live
Help (-h
, --help
): Prints help information.
ntap --help
Subcommand Help (-h
, --help
): Prints subcommand's help information.
ntap live --help
Tick Rate (-r
, --tickrate
): Sets the refresh rate in milliseconds.
ntap --tickrate 1000
Interfaces (-i
, --interfaces
): Specifies the interfaces by name.
ntap -i eth0,eth1
Protocols (-P
, --protocols
): Filters traffic by protocols.
ntap -P tcp,udp
IP Addresses (-a
, --ips
): Filters traffic by specific IP addresses.
ntap --ips 1.1.1.1,8.8.8.8
Ports (-p
, --ports
): Filters traffic by ports.
ntap -p 80,443
Version (-V
, --version
): Displays the version of the ntap.
ntap --version