Bug 148155 - [vimage] [pf] Kernel panic with PF + VIMAGE kernel option
Summary: [vimage] [pf] Kernel panic with PF + VIMAGE kernel option
Status: Closed DUPLICATE of bug 194515
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-virtualization (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-26 03:40 UTC by Rodrigo Mosconi
Modified: 2014-12-13 21:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rodrigo Mosconi 2010-06-26 03:40:07 UTC
Enabling the PF or the IP Filter in a VIMAGE kernel, generates a page fault in kernel mode.  The panics occurs with the PF as module or compiled into kernel.  I have 4 cores 

Tales dumped core - see /var/crash/vmcore.5

Fri Jun 25 13:40:48 BRT 2010

FreeBSD Tales 8.1-RC1 FreeBSD 8.1-RC1 #0: Wed Jun 23 22:43:37 BRT 2010     root@Tales:/usr/obj/usr/src/sys/VIMAGE  i386

panic: page fault

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:
Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.1-RC1 #0: Wed Jun 23 22:43:37 BRT 2010
    root@Tales:/usr/obj/usr/src/sys/VIMAGE i386
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: VIA C7-M Processor 6300MHz (1596.01-MHz 686-class CPU)
  Origin = "CentaurHauls"  Id = 0x6d0  Family = 6  Model = d  Stepping = 0
  Features=0xa7c9bbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,CMOV,PAT,CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,PBE>
  Features2=0x4181<SSE3,EST,TM2,xTPR>
  VIA Padlock Features=0xffcc<RNG,AES,AES-CTR,SHA1,SHA256,RSA>
real memory  = 1073741824 (1024 MB)
avail memory = 964857856 (920 MB)
ACPI APIC Table: <042709 APIC2224>
WARNING: VIMAGE (virtualized network stack) is a highly experimental feature.
ioapic0 <Version 0.3> irqs 0-23 on motherboard
ioapic1 <Version 0.3> irqs 24-47 on motherboard
kbd1 at kbdmux0
cryptosoft0: <software crypto> on motherboard
padlock0: <AES-CBC,SHA1,SHA256> on motherboard
acpi0: <042709 RSDT2224> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of fed02000, 1000 (3) failed
acpi0: reservation of fec00000, 1000 (3) failed
acpi0: reservation of fee00000, 1000 (3) failed
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3be00000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 3364 (P4M900) host to PCI bridge> on hostb0
agp0: aperture size is 32M
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> mem 0xf4000000-0xf7ffffff,0xfb000000-0xfbffffff irq 16 at device 0.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> irq 31 at device 3.0 on pci0
pci3: <ACPI PCI bus> on pcib3
re0: <RealTek 8101E/8102E/8102EL/8103E PCIe 10/100baseTX> port 0xe800-0xe8ff mem 0xfebff000-0xfebfffff irq 28 at device 0.0 on pci3
re0: turning off MSI enable bit.
re0: Chip rev. 0x34000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rlphy0: <RTL8201L 10/100 media interface> PHY 1 on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
re0: Ethernet address: 00:25:11:ee:26:45
re0: [FILTER]
atapci0: <VIA 8237 SATA300 controller> port 0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f,0xd000-0xd0ff irq 21 at device 15.0 on pci0
atapci0: [ITHREAD]
ata2: <ATA channel 0> on atapci0
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci0
ata3: [ITHREAD]
atapci1: <VIA 8237 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 15.1 on pci0
ata0: <ATA channel 0> on atapci1
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci1
ata1: [ITHREAD]
uhci0: <VIA 83C572 USB controller> port 0xc480-0xc49f irq 20 at device 16.0 on pci0
uhci0: [ITHREAD]
usbus0: <VIA 83C572 USB controller> on uhci0
uhci1: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 22 at device 16.1 on pci0
uhci1: [ITHREAD]
usbus1: <VIA 83C572 USB controller> on uhci1
uhci2: <VIA 83C572 USB controller> port 0xc880-0xc89f irq 21 at device 16.2 on pci0
uhci2: [ITHREAD]
usbus2: <VIA 83C572 USB controller> on uhci2
uhci3: <VIA 83C572 USB controller> port 0xcc00-0xcc1f irq 23 at device 16.3 on pci0
uhci3: [ITHREAD]
usbus3: <VIA 83C572 USB controller> on uhci3
ehci0: <VIA VT6202 USB 2.0 controller> mem 0xfafffc00-0xfafffcff irq 21 at device 16.4 on pci0
ehci0: [ITHREAD]
usbus4: EHCI version 1.0
usbus4: <VIA VT6202 USB 2.0 controller> on ehci0
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
acpi_button0: <Sleep Button> on acpi0
acpi_button1: <Power Button> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xcd800-0xce7ff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: parallel port not found.
est0: failed to enable SpeedStep
p4tcc0: <CPU Frequency Thermal Control> on cpu0
ZFS NOTICE: Prefetch is disabled by default on i386 -- to enable,
            add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS filesystem version 3
ZFS storage pool version 14
Timecounter "TSC" frequency 1596010703 Hz quality 800
Timecounters tick every 1.000 msec
IP Filter: v4.1.28 initialized.  Default = pass all, Logging = enabled
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
acd0: CDRW <HL-DT-ST RW/DVD GCC-4320B/1.01> at ata0-master UDMA33 
ad4: 114473MB <SAMSUNG HM121HI LZ100-08> at ata2-master UDMA100 SATA 1.5Gb/s
ugen0.1: <VIA> at usbus0
uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <VIA> at usbus1
uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <VIA> at usbus2
uhub2: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <VIA> at usbus3
uhub3: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <VIA> at usbus4
uhub4: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
uhub0: 2 ports with 2 removable, self powered
uhub1: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub3: 2 ports with 2 removable, self powered
ad6: 114473MB <SAMSUNG HM121HI LZ100-08> at ata3-master UDMA100 SATA 1.5Gb/s
Root mount waiting for: usbus4
Root mount waiting for: usbus4
uhub4: 8 ports with 8 removable, self powered
Root mount waiting for: usbus4
Trying to mount root from zfs:Tales/host
ugen1.2: <American Power Conversion> at usbus1
<118>Setting hostuuid: 00020003-0004-0005-0006-000700080009.
<118>Setting hostid: 0x81f4ec68.
<118>Entropy harvesting:
<118>.
<118>Starting file system checks:
<118>Mounting local file systems:
WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD.
<118>.
<118>Setting hostname: Tales
<118>.
<118>Creating and/or trimming log files
<118>.
<118>Starting syslogd.
<118>Jun 25 13:24:27  syslogd: bind: Can't assign requested address
<118>Jun 25 13:24:27  syslogd: bind: Can't assign requested address
<118>syslogd: 
<118>child pid 153 exited with return code 1
<118>
<118>/etc/rc: WARNING: failed to start syslogd
<118>No core dumps found.
<118>ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
<118>a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
bridge0: Ethernet address: 0e:33:3f:73:79:1e
<118>bridge0
bridge1: Ethernet address: 2a:b5:2a:d6:3a:94
<118>bridge1
<118>vlan0
<118>Starting Network: lo0 net0 dmz0 vlan0.
<118>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
<118>	options=3<RXCSUM,TXCSUM>
<118>	inet 127.0.0.1 netmask 0xff000000 
<118>	inet6 ::1 prefixlen 128 
<118>	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
<118>	nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
<118>net0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
<118>	ether 0e:33:3f:73:79:1e
<118>	inet 172.16.1.3 netmask 0xffffff00 broadcast 172.16.1.255
<118>	id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
<118>	maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
<118>	root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
<118>	member: re0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
<118>	        ifmaxaddr 0 port 1 priority 128 path cost 2000000
<118>dmz0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
<118>	ether 2a:b5:2a:d6:3a:94
<118>	id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
<118>	maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200
<118>	root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
<118>	member: vlan0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
<118>	        ifmaxaddr 0 port 6 priority 128 path cost 55
<118>vlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
<118>	options=3<RXCSUM,TXCSUM>
<118>	ether 00:25:11:ee:26:45
<118>	inet6 fe80::225:11ff:feee:2645%vlan0 prefixlen 64 tentative scopeid 0x6 
<118>	nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
<118>	media: Ethernet autoselect (100baseTX <full-duplex>)
<118>	status: active
<118>	vlan: 2 parent interface: re0
<118>add net default: gateway 172.16.1.1
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding disabled, default to deny, logging disabled
<118>Flushed all rules.
<118>00100 allow ip from any to any via lo0
<118>00200 deny ip from any to 127.0.0.0/8
<118>00300 deny ip from 127.0.0.0/8 to any
<118>00400 deny ip from any to ::1
<118>00500 deny ip from ::1 to any
<118>00600 allow ipv6-icmp from :: to ff02::/16
<118>00700 allow ipv6-icmp from fe80::/10 to fe80::/10
<118>00800 allow ipv6-icmp from fe80::/10 to ff02::/16
<118>00900 allow ipv6-icmp from any to any ip6 icmp6types 1
<118>01000 allow ipv6-icmp from any to any ip6 icmp6types 2,135,136
<118>65000 allow ip from any to any
<118>Firewall rules loaded.
<118>add net ::ffff:0.0.0.0: gateway ::1
<118>add net ::0.0.0.0: gateway ::1
<118>net.inet6.ip6.forwarding: 
<118>0
<118> -> 
<118>1
<118>
<118>net.inet6.ip6.accept_rtadv: 
<118>0
<118> -> 
<118>0
<118>
<118>re0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
<118>	options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
<118>	inet6 fe80::225:11ff:feee:2645%re0 prefixlen 64 scopeid 0x1 
<118>lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
<118>	options=3<RXCSUM,TXCSUM>
<118>	inet6 ::1 prefixlen 128 
<118>	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
<118>pflog0: flags=41<UP,RUNNING> metric 0 mtu 33200
<118>net0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
<118>dmz0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
<118>vlan0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
<118>	options=3<RXCSUM,TXCSUM>
<118>	inet6 fe80::225:11ff:feee:2645%vlan0 prefixlen 64 scopeid 0x6 
<118>ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
<118>add net fe80::: gateway ::1
<118>add net ff02::: gateway ::1
<118>IPv4 mapped IPv6 address support=NO
<118>Starting devd.
<118>Starting rpcbind.
<118>/etc/rc: WARNING: NIS domainname(1) is not set.
<118>/etc/rc: WARNING: failed precmd routine for ypbind
<118>Clearing /tmp (X related).
<118>Recovering vi editor sessions:
<118>.
<118>Updating motd:
<118>.
<118>Starting rtadvd.
<118>Configuring syscons:
<118> blanktime
<118>.
<118>Starting sshd.
<118>Starting cron.
<118>Starting default moused
<118>.
<118>Starting background file system checks in 60 seconds.
<118>
<118>Fri Jun 25 13:24:38 BRT 2010


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0x18
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc09b2bde
stack pointer	        = 0x28:0xf2e95a64
frame pointer	        = 0x28:0xf2e95a84
code segment		= base rx0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 1628 (pfctl)
trap number		= 12
panic: page fault
cpuid = 0
Uptime: 11m26s
Physical memory: 942 MB
Dumping 198 MB: 183 167 151 135 119 103 87 71 55 39 23 7

Reading symbols from /boot/VIMAGE/zfs.ko...Reading symbols from /boot/VIMAGE/zfs.ko.symbols...done.
done.
Loaded symbols for /boot/VIMAGE/zfs.ko
Reading symbols from /boot/VIMAGE/opensolaris.ko...Reading symbols from /boot/VIMAGE/opensolaris.ko.symbols...done.
done.
Loaded symbols for /boot/VIMAGE/opensolaris.ko
Reading symbols from /boot/VIMAGE/padlock.ko...Reading symbols from /boot/VIMAGE/padlock.ko.symbols...done.
done.
Loaded symbols for /boot/VIMAGE/padlock.ko
Reading symbols from /boot/VIMAGE/crypto.ko...Reading symbols from /boot/VIMAGE/crypto.ko.symbols...done.
done.
Loaded symbols for /boot/VIMAGE/crypto.ko
Reading symbols from /boot/VIMAGE/zlib.ko...Reading symbols from /boot/VIMAGE/zlib.ko.symbols...done.
done.
Loaded symbols for /boot/VIMAGE/zlib.ko
Reading symbols from /boot/VIMAGE/tmpfs.ko...Reading symbols from /boot/VIMAGE/tmpfs.ko.symbols...done.
done.
Loaded symbols for /boot/VIMAGE/tmpfs.ko
Reading symbols from /boot/VIMAGE/if_bridge.ko...Reading symbols from /boot/VIMAGE/if_bridge.ko.symbols...done.
done.
Loaded symbols for /boot/VIMAGE/if_bridge.ko
Reading symbols from /boot/VIMAGE/bridgestp.ko...Reading symbols from /boot/VIMAGE/bridgestp.ko.symbols...done.
done.
Loaded symbols for /boot/VIMAGE/bridgestp.ko
Reading symbols from /boot/VIMAGE/ipfw.ko...Reading symbols from /boot/VIMAGE/ipfw.ko.symbols...done.
done.
Loaded symbols for /boot/VIMAGE/ipfw.ko
Reading symbols from /boot/VIMAGE/libalias.ko...Reading symbols from /boot/VIMAGE/libalias.ko.symbols...done.
done.
Loaded symbols for /boot/VIMAGE/libalias.ko
#0  doadump () at pcpu.h:246
246	pcpu.h: No such file or directory.
	in pcpu.h
(kgdb) #0  doadump () at pcpu.h:246
#1  0xc08fab87 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416
#2  0xc08fade9 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:590
#3  0xc0bd79dc in trap_fatal (frame=0xf2e95a24, eva=24)
    at /usr/src/sys/i386/i386/trap.c:938
#4  0xc0bd7c60 in trap_pfault (frame=0xf2e95a24, usermode=0, eva=24)
    at /usr/src/sys/i386/i386/trap.c:851
#5  0xc0bd85a5 in trap (frame=0xf2e95a24) at /usr/src/sys/i386/i386/trap.c:533
#6  0xc0bba72b in calltrap () at /usr/src/sys/i386/i386/exception.s:165
#7  0xc09b2bde in pfil_head_get (type=1, val=2) at /usr/src/sys/net/pfil.c:149
#8  0xc051a869 in pfioctl (dev=0xc4d94a00, cmd=536888321, addr=0xf2e95d00 "", 
    flags=3, td=0xc74c4500) at /usr/src/sys/contrib/pf/net/pf_ioctl.c:3761
