Forrest logo
back to the nettop tool

nettop:tldr:f054f

nettop: Display a per-process summary.
$ nettop -P
try on your machine

The "nettop" command is a tool used in macOS systems to monitor network traffic in real-time. When the "-P" option is added, it specifically displays statistics based on processes.

When you execute the "nettop -P" command, a table will be displayed showing various columns related to network activity. These columns generally include:

  1. Process Name: This column represents the name of each running process on your system.

  2. Bytes In: It displays the number of bytes received by each process.

  3. Bytes Out: This column shows the number of bytes sent by each process.

  4. Packets In: It represents the number of packets received by each process.

  5. Packets Out: It represents the number of packets sent by each process.

  6. State: This column shows the connection state of each process (e.g., "ESTABLISHED," "CLOSE_WAIT," etc.).

Using this command, you can easily track the network activities of different processes on your macOS system, helping you identify any specific processes that may be consuming excessive network resources.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the nettop tool