TLDR
Enter a command. For example: date, caffeinate, appsleepd, indent.

nettop

 
Display updated information about the network. More information: https://www.manpagez.com/man/1/nettop/.
 
  • Monitor TCP and UDP sockets from all interfaces:
     
    nettop
     
  • Monitor TCP sockets from Loopback interfaces:
     
    nettop -m {{tcp}} -t {{loopback}}
     
  • Monitor a specific process:
     
    nettop -p "{{process_id|process_name}}"
     
  • Display a per-process summary:
     
    nettop -P
     
  • Print 10 samples of network information:
     
    nettop -l {{10}}
     
  • Monitor changes every 5 seconds:
     
    nettop -d -s {{5}}
     
  • While running nettop, list interactive commands:
     
    h
     
  • Display help:
     
    nettop -h

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.