ladybird/Base/usr/share/man/man1/netstat.md
brapru a7bb3fe7a8 netstat: Add the wide flag option
Previously netstat would print the whole line of an ip address or
resolved hostname. If the hostname was longer than the address column
length, it would push following columns into disaligned output.

This sets the default behavior to truncate any IP address or symbolic
hostname that is larger than the maximum address column size to provide
cleaner output. In the event the user wishes to see the whole address
name, they can then pass the wide option that will output as wide as
necessary to print the whole name.
2022-04-21 13:17:29 +02:00

666 B

Name

netstat

Synopsis

$ netstat [--all] [--list] [--tcp] [--udp] [--numeric] [--program] [--wide]

Description

Display network connections

Options:

  • -a, --all: Display both listening and non-listening sockets
  • -l, --list: Display only listening sockets
  • -t, --tcp: Display only TCP network connections
  • -u, --udp: Display only UDP network connections
  • -n, --numeric: Display numerical addresses
  • -p, --program: Show the PID and name of the program to which each socket belongs
  • -W, --wide: Do not truncate IP addresses by printing out the whole symbolic host