Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
tcplist(1)		     General Commands Manual		      tcplist(1)

tcplist
     tcplist - list tcp connections to/from this machine

SYNOPSIS
     tcplist  [  -n  ]	[  -N ] [ -T ] [ -s ] [ -v ] [ -V ] [ -f filename ] [ -t
     timeout ]

DESCRIPTION
     Tcplist lists all the TCP connections to or from the machine it is run  on.
     If  any of the remote machines are running Ident-compilant servers, this is
     queried, and the results listed for each connection. Output is  by  default
     in "user@address:portnum user@address:portnum" format.

     Ident queries are done using non-blocking I/O, for performance.

OPTIONS
     -T     Report results in tabular format, with header. This format is proba-
	    bly easier to read, but harder to parse.

     -n     Don't resolve hostnames, but use host IP addresses instead.

     -N     Don't resolve port names. Use port numbers instead.

     -s     Show TCP servers running on this machine as well as established con-
	    nections.

     -v     Verbose mode: give a running commentary of what is being done.

     -V     Print version information and exit.

     -f filename
	    Assume  the hosts listed in the specified file are not running Ident
	    servers, and should not be queried. Listing terminal servers, X ter-
	    minals, PC's, and similar machines in this	file  can  significantly
	    speed up tcplist in some environments.

     -t timeout
	    Use  the specified timeout for Ident queries. The default timeout is
	    30 seconds.

FILES
     /etc/services, /etc/hosts

SEE ALSO
     netstat(8C), hosts(5), networks(5), services(5), tcp(4P), authd(8), RFC931,
     RFC1413, lsof(1/8)

HISTORY
     Written by John DiMarco at the University of Toronto, CSLab

BUGS
     The kernel's tables can change while tcplist is  examining  them,	creating
     incorrect or partial displays.

     Excessively long strings returned by Ident servers may be truncated.

     If an Ident server doesn't respond within the timeout, it is presumed to be
     down.  If the machine is very slow, remote, or congested, it may in fact be
     up.  The shorter the timeout, the more likely this will be.

				   Oct 9 1992			      tcplist(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=tcplist&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help