#9  0xc08810c7 in devfs_ioctl_f (fp=0xc5bc1508, com=536888321, 
    data=0xf2e95d00, cred=0xc71dc400, td=0xc74c4500)
    at /usr/src/sys/fs/devfs/devfs_vnops.c:659
#10 0xc0937eb0 in kern_ioctl (td=0xc74c4500, fd=3, com=536888321, 
    data=0xf2e95d00 "") at file.h:262
#11 0xc0938024 in ioctl (td=0xc74c4500, uap=0xf2e95cf8)
    at /usr/src/sys/kern/sys_generic.c:678
#12 0xc0bd7f53 in syscall (frame=0xf2e95d38)
    at /usr/src/sys/i386/i386/trap.c:1111
#13 0xc0bba790 in Xint0x80_syscall ()
    at /usr/src/sys/i386/i386/exception.s:261
#14 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) 

------------------------------------------------------------------------
ps -axl

  UID   PID  PPID CPU PRI NI   VSZ   RSS MWCHAN STAT  TT       TIME COMMAND
    0     0     0   0  -8  0     0     0 -      DLs   ??  23842992:48.00 [kernel]
    0     1     0   0  44  0  1892     0 wait   DLs   ??  2713350:48.00 [init]
    0     2     0   0  -8  0     0     0 -      DL    ??  315414:03.00 [g_event]
    0     3     0   0  -8  0     0     0 -      DL    ??  749178:23.00 [g_up]
    0     4     0   0  -8  0     0     0 -      DL    ??  1155321:58.00 [g_down]
    0     5     0   0 -16  0     0     0 crypto DL    ??    0:00.00 [crypto]
    0     6     0   0 -16  0     0     0 crypto DL    ??    0:00.00 [crypto ret
    0     7     0   0  -8  0     0     0 tx->tx DL    ??  326186:16.00 [zfskern]
    0     8     0   0 -60  0     0     0 pftm   DL    ??  4170:33.00 [pfpurge]
    0     9     0   0 -60  0     0     0 ccb_sc DL    ??    0:00.00 [xpt_thrd]
    0    10     0   0 -16  0     0     0 audit_ DL    ??    0:00.00 [audit]
    0    11     0   0 171  0     0     0 -      RL    ??  33688623:11.00 [idle]
    0    12     0   0 -60  0     0     0 -      WL    ??  2518733:19.00 [intr]
    0    13     0   0 -64  0     0     0 -      DL    ??  973509:16.00 [usb]
    0    14     0   0  76  0     0     0 psleep DL    ??  4434:39.00 [pagedaemon
    0    15     0   0  76  0     0     0 psleep DL    ??  316:02.00 [vmdaemon]
    0    16     0   0  76  0     0     0 pgzero DL    ??   96:31.00 [pagezero]
    0    17     0   0 -16  0     0     0 psleep DL    ??  3299:20.00 [bufdaemon]
    0    18     0   0 -16  0     0     0 vlruwt DL    ??  2527:58.00 [vnlru]
    0    19     0   0  44  0     0     0 syncer DL    ??  10218:59.00 [syncer]
    0    20     0   0 -16  0     0     0 sdflus DL    ??  4243:04.00 [softdepflu
    0    21     0   0 -16  0     0     0 flowcl DL    ??  4817:46.00 [flowcleane
    0  1025     1   0  44  0  1888     0 select Ds    ??  9401:34.00 [devd]
    0  1090     1   0  44  0  3312     0 select Ds    ??  351880:04.00 [rpcbind]
    0  1324     1   0  44  0  3228     0 select Ds    ??  23060:27.00 [rtadvd]
    0  1340     1   0  44  0  6604     0 select Ds    ??  97715:36.00 [sshd]
    0  1348     1   0  44  0  6004     0 select Ds    ??  187990:06.00 [sendmail]
   25  1352     1   0  76  0  6004     0 pause  Ds    ??  88038:30.00 [sendmail]
    0  1360     1   0  44  0  3312     0 nanslp Ds    ??  173043:12.00 [cron]
    0  1385     1   0  44  0  3388     0 select Ds    ??  13909:34.00 [moused]
    0  1444     1   0  44  0  3284     0 ttyin  Ds+   ??  164885:12.00 [getty]
    0  1445     1   0  44  0  3744     0 wait   Ds    ??  131437:41.00 [login]
    0  1446     1   0  76  0  3284     0 ttyin  Ds+   ??  127065:17.00 [getty]
    0  1447     1   0  76  0  3284     0 ttyin  Ds+   ??  125390:48.00 [getty]
    0  1448     1   0  76  0  3284     0 ttyin  Ds+   ??  127481:11.00 [getty]
    0  1449     1   0  76  0  3284     0 ttyin  Ds+   ??  127414:54.00 [getty]
    0  1450     1   0  76  0  3284     0 ttyin  Ds+   ??  127140:36.00 [getty]
    0  1451     1   0  76  0  3284     0 ttyin  Ds+   ??  127682:07.00 [getty]
    0  1457  1445   0  46  0  4608     0 -      R     ??  222087:48.00 [csh]
    0  1476  1340   0  47  0  9328     0 sbwait Ds    ??    0:00.00 [sshd]
  100  1479  1476   0  44  0  9328     0 select D     ??    0:00.00 [sshd]
  100  1480  1479   0  46  0  4608     0 ttyin  Ds+   ??  179645:46.00 [tcsh]
    0  1628  1457   0  45  0  3392     0 -      R+    ??    0:00.00 [pfctl]

------------------------------------------------------------------------
vmstat -s

   197628 cpu context switches
     7139 device interrupts
    75778 software interrupts
   297149 traps
   405459 system calls
       21 kernel threads created
     1570  fork() calls
       37 vfork() calls
        0 rfork() calls
        0 swap pager pageins
        0 swap pager pages paged in
        0 swap pager pageouts
        0 swap pager pages paged out
     3023 vnode pager pageins
     3023 vnode pager pages paged in
        0 vnode pager pageouts
        0 vnode pager pages paged out
        0 page daemon wakeups
        0 pages examined by the page daemon
     1646 pages reactivated
    43021 copy-on-write faults
      127 copy-on-write optimized faults
   210633 zero fill pages zeroed
     1508 zero fill pages prezeroed
        4 intransit blocking page faults
   292544 total VM faults taken
        0 pages affected by kernel thread creation
   293474 pages affected by  fork()
     5654 pages affected by vfork()
        0 pages affected by rfork()
     1703 pages cached
   285326 pages freed
        0 pages freed by daemon
    86535 pages freed by exiting processes
     4321 pages active
      491 pages inactive
       27 pages in VM cache
    38103 pages wired down
   193737 pages free
     4096 bytes per page
    37188 total name lookups
          cache hits (84% pos + 10% neg) system 0% per-directory
          deletions 0%, falsehits 0%, toolong 0%

------------------------------------------------------------------------
vmstat -m

         Type InUse MemUse HighUse Requests  Size(s)
   acd_driver     1     2K       -        1  2048
      CAM SIM     1     1K       -        1  128
      acpidev    77     3K       -       77  32
         cdev    11     2K       -       11  128
     filedesc    43    11K       -     1629  256
         kenv    78     7K       -       81  16,32,64,128,4096
       kqueue     0     0K       -       36  128,1024
    proc-args    22     2K       -      728  16,32,64,128,256
   CAM periph     2     1K       -       12  16,32,64,128
      ithread    89     9K       -       89  16,64,128
     pci_link    16     2K       -       16  64,128
       KTRACE   100    13K       -      100  128
       linker   178   286K       -      355  16,32,256,1024,2048,4096
        lockf    20     2K       -      148  32,64
       ip6ndp    10     1K       -       12  64,128
       ip6opt     0     0K       -        4  32
         temp    40   237K       -     1743  16,32,64,128,256,512,1024,2048,4096
       devbuf  3249  3798K       -     3306  16,32,64,128,256,512,1024,2048,4096
       module   472    30K       -      472  64,128
     mtx_pool     2     8K       -        2  4096
          osd     3     1K       -       11  16,32
      subproc   104   188K       -     1690  256,4096
         proc     2     8K       -        2  4096
      session    19     2K       -       27  64
         pgrp    21     2K       -       57  64
         cred    60     6K       -     6244  64,128
      uidinfo     4     2K       -       12  64,1024
       plimit    14     4K       -      214  256
    sysctltmp     0     0K       -      296  16,32,64,128
    sysctloid  3421   103K       -     3513  16,32,64,128
       sysctl     0     0K       -      949  16,32
         umtx   150    10K       -      150  64
     p1003.1b     1     1K       -        1  16
         SWAP     4  1097K       -        4  64
       bus-sc    68   125K       -     3133  16,32,64,128,256,512,1024,2048,4096
          bus  1190    54K       -     5567  16,32,64,128,256,512,1024
      devstat    10    21K       -       10  16,4096
 eventhandler    92     5K       -       92  32,64,128
         kobj   330   660K       -      449  2048
      Per-cpu     1     1K       -        1  16
         rman   147     9K       -      681  16,32,64
         sbuf     0     0K       -      298  16,32,64,128,256
    taskqueue    73     3K       -       99  16,32,64
       Unitno    12     1K       -       94  16,64
          iov     0     0K       -      145  16,64,128,256
       select    22     2K       -       22  64
     ioctlops     0     0K       -     2755  16,32,64,128,256,512,1024,4096
          msg     4    25K       -        4  1024,4096
          sem     4     6K       -        4  256,512,1024,4096
          shm     1    12K       -        1  
          tty    20    10K       -       20  512
          pts     1     1K       -        1  128
     mbuf_tag     0     0K       -        9  32
         ksem     1     4K       -        1  4096
        shmfd     1     4K       -        1  4096
          pcb    14     7K       -       41  16,32,512,1024,2048
       soname     2     1K       -      585  16,32,128
          acl     0     0K       -        2  4096
     vfscache     1   256K       -        1  
     vfs_hash     1   128K       -        1  
       vnodes     2     1K       -        2  128
       acpica  2476   127K       -    70895  16,32,64,128,256,512,1024
  vnodemarker     0     0K       -      725  512
        mount   223     6K       -      486  16,32,64,128,256
          BPF     7     1K       -        7  64
  ether_multi    68     3K       -       92  16,32,64
       ifaddr    81    19K       -       83  16,32,64,128,256,512,2048
        ifnet     8     8K       -        8  64,1024
        clone     8    32K       -        8  4096
       arpcom     5     1K       -        5  16
      lltable    21     5K       -       21  128,256
          agp     2    33K       -        2  16
         vlan     7     1K       -       16  16,64
     acpitask     1     1K       -        1  1024
       USBdev    23     7K       -       23  32,128,1024
          USB    43    24K       -       44  16,32,64,1024
      CAM XPT    12     2K       -       26  16,32,64,1024
     routetbl   201  4140K       -      459  16,32,64,128,256
vnet_data_free     1     1K       -        1  16
    vnet_data     1    24K       -        1  
         vnet     1     1K       -        1  32
         igmp     7     1K       -        7  128
      acpisem    15     2K       -       15  64,128
     in_multi     2     1K       -        2  128
    hostcache     1    16K       -        1  
     syncache     1    72K       -        1  
       kbdmux     6    10K       -        6  16,256,1024,2048,4096
 ip6_moptions     4     1K       -        4  32,128
    in6_multi    32     5K       -       32  16,256
  in6_mfilter     2     1K       -        2  512
          mld     7     1K       -        7  128
      NFS FHA     1     1K       -        1  1024
          rpc     2     5K       -        2  128,4096
audit_evclass   172     3K       -      211  16
       newblk     1     1K       -        1  256
     inodedep     1   128K       -        1  
      pagedep     1    32K       -        1  
       DEVFS1   103    26K       -      107  256
    vm_pgdata     3    65K       -        3  64
       DEVFS3   123    16K       -      128  128,256
     atkbddev     2     1K       -        2  32
        DEVFS    16     1K       -       17  16,64
       apmdev     1     1K       -        1  64
    pfs_nodes    21     3K       -       21  128
         GEOM   140    15K       -      646  16,32,64,128,256,512,1024,2048
      io_apic     2     2K       -        2  1024
CAM dev queue     1     1K       -        1  128
      memdesc     1     4K       -        1  4096
     nexusdev     6     1K       -        6  16
    CAM queue     3     1K       -        7  16
  ata_generic     3     3K       -        3  1024
    ad_driver     2     1K       -        2  32
    ar_driver     0     0K       -       12  512,2048
       isadev     8     1K       -        8  64
   kstat_data     3     1K       -        3  32
      solaris 23782 126959K       -   567979  16,32,64,128,256,512,1024,2048,4096
       crypto     1     1K       -        1  512
   tmpfs name     4     1K       -       14  16
  tmpfs mount     1     1K       -        1  64
  IpFw/IpAcct    13     2K       -       24  16,32,64,128

------------------------------------------------------------------------
vmstat -z

ITEM                     SIZE     LIMIT      USED      FREE  REQUESTS  FAILURES

UMA Kegs:                 128,        0,      194,       16,      194,        0
UMA Zones:                888,        0,      194,        2,      194,        0
UMA Slabs:                284,        0,     2612,       76,     6637,        0
UMA RCntSlabs:            544,        0,      197,        6,      197,        0
UMA Hash:                 128,        0,       84,        6,       84,        0
16 Bucket:                 76,        0,       33,       17,       54,        0
32 Bucket:                140,        0,       34,       22,       60,        0
64 Bucket:                268,        0,       29,       13,       75,       13
128 Bucket:               524,        0,       51,        5,     1133,      112
VM OBJECT:                136,        0,      940,       75,    20065,        0
MAP:                      140,        0,        7,       21,        7,        0
KMAP ENTRY:                72,    54272,       45,      114,    13986,        0
MAP ENTRY:                 72,        0,      479,      157,    37612,        0
DP fakepg:                 72,        0,        0,        0,        0,        0
SG fakepg:                 72,        0,        0,        0,        0,        0
mt_zone:                 2056,        0,      263,      122,      263,        0
16:                        16,        0,     3964,       96,   204137,        0
32:                        32,        0,    14461,      568,   141470,        0
64:                        64,        0,     4505,      333,   195550,        0
128:                      128,        0,     9946,       74,    65574,        0
256:                      256,        0,      825,      300,    18753,        0
512:                      512,        0,     1164,       12,    37964,        0
1024:                    1024,        0,      264,      920,     3555,        0
2048:                    2048,        0,      440,        8,     1020,        0
4096:                    4096,        0,      228,       13,     4050,        0
Files:                     56,        0,       52,      149,     7492,        0
TURNSTILE:                 72,        0,      151,       29,      151,        0
umtx pi:                   52,        0,        0,        0,        0,        0
MAC labels:                20,        0,        0,        0,        0,        0
PROC:                     680,        0,       42,       18,     1628,        0
THREAD:                   636,        0,      145,        5,      172,        0
SLEEPQUEUE:                44,        0,      151,       85,      151,        0
VMSPACE:                  232,        0,       22,       29,     1609,        0
cpuset:                    40,        0,        2,      182,        2,        0
audit_record:             816,        0,        0,        0,        0,        0
mbuf_packet:              256,        0,      256,      141,      948,        0
mbuf:                     256,        0,        1,      140,     2009,        0
mbuf_cluster:            2048,    25600,      384,        6,      384,        0
mbuf_jumbo_page:         4096,    12800,        0,        2,        6,        0
mbuf_jumbo_9k:           9216,    19200,        0,        0,        0,        0
mbuf_jumbo_16k:         16384,    12800,        0,        0,        0,        0
mbuf_ext_refcnt:            4,        0,        0,        0,        0,        0
g_bio:                    140,        0,        0,      308,    19242,        0
ttyinq:                   152,        0,      135,       21,      495,        0
ttyoutq:                  256,        0,       72,       18,      264,        0
ata_request:              204,        0,        1,       85,     8033,        0
ata_composite:            180,        0,        0,        0,        0,        0
cryptop:                   60,        0,        0,        0,        0,        0
cryptodesc:                56,        0,        0,        0,        0,        0
taskq_zone:                28,        0,        0,      254,       28,        0
VNODE:                    268,        0,      729,       13,      786,        0
VNODEPOLL:                 60,        0,        0,        0,        0,        0
S VFS Cache:               72,        0,      621,       68,     1676,        0
L VFS Cache:              292,        0,        0,        0,        0,        0
NAMEI:                   1024,        0,        0,       12,    14216,        0
NFSMOUNT:                 524,        0,        0,        0,        0,        0
NFSNODE:                  468,        0,        0,        0,        0,        0
DIRHASH:                 1024,        0,        0,        0,        0,        0
zio_cache:                624,        0,        0,     1044,   179820,        0
zio_buf_512:              512,        0,        0,        0,        0,        0
zio_data_buf_512:         512,        0,        0,        0,        0,        0
zio_buf_1024:            1024,        0,        0,        0,        0,        0
zio_data_buf_1024:       1024,        0,        0,        0,        0,        0
zio_buf_1536:            1536,        0,        0,        0,        0,        0
zio_data_buf_1536:       1536,        0,        0,        0,        0,        0
zio_buf_2048:            2048,        0,        0,        0,        0,        0
zio_data_buf_2048:       2048,        0,        0,        0,        0,        0
zio_buf_2560:            2560,        0,        0,        0,        0,        0
zio_data_buf_2560:       2560,        0,        0,        0,        0,        0
zio_buf_3072:            3072,        0,        0,        0,        0,        0
zio_data_buf_3072:       3072,        0,        0,        0,        0,        0
zio_buf_3584:            3584,        0,        0,        0,        0,        0
zio_data_buf_3584:       3584,        0,        0,        0,        0,        0
zio_buf_4096:            4096,        0,        0,        0,        0,        0
zio_data_buf_4096:       4096,        0,        0,        0,        0,        0
zio_buf_5120:            5120,        0,        0,        0,        0,        0
zio_data_buf_5120:       5120,        0,        0,        0,        0,        0
zio_buf_6144:            6144,        0,        0,        0,        0,        0
zio_data_buf_6144:       6144,        0,        0,        0,        0,        0
zio_buf_7168:            7168,        0,        0,        0,        0,        0
zio_data_buf_7168:       7168,        0,        0,        0,        0,        0
zio_buf_8192:            8192,        0,        0,        0,        0,        0
zio_data_buf_8192:       8192,        0,        0,        0,        0,        0
zio_buf_10240:          10240,        0,        0,        0,        0,        0
zio_data_buf_10240:     10240,        0,        0,        0,        0,        0
zio_buf_12288:          12288,        0,        0,        0,        0,        0
zio_data_buf_12288:     12288,        0,        0,        0,        0,        0
zio_buf_14336:          14336,        0,        0,        0,        0,        0
zio_data_buf_14336:     14336,        0,        0,        0,        0,        0
zio_buf_16384:          16384,        0,        0,        0,        0,        0
zio_data_buf_16384:     16384,        0,        0,        0,        0,        0
zio_buf_20480:          20480,        0,        0,        0,        0,        0
zio_data_buf_20480:     20480,        0,        0,        0,        0,        0
zio_buf_24576:          24576,        0,        0,        0,        0,        0
zio_data_buf_24576:     24576,        0,        0,        0,        0,        0
zio_buf_28672:          28672,        0,        0,        0,        0,        0
zio_data_buf_28672:     28672,        0,        0,        0,        0,        0
zio_buf_32768:          32768,        0,        0,        0,        0,        0
zio_data_buf_32768:     32768,        0,        0,        0,        0,        0
zio_buf_36864:          36864,        0,        0,        0,        0,        0
zio_data_buf_36864:     36864,        0,        0,        0,        0,        0
zio_buf_40960:          40960,        0,        0,        0,        0,        0
zio_data_buf_40960:     40960,        0,        0,        0,        0,        0
zio_buf_45056:          45056,        0,        0,        0,        0,        0
zio_data_buf_45056:     45056,        0,        0,        0,        0,        0
zio_buf_49152:          49152,        0,        0,        0,        0,        0
zio_data_buf_49152:     49152,        0,        0,        0,        0,        0
zio_buf_53248:          53248,        0,        0,        0,        0,        0
zio_data_buf_53248:     53248,        0,        0,        0,        0,        0
zio_buf_57344:          57344,        0,        0,        0,        0,        0
zio_data_buf_57344:     57344,        0,        0,        0,        0,        0
zio_buf_61440:          61440,        0,        0,        0,        0,        0
zio_data_buf_61440:     61440,        0,        0,        0,        0,        0
zio_buf_65536:          65536,        0,        0,        0,        0,        0
zio_data_buf_65536:     65536,        0,        0,        0,        0,        0
zio_buf_69632:          69632,        0,        0,        0,        0,        0
zio_data_buf_69632:     69632,        0,        0,        0,        0,        0
zio_buf_73728:          73728,        0,        0,        0,        0,        0
zio_data_buf_73728:     73728,        0,        0,        0,        0,        0
zio_buf_77824:          77824,        0,        0,        0,        0,        0
zio_data_buf_77824:     77824,        0,        0,        0,        0,        0
zio_buf_81920:          81920,        0,        0,        0,        0,        0
zio_data_buf_81920:     81920,        0,        0,        0,        0,        0
zio_buf_86016:          86016,        0,        0,        0,        0,        0
zio_data_buf_86016:     86016,        0,        0,        0,        0,        0
zio_buf_90112:          90112,        0,        0,        0,        0,        0
zio_data_buf_90112:     90112,        0,        0,        0,        0,        0
zio_buf_94208:          94208,        0,        0,        0,        0,        0
zio_data_buf_94208:     94208,        0,        0,        0,        0,        0
zio_buf_98304:          98304,        0,        0,        0,        0,        0
zio_data_buf_98304:     98304,        0,        0,        0,        0,        0
zio_buf_102400:        102400,        0,        0,        0,        0,        0
zio_data_buf_102400:   102400,        0,        0,        0,        0,        0
zio_buf_106496:        106496,        0,        0,        0,        0,        0
zio_data_buf_106496:   106496,        0,        0,        0,        0,        0
zio_buf_110592:        110592,        0,        0,        0,        0,        0
zio_data_buf_110592:   110592,        0,        0,        0,        0,        0
zio_buf_114688:        114688,        0,        0,        0,        0,        0
zio_data_buf_114688:   114688,        0,        0,        0,        0,        0
zio_buf_118784:        118784,        0,        0,        0,        0,        0
zio_data_buf_118784:   118784,        0,        0,        0,        0,        0
zio_buf_122880:        122880,        0,        0,        0,        0,        0
zio_data_buf_122880:   122880,        0,        0,        0,        0,        0
zio_buf_126976:        126976,        0,        0,        0,        0,        0
zio_data_buf_126976:   126976,        0,        0,        0,        0,        0
zio_buf_131072:        131072,        0,        0,        0,        0,        0
zio_data_buf_131072:   131072,        0,        0,        0,        0,        0
dmu_buf_impl_t:           136,        0,     2556,       25,     2727,        0
dnode_t:                  460,        0,     1022,       10,     1797,        0
arc_buf_hdr_t:            136,        0,     1834,       22,     2066,        0
arc_buf_t:                 40,        0,     1833,      191,     2066,        0
zil_lwb_cache:            176,        0,        9,       35,       36,        0
zfs_znode_cache:          232,        0,      649,       14,      694,        0
pipe:                     392,        0,        1,       19,     1074,        0
ksiginfo:                  80,        0,       46,     1010,       75,        0
itimer:                   220,        0,        0,        0,        0,        0
KNOTE:                     72,        0,        0,      106,       36,        0
socket:                   412,    25605,       17,       10,      468,        0
ipq:                       32,      904,        0,        0,        0,        0
udp_inpcb:                220,    25614,        5,       31,      311,        0
udpcb:                      8,    25781,        5,      198,      311,        0
tcp_inpcb:                220,    25614,        6,       30,       16,        0
tcpcb:                    632,    25602,        6,       12,       16,        0
tcptw:                     52,     5184,        0,      144,        1,        0
syncache:                 112,    15365,        0,       70,        3,        0
hostcache:                 76,    15400,        2,       98,        2,        0
tcpreass:                  20,     1690,        0,        0,        0,        0
sackhole:                  20,        0,        0,        0,        0,        0
ripcb:                    220,    25614,        1,       35,       13,        0
unpcb:                    172,    25622,        4,       42,      122,        0
rtentry:                  108,        0,       21,       51,       21,        0
pfsrctrpl:                124,        0,        0,        0,        0,        0
pfrulepl:                 828,        0,        0,        0,        0,        0
pfstatepl:                284,    10010,        0,        0,        0,        0
pfaltqpl:                 224,        0,        0,        0,        0,        0
pfpooladdrpl:              68,        0,        0,        0,        0,        0
pfrktable:               1240,        0,        0,        0,        0,        0
pfrkentry:                156,        0,        0,        0,        0,        0
pfrkentry2:               156,        0,        0,        0,        0,        0
pffrent:                   16,     5075,        0,        0,        0,        0
pffrag:                    48,        0,        0,        0,        0,        0
pffrcache:                 48,    10062,        0,        0,        0,        0
pffrcent:                  12,    50141,        0,        0,        0,        0
pfstatescrub:              28,        0,        0,        0,        0,        0
pfiaddrpl:                100,        0,        0,        0,        0,        0
pfospfen:                 108,        0,        0,        0,        0,        0
pfosfp:                    28,        0,        0,        0,        0,        0
selfd:                     28,        0,       50,      204,     1099,        0
ip4flow:                   40,    25668,        0,      184,        5,        0
ip6flow:                   64,    25636,        0,        0,        0,        0
SWAPMETA:                 276,   118412,        0,        0,        0,        0
Mountpoints:              644,        0,       19,        5,       19,        0
TMPFS dirent:              20,        0,        4,      165,       14,        0
TMPFS node:               136,        0,        5,       53,       15,        0
bridge_rtnode:             36,        0,        3,      199,        3,        0
IPFW dynamic rule:        108,        0,        0,        0,        0,        0


------------------------------------------------------------------------
vmstat -i

interrupt                          total       rate
irq1: atkbd0                        1753          6
irq12: psm0                            4          0
irq14: ata0                           35          0
irq21: atapci0++                    4625         16
irq22: uhci1                          19          0
irq28: re0                           703          2
cpu0: timer                      1372119       4917
Total                            1379258       4943

------------------------------------------------------------------------
pstat -T

 52/12328 files
0M/8191M swap space

------------------------------------------------------------------------
pstat -s

Device          512-blocks     Used    Avail Capacity
/dev/gpt/swap0     8388352        0  8388352     0%
/dev/gpt/swap1     8388352        0  8388352     0%
Total             16776704        0 16776704     0%

------------------------------------------------------------------------
iostat

iostat: kvm_read(_tk_nin): invalid address (0x0)
iostat: disabling TTY statistics
iostat: kvm_getcptime: invalid address (0x0)
iostat: disabling CPU time statistics
             ad4              ad6 
  KB/t tps  MB/s   KB/t tps  MB/s 
 28.11   8  0.23  26.28   8  0.22 

------------------------------------------------------------------------
ipcs -a

Message Queues:
T           ID          KEY MODE        OWNER    GROUP    CREATOR  CGROUP                 CBYTES                 QNUM               QBYTES        LSPID        LRPID STIME    RTIME    CTIME   

Shared Memory:
T           ID          KEY MODE        OWNER    GROUP    CREATOR  CGROUP         NATTCH        SEGSZ         CPID         LPID ATIME    DTIME    CTIME   

Semaphores:
T           ID          KEY MODE        OWNER    GROUP    CREATOR  CGROUP          NSEMS OTIME    CTIME   


------------------------------------------------------------------------
ipcs -T

msginfo:
	msgmax:        16384	(max characters in a message)
	msgmni:           40	(# of message queues)
	msgmnb:         2048	(max characters in a message queue)
	msgtql:           40	(max # of messages in system)
	msgssz:            8	(size of a message segment)
	msgseg:         2048	(# of message segments in system)

shminfo:
	shmmax:     33554432	(max shared memory segment size)
	shmmin:            1	(min shared memory segment size)
	shmmni:          192	(max number of shared memory identifiers)
	shmseg:          128	(max shared memory segments per process)
	shmall:         8192	(max amount of shared memory in pages)

seminfo:
	semmap:           30	(# of entries in semaphore map)
	semmni:           10	(# of semaphore identifiers)
	semmns:           60	(# of semaphores in system)
	semmnu:           30	(# of undo structures in system)
	semmsl:           60	(max # of semaphores per id)
	semopm:          100	(max # of operations per semop call)
	semume:           10	(max # of undo entries per process)
	semusz:          136	(size in bytes of undo structure)
	semvmx:        32767	(semaphore maximum value)
	semaem:        16384	(adjust on exit max value)


------------------------------------------------------------------------
nfsstat

Client Info:
Rpc Counts:
  Getattr   Setattr    Lookup  Readlink      Read     Write    Create    Remove
        0         0         0         0         0         0         0         0
   Rename      Link   Symlink     Mkdir     Rmdir   Readdir  RdirPlus    Access
        0         0         0         0         0         0         0         0
    Mknod    Fsstat    Fsinfo  PathConf    Commit
        0         0         0         0         0
Rpc Info:
 TimedOut   Invalid X Replies   Retries  Requests
        0         0         0         0         0
Cache Info:
Attr Hits    Misses Lkup Hits    Misses BioR Hits    Misses BioW Hits    Misses
        0         0         0         0         0         0         0         0
BioRLHits    Misses BioD Hits    Misses DirE Hits    Misses
        0         0         0         0         0         0

Server Info:
  Getattr   Setattr    Lookup  Readlink      Read     Write    Create    Remove
        0         0         0         0         0         0         0         0
   Rename      Link   Symlink     Mkdir     Rmdir   Readdir  RdirPlus    Access
        0         0         0         0         0         0         0         0
    Mknod    Fsstat    Fsinfo  PathConf    Commit
        0         0         0         0         0
Server Ret-Failed
                0
Server Faults
            0
Server Cache Stats:
   Inprog      Idem  Non-idem    Misses
        0         0         0         0
Server Write Gathering:
 WriteOps  WriteRPC   Opsaved
        0         0         0

------------------------------------------------------------------------
netstat -s

tcp:
	68 packets sent
		47 data packets (6233 bytes)
		0 data packets (0 bytes) retransmitted
		0 data packets unnecessarily retransmitted
		0 resends initiated by MTU discovery
		15 ack-only packets (8 delayed)
		0 URG only packets
		0 window probe packets
		0 window update packets
		6 control packets
	86 packets received
		53 acks (for 6239 bytes)
		2 duplicate acks
		0 acks for unsent data
		49 packets (5287 bytes) received in-sequence
		0 completely duplicate packets (0 bytes)
		0 old duplicate packets
		0 packets with some dup. data (0 bytes duped)
		0 out-of-order packets (0 bytes)
		0 packets (0 bytes) of data after window
		0 window probes
		0 window update packets
		0 packets received after close
		0 discarded for bad checksums
		0 discarded for bad header offset fields
		0 discarded because packet too short
		0 discarded due to memory problems
	3 connection requests
	3 connection accepts
	0 bad connection attempts
	0 listen queue overflows
	0 ignored RSTs in the windows
	4 connections established (including accepts)
	10 connections closed (including 0 drops)
		3 connections updated cached RTT on close
		3 connections updated cached RTT variance on close
		0 connections updated cached ssthresh on close
	2 embryonic connections dropped
	53 segments updated rtt (of 52 attempts)
	0 retransmit timeouts
		0 connections dropped by rexmit timeout
	0 persist timeouts
		0 connections dropped by persist timeout
	0 Connections (fin_wait_2) dropped because of timeout
	0 keepalive timeouts
		0 keepalive probes sent
		0 connections dropped by keepalive
	0 correct ACK header predictions
	23 correct data packet header predictions
	3 syncache entries added
		0 retransmitted
		0 dupsyn
		0 dropped
		3 completed
		0 bucket overflow
		0 cache overflow
		0 reset
		0 stale
		0 aborted
		0 badack
		0 unreach
		0 zone failures
	3 cookies sent
	0 cookies received
	0 SACK recovery episodes
	0 segment rexmits in SACK recovery episodes
	0 byte rexmits in SACK recovery episodes
	0 SACK options (SACK blocks) received
	0 SACK options (SACK blocks) sent
	0 SACK scoreboard overflow
	0 packets with ECN CE bit set
	0 packets with ECN ECT(0) bit set
	0 packets with ECN ECT(1) bit set
	0 successful ECN handshakes
	0 times ECN reduced the congestion window
udp:
	63 datagrams received
	0 with incomplete header
	0 with bad data length field
	0 with bad checksum
	0 with no checksum
	1 dropped due to no socket
	44 broadcast/multicast datagrams undelivered
	0 dropped due to full socket buffers
	0 not for hashed pcb
	18 delivered
	19 datagrams output
	0 times multicast source filter matched
ip:
	150 total packets received
	0 bad header checksums
	0 with size smaller than minimum
	0 with data size < data length
	0 with ip length > max ip packet size
	0 with header length < data size
	0 with data length < header length
	0 with bad options
	0 with incorrect version number
	0 fragments received
	0 fragments dropped (dup or out of space)
	0 fragments dropped after timeout
	0 packets reassembled ok
	149 packets for this host
	1 packet for unknown/unsupported protocol
	0 packets forwarded (0 packets fast forwarded)
	0 packets not forwardable
	0 packets received for unknown multicast group
	0 redirects sent
	90 packets sent from this host
	0 packets sent with fabricated ip header
	0 output packets dropped due to no bufs, etc.
	0 output packets discarded due to no route
	0 output datagrams fragmented
	0 fragments created
	0 datagrams that can't be fragmented
	0 tunneling packets that can't find gif
	0 datagrams with bad address in header
icmp:
	1 call to icmp_error
	0 errors not generated in response to an icmp message
	Output histogram:
		destination unreachable: 1
	0 messages with bad code fields
	0 messages less than the minimum length
	0 messages with bad checksum
	0 messages with bad length
	0 multicast echo requests ignored
	0 multicast timestamp requests ignored
	Input histogram:
		destination unreachable: 1
	0 message responses generated
	0 invalid return addresses
	0 no return routes
igmp:
	0 messages received
	0 messages received with too few bytes
	0 messages received with wrong TTL
	0 messages received with bad checksum
	0 V1/V2 membership queries received
	0 V3 membership queries received
	0 membership queries received with invalid field(s)
	0 general queries received
	0 group queries received
	0 group-source queries received
	0 group-source queries dropped
	0 membership reports received
	0 membership reports received with invalid field(s)
	0 membership reports received for groups to which we belong
	0 V3 reports received without Router Alert
	0 membership reports sent
arp:
	3 ARP requests sent
	242 ARP replies sent
	1062 ARP requests received
	2 ARP replies received
	1064 ARP packets received
	0 total packets dropped due to no ARP entry
	0 ARP entrys timed out
	0 Duplicate IPs seen
ip6:
	0 total packets received
	0 with size smaller than minimum
	0 with data size < data length
	0 with bad options
	0 with incorrect version number
	0 fragments received
	0 fragments dropped (dup or out of space)
	0 fragments dropped after timeout
	0 fragments that exceeded limit
	0 packets reassembled ok
	0 packets for this host
	0 packets forwarded
	0 packets not forwardable
	0 redirects sent
	14 packets sent from this host
	0 packets sent with fabricated ip header
	0 output packets dropped due to no bufs, etc.
	0 output packets discarded due to no route
	0 output datagrams fragmented
	0 fragments created
	0 datagrams that can't be fragmented
	0 packets that violated scope rules
	0 multicast packets which we don't join
	Mbuf statistics:
		0 one mbuf
		0 one ext mbuf
		0 two or more ext mbuf
	0 packets whose headers are not continuous
	0 tunneling packets that can't find gif
	0 packets discarded because of too many headers
	0 failures of source address selection
	Source addresses selection rule applied:
icmp6:
	0 calls to icmp6_error
	0 errors not generated in response to an icmp6 message
	0 errors not generated because of rate limitation
	Output histogram:
		neighbor solicitation: 2
		MLDv2 listener report: 12
	0 messages with bad code fields
	0 messages < minimum length
	0 bad checksums
	0 messages with bad length
	Histogram of error messages to be generated:
		0 no route
		0 administratively prohibited
		0 beyond scope
		0 address unreachable
		0 port unreachable
		0 packet too big
		0 time exceed transit
		0 time exceed reassembly
		0 erroneous header field
		0 unrecognized next header
		0 unrecognized option
		0 redirect
		0 unknown
	0 message responses generated
	0 messages with too many ND options
	0 messages with bad ND options
	0 bad neighbor solicitation messages
	0 bad neighbor advertisement messages
	0 bad router solicitation messages
	0 bad router advertisement messages
	0 bad redirect messages
	0 path MTU changes
rip6:
	0 messages received
	0 checksum calculations on inbound
	0 messages with bad checksum
	0 messages dropped due to no socket
	0 multicast messages dropped due to no socket
	0 messages dropped due to full socket buffers
	0 delivered
	0 datagrams output

------------------------------------------------------------------------
netstat -m

257/281/538 mbufs in use (current/cache/total)
243/147/390/25600 mbuf clusters in use (current/cache/total/max)
256/141 mbuf+clusters out of packet secondary zone in use (current/cache)
0/2/2/12800 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/19200 9k jumbo clusters in use (current/cache/total/max)
0/0/0/12800 16k jumbo clusters in use (current/cache/total/max)
550K/372K/922K bytes allocated to network (current/cache/total)
0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
0/0/0 requests for jumbo clusters denied (4k/9k/16k)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
0 calls to protocol drain routines

------------------------------------------------------------------------
netstat -id

Name    Mtu Network       Address              Ipkts Ierrs Idrop    Opkts Oerrs  Coll Drop
re0    1500 <Link#1>      00:25:11:ee:26:45      635     0     0      320     0     0    0 
re0    1500 fe80:1::225:1 fe80:1::225:11ff:        0     -     -        2     -     -    - 
lo0   16384 <Link#2>                              26     0     0       26     0     0    0 
lo0   16384 your-net      localhost               26     -     -       26     -     -    - 
lo0   16384 localhost     ::1                      0     -     -        0     -     -    - 
lo0   16384 fe80:2::1     fe80:2::1                0     -     -        0     -     -    - 
pflog 33200 <Link#3>                               0     0     0        0     0     0    0 
net0   1500 <Link#4>      0e:33:3f:73:79:1e      635     0     0      315     0     0    0 
net0   1500 172.16.1.0    172.16.1.3              80     -     -       64     -     -    - 
dmz0   1500 <Link#5>      2a:b5:2a:d6:3a:94        0     0     0        7     0     0    0 
vlan0  1500 <Link#6>      00:25:11:ee:26:45        0     0     0        5     0     2    0 
vlan0  1500 fe80:6::225:1 fe80:6::225:11ff:        0     -     -        3     -     -    - 
ipfw0 65536 <Link#7>                               0     0     0        0     0     0    0 

------------------------------------------------------------------------
netstat -anr

Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            172.16.1.1         UGS         0       18   net0
127.0.0.1          link#2             UH          0       26    lo0
172.16.1.0/24      link#4             U           0       46   net0
172.16.1.3         link#4             UHS         0        0    lo0

Internet6:
Destination                       Gateway                       Flags      Netif Expire
::/96                             ::1                           UGRS        lo0
::1                               ::1                           UH          lo0
::ffff:0.0.0.0/96                 ::1                           UGRS        lo0
fe80::/10                         ::1                           UGRS        lo0
fe80::%re0/64                     link#1                        U           re0
fe80::225:11ff:feee:2645%re0      link#1                        UHS         lo0
fe80::%lo0/64                     link#2                        U           lo0
fe80::1%lo0                       link#2                        UHS         lo0
fe80::%6/64                       link#6                        U         vlan0
fe80::225:11ff:feee:2645%6        link#6                        UHS         lo0
ff01:1::/32                       fe80::225:11ff:feee:2645%re0  U           re0
ff01:2::/32                       ::1                           U           lo0
ff01:6::/32                       fe80::225:11ff:feee:2645%6    U         vlan0
ff02::/16                         ::1                           UGRS        lo0
ff02::%re0/32                     fe80::225:11ff:feee:2645%re0  U           re0
ff02::%lo0/32                     ::1                           U           lo0
ff02::%6/32                       fe80::225:11ff:feee:2645%6    U         vlan0

------------------------------------------------------------------------
netstat -anA

Active Internet connections (including servers)
Tcpcb    Proto Recv-Q Send-Q  Local Address      Foreign Address   (state)
c7469000 tcp4       0      0 172.16.1.3.22      172.16.1.77.41619  ESTABLISHED
c6e52768 tcp4       0      0 127.0.0.1.25       *.*                LISTEN
c6e52000 tcp4       0      0 *.22               *.*                LISTEN
c6e52278 tcp6       0      0 *.22               *.*                LISTEN
c6e52c58 tcp4       0      0 *.111              *.*                LISTEN
c6e53000 tcp6       0      0 *.111              *.*                LISTEN
c69d7974 udp6       0      0 *.*                *.*                
c69d7ce4 udp4       0      0 *.985              *.*                
c69d7dc0 udp4       0      0 *.111              *.*                
c69d8000 udp6       0      0 *.836              *.*                
c69d7c08 udp6       0      0 *.111              *.*                
c6c26528 icm6       0      0 *.*                *.*                
Active UNIX domain sockets
Address  Type   Recv-Q Send-Q    Inode     Conn     Refs  Nextref Addr
c69bba14 stream      0      0        0 c69bb968        0        0
c69bb968 stream      0      0        0 c69bba14        0        0
c69bb60c stream      0      0 c62c196c        0        0        0 /var/run/rpcbind.sock
c69bb0ac stream      0      0 c6deb430        0        0        0 /var/run/devd.pipe

------------------------------------------------------------------------
netstat -aL

Current listen queue sizes (qlen/incqlen/maxqlen)
Proto Listen         Local Address         
tcp4  0/0/10         localhost.smtp         
tcp4  0/0/128        *.ssh                  
tcp6  0/0/128        *.ssh                  
tcp4  0/0/128        *.sunrpc               
tcp6  0/0/128        *.sunrpc               
unix  0/0/128        /var/run/rpcbind.sock
unix  0/0/4          /var/run/devd.pipe

------------------------------------------------------------------------
fstat

USER     CMD          PID   FD MOUNT      INUM MODE         SZ|DV R/W
root     pfctl       1628 root /             3 drwxr-xr-x      27  r
root     pfctl       1628   wd /            45 drwxr-xr-x      17  r
root     pfctl       1628 text /         20501 -r-xr-xr-x  201600  r
root     pfctl       1628    0 /dev         41 crw-------   ttyv1 rw
root     pfctl       1628    1 /dev         41 crw-------   ttyv1 rw
root     pfctl       1628    2 /dev         41 crw-------   ttyv1 rw
root     pfctl       1628    3 /dev         65 crw-------      pf rw
ops      tcsh        1480 root /             3 drwxr-xr-x      27  r
ops      tcsh        1480   wd /         32791 drwxr-xr-x      13  r
ops      tcsh        1480 text /         18575 -r-xr-xr-x  327692  r
ops      tcsh        1480   15 /dev        103 crw--w----   pts/0 rw
ops      tcsh        1480   16 /dev        103 crw--w----   pts/0 rw
ops      tcsh        1480   17 /dev        103 crw--w----   pts/0 rw
ops      tcsh        1480   18 /dev        103 crw--w----   pts/0 rw
ops      tcsh        1480   19 /dev        103 crw--w----   pts/0 rw
ops      sshd        1479 root /             3 drwxr-xr-x      27  r
ops      sshd        1479   wd /             3 drwxr-xr-x      27  r
ops      sshd        1479 text /         20931 -r-xr-xr-x  230588  r
ops      sshd        1479    0 /dev          6 crw-rw-rw-    null rw
ops      sshd        1479    1 /dev          6 crw-rw-rw-    null rw
ops      sshd        1479    2 /dev          6 crw-rw-rw-    null rw
ops      sshd        1479    3* internet stream tcp c7469000
ops      sshd        1479    4* local stream c69bb968 <-> c69bba14
ops      sshd        1479    5* pipe c5ed5620 <-> c5ed56d8      0 rw
ops      sshd        1479    6* pipe c5ed56d8 <-> c5ed5620      0 rw
ops      sshd        1479    7* pseudo-terminal master      pts/0 rw
ops      sshd        1479    9* pseudo-terminal master      pts/0 rw
ops      sshd        1479   10* pseudo-terminal master      pts/0 rw
root     sshd        1476 root /             3 drwxr-xr-x      27  r
root     sshd        1476   wd /             3 drwxr-xr-x      27  r
root     sshd        1476 text /         20931 -r-xr-xr-x  230588  r
root     sshd        1476    0 /dev          6 crw-rw-rw-    null  r
root     sshd        1476    1 /dev          6 crw-rw-rw-    null rw
root     sshd        1476    2 /dev          6 crw-rw-rw-    null rw
root     sshd        1476    3* internet stream tcp c7469000
root     sshd        1476    4* pseudo-terminal master      pts/0 rw
root     sshd        1476    5* local stream c69bba14 <-> c69bb968
root     csh         1457 root /             3 drwxr-xr-x      27  r
root     csh         1457   wd /            45 drwxr-xr-x      17  r
root     csh         1457 text /         18575 -r-xr-xr-x  327692  r
root     csh         1457   15 /dev         41 crw-------   ttyv1 rw
root     csh         1457   16 /dev         41 crw-------   ttyv1 rw
root     csh         1457   17 /dev         41 crw-------   ttyv1 rw
root     csh         1457   18 /dev         41 crw-------   ttyv1 rw
root     csh         1457   19 /dev         41 crw-------   ttyv1 rw
root     getty       1451 root /             3 drwxr-xr-x      27  r
root     getty       1451   wd /             3 drwxr-xr-x      27  r
root     getty       1451 text /         18501 -r-xr-xr-x   21732  r
root     getty       1451    0 /dev         47 crw-------   ttyv7 rw
root     getty       1451    1 /dev         47 crw-------   ttyv7 rw
root     getty       1451    2 /dev         47 crw-------   ttyv7 rw
root     getty       1450 root /             3 drwxr-xr-x      27  r
root     getty       1450   wd /             3 drwxr-xr-x      27  r
root     getty       1450 text /         18501 -r-xr-xr-x   21732  r
root     getty       1450    0 /dev         46 crw-------   ttyv6 rw
root     getty       1450    1 /dev         46 crw-------   ttyv6 rw
root     getty       1450    2 /dev         46 crw-------   ttyv6 rw
root     getty       1449 root /             3 drwxr-xr-x      27  r
root     getty       1449   wd /             3 drwxr-xr-x      27  r
root     getty       1449 text /         18501 
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-06-28 05:25:46 UTC
Responsible Changed
From-To: freebsd-i386->freebsd-net

Over to maintainer(s).
Comment 2 Gavin Atkinson freebsd_committer freebsd_triage 2010-08-14 15:28:45 UTC
Responsible Changed
From-To: freebsd-net->freebsd-virtualization

Over to maintainer(s)
Comment 3 Craig Rodrigues freebsd_committer freebsd_triage 2014-12-13 21:31:07 UTC

*** This bug has been marked as a duplicate of bug 194515 ***