*BSD News Article 64108


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!in2.uu.net!usc!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!ensta!itesec!frmug.fr.net!penelope.frmug.fr.net!not-for-mail
From: sly@penelope.frmug.fr.net (Sylvain Nierveze)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Netstat ? does it work?
Date: 11 Mar 1996 21:12:57 +0100
Organization: Penelope Corp.
Lines: 17
Message-ID: <4i21g9$sp@penelope.frmug.fr.net>
References: <4hvuun$1ha@bambam.soi.city.ac.uk>
Reply-To: sly@penelope.frmug.fr.net
NNTP-Posting-Host: 127.0.0.1

Akdam T (ac116@city.ac.uk) wrote:
: I've just installed FreeBSD 2.1 from cdrom,, and I cant seem to get
: netstat to work,, the machine is not connected to an outside network
:   when I type netstat the prompt returns with no info.
:  I really haven't got a clue how to set up the localhost and hostname
: set, and I think I am have configured that section up wrong,, is possibly
: causing netstat not to work??
netstat works with options on its command line. From the 'man netstat'
command, the most useful options are :
- netstat -ran : gives the routing table
- netstat -a : gives the inet services your box is listening to
- netstat -i : gives the state of your network interfaces (Ethernet, 
synchronous)
-- 
-- sly
home : sly@penelope.frmug.fr.net - Tel : 42.19.99.18
work : nierveze@matra-com.fr     - Tel : 34.60.70.15