Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2005 18:34:12 +0000 (GMT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Unreal HSHH <hunreal@gmail.com>
Cc:        FreeBSD-Bugs <freebsd-bugs@freebsd.org>
Subject:   Re: FreeBSD 5.3-Release netstat cannot display tcp stats ?
Message-ID:  <Pine.NEB.3.96L.1050103183312.45311I-100000@fledge.watson.org>
In-Reply-To: <9b6b5950041209085119bab88f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 10 Dec 2004, Unreal HSHH wrote:

> # netstat -an
> Active Internet connections (including servers)
> Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
> udp4       0      0  *.514                  *.*                    
> Active UNIX domain sockets
> Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
> 
> There is o tcp stats display.What's wrong with the system? 

I'm unable to reproduce this problem on my RELENG_5_3 systems.  Could you
confirm that your netstat binary is in sync with the kernel on your
system?   Was this a fresh install, or an upgraded install?

Robert N M Watson


> 
> Here is my kernel conf file,
> ---------------------------------------------------------------------
> machine         i386
> cpu             I686_CPU
> ident           SMP
> 
> options         SCHED_4BSD              # 4BSD scheduler
> options         INET                    # InterNETworking
> options         FFS                     # Berkeley Fast Filesystem
> options         SOFTUPDATES             # Enable FFS soft updates support
> options         UFS_ACL                 # Support for access control lists
> options         UFS_DIRHASH             # Improve performance on big directories
> options         PROCFS                  # Process filesystem (requires PSEUDOFS)
> options         PSEUDOFS                # Pseudo-filesystem framework
> options         GEOM_GPT                # GUID Partition Tables.
> options         COMPAT_43               # Compatible with BSD 4.3 [KEEP THIS!]
> options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
> options         SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
> options         SYSVSHM                 # SYSV-style shared memory
> options         SYSVMSG                 # SYSV-style message queues
> options         SYSVSEM                 # SYSV-style semaphores
> options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
> extensions
> options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
> options         ADAPTIVE_GIANT          # Giant mutex is adaptive.
> 
> device          apic            # I/O APIC
> options         SMP
> 
> # Bus support.  Do not remove isa, even if you have no isa slots
> device          isa
> device          pci
> 
> # ATA and ATAPI devices
> device          ata
> device          atadisk         # ATA disk drives
> device          ataraid         # ATA RAID drives
> device          atapicd         # ATAPI CDROM drives
> options         ATA_STATIC_ID   # Static device numbering
> 
> # SCSI Controllers
> device          ahc             # AHA2940 and onboard AIC7xxx devices
> 
> # SCSI peripherals
> device          scbus           # SCSI bus (required for SCSI)
> device          ch              # SCSI media changers
> device          da              # Direct Access (disks)
> device          pass            # Passthrough device (direct SCSI access)
> device          ses             # SCSI Environmental Services (and SAF-TE)
> 
> 
> # atkbdc0 controls both the keyboard and the PS/2 mouse
> device          atkbdc          # AT keyboard controller
> device          atkbd           # AT keyboard
> 
> device          vga             # VGA video card driver
> 
> # syscons is the default console driver, resembling an SCO console
> device          sc
> 
> device          agp             # support several AGP chipsets
> 
> # Floating point support - do not disable.
> device          npx
> 
> # PCI Ethernet NICs that use the common MII bus controller code.
> # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
> device          miibus          # MII bus support
> device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
> 
> # Pseudo devices.
> device          loop            # Network loopback
> device          mem             # Memory and kernel memory devices
> device          io              # I/O device
> device          random          # Entropy device
> device          ether           # Ethernet support
> device          tun             # Packet tunnel.
> device          pty             # Pseudo-ttys (telnet etc)
> 
> # The `bpf' device enables the Berkeley Packet Filter.
> # Be aware of the administrative consequences of enabling this!
> device          bpf             # Berkeley packet filter
> 
> options         INCLUDE_CONFIG_FILE
> options         AUTO_EOI_1
> options         ZERO_COPY_SOCKETS
> options         TCP_DROP_SYNFIN
> options         PANIC_REBOOT_WAIT_TIME=4
> _______________________________________________
> freebsd-bugs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1050103183312.45311I-100000>