Solaris Notes: Difference between revisions
No edit summary |
|||
(37 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Context: Solaris 10 | Context: Solaris 10 | ||
== Packages == | |||
Examining the files of a package that's not install yet: | Examining the files of a package that's not install yet: | ||
Line 8: | Line 10: | ||
pkgchk -l -p /usr/bin/bash | pkgchk -l -p /usr/bin/bash | ||
verify, rpm -V for solaris pkgchk: | |||
# pkgchk SMCap2059 | |||
ERROR: /usr/local/apache2/conf/ssl.conf | |||
modtime <08/26/06 05:20:35 AM> expected <06/07/11 04:23:51 PM> actual | |||
file size <10924> expected <11034> actual | |||
file cksum <15466> expected <25346> actual | |||
listfiles in a package: | |||
pkgchk -l SUNWsndmr | grep ^Path | |||
== Basics == | |||
Nice big PS | |||
/usr/ucb/ps -elf | |||
compile man page index, the windex db: | |||
/usr/bin/catman -w | |||
== Interfaces == | |||
Interface unvwmare: use e1000 devices, it works why not vxnet3? | Interface unvwmare: use e1000 devices, it works why not vxnet3? | ||
Line 35: | Line 59: | ||
SUNWdoc | SUNWdoc | ||
SUNWman | |||
Getting sshd setup from a core build: | |||
pkgadd -d . SUNWsshcu SUNWsshdr SUNWsshdu SUNWsshr SUNWsshu | |||
<pre> | |||
system SUNWsshcu SSH Common, (Usr) | |||
system SUNWsshdr SSH Server, (Root) | |||
system SUNWsshdu SSH Server, (Usr) | |||
system SUNWsshr SSH Client and utilities, (Root) | |||
system SUNWsshu SSH Client and utilities, (Usr) | |||
</pre> | |||
create host keys: | |||
/lib/svc/method/sshd -c | |||
enable service: | |||
svcadm enable network/ssh:default | |||
Test: | |||
ssh localhost | |||
Other | |||
* that | |||
* this | |||
* lsof | |||
== UTF-8 issues == | |||
if: | |||
Can’t convert to UTF-8: Cannot convert the local codeset strings to UTF-8 | |||
then: | |||
mount cdrom | |||
pkgadd -d . SUNWuiu8 | |||
== ZFS == | |||
* http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide | |||
* http://blogs.oracle.com/bonwick/entry/smokin_mirrors | |||
* What is RAID-Z? | |||
* Monitoring the activty of the arc http://dtrace.org/blogs/brendan/2012/01/09/activity-of-the-zfs-arc/ | |||
* Monitoring the activty of the ZIL http://dtrace.org/blogs/brendan/2012/01/09/activity-of-the-zfs-arc/ | |||
* evil tuning guid: limiting arc http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Limiting_the_ARC_Cache | |||
show volume iostat | |||
zfs list | |||
show performance arc -h | |||
hidden dirs: | |||
.zfs | |||
.zfs/.snapshots | |||
.zfs/.snapshots/ALL THE SNAPSHOTS | |||
controlling access to snap shot dirs: | |||
zfs set snapdir=visible tank/home/administrator | |||
To hide the .zfs folder: | |||
zfs set snapdir=hidden tank/home/administrator | |||
more: https://blogs.oracle.com/amw/entry/using_windows_previous_versions_to1 | |||
=== Nexenta === | |||
interfaces : nmc (comnad line) and nmv ( web interface) | |||
shares are called folders. | |||
block size : use default 128k good for many apps. possible to change blocks size on the fly. | |||
in the nmc get a bash shell for OS access: | |||
options expert_mode=1 | |||
!bash | |||
show appliance syslog | |||
snapmirror nexenta style: | |||
setup auto-sync create -g | |||
== Disks == | |||
listing disks | |||
<pre> | |||
root@trumper:/etc# iostat -Exn | |||
extended device statistics | |||
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device | |||
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c8t0d0 | |||
26.7 35.8 266.1 847.2 0.0 0.7 0.0 11.4 0 13 c0t5000C5002621C353d0 | |||
27.2 35.9 266.3 847.2 0.0 0.7 0.0 11.1 0 13 c0t5000C50025EFC573d0 | |||
26.8 36.1 266.2 847.2 0.0 0.7 0.0 10.7 0 13 c0t5000C500261DABC3d0 | |||
25.1 35.3 266.9 847.2 0.0 0.8 0.0 12.8 0 14 c0t5000C50025EFC4E7d0 | |||
26.2 36.1 266.1 847.2 0.0 0.7 0.0 10.8 0 13 c0t5000C500262852F7d0 | |||
26.3 36.0 266.3 847.2 0.0 0.7 0.0 11.0 0 13 c0t5000C50026236A97d0 | |||
27.5 35.9 266.0 847.2 0.0 0.7 0.0 10.9 0 13 c0t5000C5002628A7ABd0 | |||
27.4 35.8 266.1 847.2 0.0 0.7 0.0 11.2 0 13 c0t5000C5002628AF1Bd0 | |||
26.7 36.2 266.0 847.2 0.0 0.7 0.0 10.6 0 12 c0t5000C500261DB77Bd0 | |||
26.2 36.2 265.9 847.2 0.0 0.7 0.0 10.6 0 12 c0t5000C50026287FFFd0 | |||
26.1 35.8 266.4 847.2 0.0 0.7 0.0 11.5 0 13 c0t5000C500262867AFd0 | |||
25.6 35.8 266.5 847.2 0.0 0.7 0.0 11.6 0 13 c0t5000C500261E4D2Fd0 | |||
26.1 35.8 266.3 847.2 0.0 0.7 0.0 11.5 0 13 c0t5000C50026286993d0 | |||
24.5 35.9 266.7 847.2 0.0 0.7 0.0 11.8 0 13 c0t5000C50025F195F3d0 | |||
26.5 36.0 266.1 847.2 0.0 0.7 0.0 11.0 0 13 c0t5000C500261E23A7d0 | |||
26.7 35.8 266.0 847.2 0.0 0.7 0.0 11.3 0 13 c0t5000C50026286137d0 | |||
26.7 36.2 265.9 847.2 0.0 0.7 0.0 10.6 0 12 c0t5000C500261DF6D7d0 | |||
26.6 36.2 265.9 847.2 0.0 0.7 0.0 10.5 0 12 c0t5000C50026289F87d0 | |||
26.6 36.2 265.9 847.2 0.0 0.7 0.0 10.6 0 12 c0t5000C500262893CBd0 | |||
26.5 35.9 266.3 847.2 0.0 0.7 0.0 11.1 0 13 c0t5000C5002628A37Bd0 | |||
27.6 36.1 265.8 847.2 0.0 0.7 0.0 10.4 0 12 c0t5000C500261E54DBd0 | |||
27.2 36.0 266.0 847.2 0.0 0.7 0.0 10.8 0 13 c0t5000C50025F01E8Fd0 | |||
26.0 36.2 266.0 847.2 0.0 0.7 0.0 10.7 0 12 c0t5000C5002628BD6Fd0 | |||
0.0 0.1 3.0 0.6 0.0 0.0 0.0 12.8 0 0 c9t1d0 | |||
0.0 0.1 3.4 0.6 0.0 0.0 0.0 12.1 0 0 c9t2d0 | |||
0.0 0.0 0.0 0.0 0.0 0.0 0.7 5.4 0 0 c11t5000C50026286D2Dd0 | |||
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 sd31 | |||
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.5 0 0 c0t5000C500421C3003d0 | |||
</pre> | |||
scary but works, just control c after the list | |||
format | |||
== Setting you manpath == | |||
look at all the man paths: | |||
<pre> | |||
[root@alpha-ldap-01 log]# grep "man d " /var/sadm/install/contents | awk '{print $1}' | |||
/opt/csw/share/man | |||
/usr/local/apache2/doc/apache2/docs/man | |||
/usr/local/apache2/man | |||
/usr/local/doc/openldap/doc/man | |||
/usr/local/man | |||
/usr/local/mysql/man | |||
/usr/local/mysql/share/mysql/german | |||
/usr/local/php/man | |||
/usr/local/share/man | |||
/usr/local/ssl/man | |||
/usr/sfw/share/man | |||
/usr/share/man | |||
[root@alpha-ldap-01 log | |||
</pre> | |||
make a new line for your profile: | |||
grep "man d " /var/sadm/install/contents | \ | |||
awk 'BEGIN{ORS=":"}{print $1}' | \ | |||
awk '{print "setenv MANPATH=" substr($0, 0, length($0)-1 ) }' >> ~/.profile | |||
run after installing new software. NOT PERFECT, system wide? | |||
== Service Administration == | |||
Solaris now uses SMF Service Management Facility. Here is a wonderful cheatsheet: | |||
http://www.princeton.edu/~unix/Solaris/troubleshoot/smf.html | |||
== Sendmail == | |||
from: http://thegreyblog.blogspot.ca/2009/11/configuring-sendmail-on-solaris-10.html | |||
svccfg -s svc:/network/smtp:sendmail listprop | |||
... | |||
config/local_only boolean true | |||
... | |||
/lib/svc/method/smtp-sendmail | |||
local=`/usr/bin/svcprop -p config/local_only $SMF_FMRI 2>/dev/null` | |||
if [ $? = 0 -a "$local" = "true" ]; then | |||
OPTIONS="$OPTIONS -C /etc/mail/local.cf" | |||
fi | |||
/usr/lib/sendmail $MODE -q$QUEUEOPTION$QUEUEINTERVAL $OPTIONS & | |||
/usr/lib/sendmail -Ac -q$CLIENTQUEUEINTERVAL $CLIENTOPTIONS & | |||
Also: | |||
http://docs.oracle.com/cd/E19253-01/816-4555/mailadmin-29/index.html | |||
examine the config: | |||
/usr/lib/sendmail -bt -d0 </dev/null | |||
Testing: | |||
/usr/lib/sendmail -v david.thornton@scalar.ca | |||
== List interupts == | |||
<pre> | |||
root@q9-nexenta-sas-01:/var/log# echo ::interrupts -d | mdb -k | |||
IRQ Vect IPL Bus Trg Type CPU Share APIC/INT# Driver Name(s) | |||
3 0xb1 12 ISA Edg Fixed 16 1 0x0/0x3 asy#1 | |||
4 0xb0 12 ISA Edg Fixed 15 1 0x0/0x4 asy#0 | |||
9 0x81 9 PCI Lvl Fixed 1 1 0x0/0x9 acpi_wrapper_isr | |||
11 0xd1 14 PCI Lvl Fixed 2 1 0x0/0xb hpet_isr | |||
16 0x86 9 PCI Lvl Fixed 10 1 0x0/0x10 uhci#0 | |||
18 0x84 9 PCI Lvl Fixed 8 2 0x0/0x12 uhci#5, ehci#0 | |||
19 0x88 9 PCI Lvl Fixed 3 3 0x0/0x13 pci-ide#0, uhci#4, uhci#2 | |||
21 0x87 9 PCI Lvl Fixed 11 1 0x0/0x15 uhci#1 | |||
23 0x85 9 PCI Lvl Fixed 9 2 0x0/0x17 uhci#3, ehci#1 | |||
32 0x20 2 Edg IPI all 1 - cmi_cmci_trap | |||
48 0x82 7 PCI Edg MSI 4 1 - pcieb#0 | |||
49 0x30 4 PCI Edg MSI 5 1 - pcieb#1 | |||
50 0x83 7 PCI Edg MSI 6 1 - pcieb#2 | |||
51 0x31 4 PCI Edg MSI 7 1 - pcieb#4 | |||
52 0x60 6 PCI Edg MSI-X 12 1 - igb#1 | |||
53 0x61 6 PCI Edg MSI-X 13 1 - igb#1 | |||
54 0x62 6 PCI Edg MSI-X 3 1 - igb#0 | |||
55 0x63 6 PCI Edg MSI-X 15 1 - igb#0 | |||
56 0x64 6 PCI Edg MSI-X 16 1 - ixgbe#0 | |||
57 0x65 6 PCI Edg MSI-X 17 1 - ixgbe#0 | |||
58 0x66 6 PCI Edg MSI-X 18 1 - ixgbe#0 | |||
59 0x67 6 PCI Edg MSI-X 19 1 - ixgbe#0 | |||
60 0x68 6 PCI Edg MSI-X 20 1 - ixgbe#0 | |||
61 0x69 6 PCI Edg MSI-X 21 1 - ixgbe#0 | |||
62 0x6a 6 PCI Edg MSI-X 22 1 - ixgbe#0 | |||
63 0x6b 6 PCI Edg MSI-X 23 1 - ixgbe#0 | |||
64 0x6c 6 PCI Edg MSI-X 23 1 - ixgbe#1 | |||
65 0x6d 6 PCI Edg MSI-X 0 1 - ixgbe#1 | |||
66 0x6e 6 PCI Edg MSI-X 1 1 - ixgbe#1 | |||
67 0x6f 6 PCI Edg MSI-X 2 1 - ixgbe#1 | |||
68 0x70 6 PCI Edg MSI-X 3 1 - ixgbe#1 | |||
69 0x71 6 PCI Edg MSI-X 4 1 - ixgbe#1 | |||
70 0x72 6 PCI Edg MSI-X 5 1 - ixgbe#1 | |||
71 0x73 6 PCI Edg MSI-X 6 1 - ixgbe#1 | |||
72 0x74 6 PCI Edg MSI-X 7 1 - ixgbe#4 | |||
73 0x75 6 PCI Edg MSI-X 8 1 - ixgbe#4 | |||
74 0x76 6 PCI Edg MSI-X 9 1 - ixgbe#4 | |||
75 0x77 6 PCI Edg MSI-X 10 1 - ixgbe#4 | |||
76 0x78 6 PCI Edg MSI-X 11 1 - ixgbe#4 | |||
77 0x79 6 PCI Edg MSI-X 12 1 - ixgbe#4 | |||
78 0x7a 6 PCI Edg MSI-X 13 1 - ixgbe#4 | |||
79 0x7b 6 PCI Edg MSI-X 14 1 - ixgbe#4 | |||
80 0x7c 6 PCI Edg MSI-X 17 1 - ixgbe#5 | |||
81 0x7d 6 PCI Edg MSI-X 18 1 - ixgbe#5 | |||
82 0x7e 6 PCI Edg MSI-X 19 1 - ixgbe#5 | |||
83 0x7f 6 PCI Edg MSI-X 20 1 - ixgbe#5 | |||
84 0x40 5 PCI Edg MSI 22 1 - mpt_sas#0 | |||
160 0xa0 0 Edg IPI all 0 - poke_cpu | |||
208 0xd0 14 Edg IPI all 1 - kcpc_hw_overflow_intr | |||
209 0xd3 14 Edg IPI all 1 - cbe_fire | |||
210 0xd4 14 Edg IPI all 1 - cbe_fire | |||
240 0xe0 15 Edg IPI all 1 - xc_serv | |||
241 0xe1 15 Edg IPI all 1 - apic_error_intr | |||
root@q9-nexenta-sas-01:/var/log# | |||
</pre> | |||
== tunable reference == | |||
http://docs.oracle.com/cd/E19082-01/819-2724/6n50b07d9/index.html | |||
== list vars for interfaces == | |||
for i in `ndd -get /dev/ixgbe0 ? | awk '{print $1}' | sed -e '1d' `; do echo -n $i " "; ndd -get /dev/ixgbe0 $i 2>/dev/null; done |
Latest revision as of 18:54, 23 November 2013
Context: Solaris 10
Packages
Examining the files of a package that's not install yet:
pkgchk -d SMSmon -l SMSmon
What package owns file X
pkgchk -l -p /usr/bin/bash
verify, rpm -V for solaris pkgchk:
# pkgchk SMCap2059 ERROR: /usr/local/apache2/conf/ssl.conf modtime <08/26/06 05:20:35 AM> expected <06/07/11 04:23:51 PM> actual file size <10924> expected <11034> actual file cksum <15466> expected <25346> actual
listfiles in a package:
pkgchk -l SUNWsndmr | grep ^Path
Basics
Nice big PS
/usr/ucb/ps -elf
compile man page index, the windex db:
/usr/bin/catman -w
Interfaces
Interface unvwmare: use e1000 devices, it works why not vxnet3?
create hostname file
/etc/hostname.e1000g0
externalname.domain.com
/etc/hostname.e1000g0
internalname.domain.com
plumb bum!
ifconfig e1000g0 plumb ifconfig e1000g0 plumb
Watching the machine start
http://www.sun.com/bigadmin/content/selfheal/smf-quickstart.jsp
at the ok prompt:
boot -m verbose
Packages of note
SUNW:
SUNWdoc SUNWman
Getting sshd setup from a core build:
pkgadd -d . SUNWsshcu SUNWsshdr SUNWsshdu SUNWsshr SUNWsshu
system SUNWsshcu SSH Common, (Usr) system SUNWsshdr SSH Server, (Root) system SUNWsshdu SSH Server, (Usr) system SUNWsshr SSH Client and utilities, (Root) system SUNWsshu SSH Client and utilities, (Usr)
create host keys:
/lib/svc/method/sshd -c
enable service:
svcadm enable network/ssh:default
Test:
ssh localhost
Other
- that
- this
- lsof
UTF-8 issues
if:
Can’t convert to UTF-8: Cannot convert the local codeset strings to UTF-8
then:
mount cdrom pkgadd -d . SUNWuiu8
ZFS
- http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide
- http://blogs.oracle.com/bonwick/entry/smokin_mirrors
- What is RAID-Z?
- Monitoring the activty of the arc http://dtrace.org/blogs/brendan/2012/01/09/activity-of-the-zfs-arc/
- Monitoring the activty of the ZIL http://dtrace.org/blogs/brendan/2012/01/09/activity-of-the-zfs-arc/
- evil tuning guid: limiting arc http://www.solarisinternals.com/wiki/index.php/ZFS_Evil_Tuning_Guide#Limiting_the_ARC_Cache
show volume iostat
zfs list
show performance arc -h
hidden dirs:
.zfs .zfs/.snapshots .zfs/.snapshots/ALL THE SNAPSHOTS
controlling access to snap shot dirs:
zfs set snapdir=visible tank/home/administrator
To hide the .zfs folder:
zfs set snapdir=hidden tank/home/administrator
more: https://blogs.oracle.com/amw/entry/using_windows_previous_versions_to1
Nexenta
interfaces : nmc (comnad line) and nmv ( web interface)
shares are called folders.
block size : use default 128k good for many apps. possible to change blocks size on the fly.
in the nmc get a bash shell for OS access:
options expert_mode=1 !bash
show appliance syslog
snapmirror nexenta style:
setup auto-sync create -g
Disks
listing disks
root@trumper:/etc# iostat -Exn extended device statistics r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 c8t0d0 26.7 35.8 266.1 847.2 0.0 0.7 0.0 11.4 0 13 c0t5000C5002621C353d0 27.2 35.9 266.3 847.2 0.0 0.7 0.0 11.1 0 13 c0t5000C50025EFC573d0 26.8 36.1 266.2 847.2 0.0 0.7 0.0 10.7 0 13 c0t5000C500261DABC3d0 25.1 35.3 266.9 847.2 0.0 0.8 0.0 12.8 0 14 c0t5000C50025EFC4E7d0 26.2 36.1 266.1 847.2 0.0 0.7 0.0 10.8 0 13 c0t5000C500262852F7d0 26.3 36.0 266.3 847.2 0.0 0.7 0.0 11.0 0 13 c0t5000C50026236A97d0 27.5 35.9 266.0 847.2 0.0 0.7 0.0 10.9 0 13 c0t5000C5002628A7ABd0 27.4 35.8 266.1 847.2 0.0 0.7 0.0 11.2 0 13 c0t5000C5002628AF1Bd0 26.7 36.2 266.0 847.2 0.0 0.7 0.0 10.6 0 12 c0t5000C500261DB77Bd0 26.2 36.2 265.9 847.2 0.0 0.7 0.0 10.6 0 12 c0t5000C50026287FFFd0 26.1 35.8 266.4 847.2 0.0 0.7 0.0 11.5 0 13 c0t5000C500262867AFd0 25.6 35.8 266.5 847.2 0.0 0.7 0.0 11.6 0 13 c0t5000C500261E4D2Fd0 26.1 35.8 266.3 847.2 0.0 0.7 0.0 11.5 0 13 c0t5000C50026286993d0 24.5 35.9 266.7 847.2 0.0 0.7 0.0 11.8 0 13 c0t5000C50025F195F3d0 26.5 36.0 266.1 847.2 0.0 0.7 0.0 11.0 0 13 c0t5000C500261E23A7d0 26.7 35.8 266.0 847.2 0.0 0.7 0.0 11.3 0 13 c0t5000C50026286137d0 26.7 36.2 265.9 847.2 0.0 0.7 0.0 10.6 0 12 c0t5000C500261DF6D7d0 26.6 36.2 265.9 847.2 0.0 0.7 0.0 10.5 0 12 c0t5000C50026289F87d0 26.6 36.2 265.9 847.2 0.0 0.7 0.0 10.6 0 12 c0t5000C500262893CBd0 26.5 35.9 266.3 847.2 0.0 0.7 0.0 11.1 0 13 c0t5000C5002628A37Bd0 27.6 36.1 265.8 847.2 0.0 0.7 0.0 10.4 0 12 c0t5000C500261E54DBd0 27.2 36.0 266.0 847.2 0.0 0.7 0.0 10.8 0 13 c0t5000C50025F01E8Fd0 26.0 36.2 266.0 847.2 0.0 0.7 0.0 10.7 0 12 c0t5000C5002628BD6Fd0 0.0 0.1 3.0 0.6 0.0 0.0 0.0 12.8 0 0 c9t1d0 0.0 0.1 3.4 0.6 0.0 0.0 0.0 12.1 0 0 c9t2d0 0.0 0.0 0.0 0.0 0.0 0.0 0.7 5.4 0 0 c11t5000C50026286D2Dd0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 sd31 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.5 0 0 c0t5000C500421C3003d0
scary but works, just control c after the list
format
Setting you manpath
look at all the man paths:
[root@alpha-ldap-01 log]# grep "man d " /var/sadm/install/contents | awk '{print $1}' /opt/csw/share/man /usr/local/apache2/doc/apache2/docs/man /usr/local/apache2/man /usr/local/doc/openldap/doc/man /usr/local/man /usr/local/mysql/man /usr/local/mysql/share/mysql/german /usr/local/php/man /usr/local/share/man /usr/local/ssl/man /usr/sfw/share/man /usr/share/man [root@alpha-ldap-01 log
make a new line for your profile:
grep "man d " /var/sadm/install/contents | \ awk 'BEGIN{ORS=":"}{print $1}' | \ awk '{print "setenv MANPATH=" substr($0, 0, length($0)-1 ) }' >> ~/.profile
run after installing new software. NOT PERFECT, system wide?
Service Administration
Solaris now uses SMF Service Management Facility. Here is a wonderful cheatsheet:
http://www.princeton.edu/~unix/Solaris/troubleshoot/smf.html
Sendmail
from: http://thegreyblog.blogspot.ca/2009/11/configuring-sendmail-on-solaris-10.html
svccfg -s svc:/network/smtp:sendmail listprop
... config/local_only boolean true ...
/lib/svc/method/smtp-sendmail
local=`/usr/bin/svcprop -p config/local_only $SMF_FMRI 2>/dev/null` if [ $? = 0 -a "$local" = "true" ]; then OPTIONS="$OPTIONS -C /etc/mail/local.cf" fi /usr/lib/sendmail $MODE -q$QUEUEOPTION$QUEUEINTERVAL $OPTIONS & /usr/lib/sendmail -Ac -q$CLIENTQUEUEINTERVAL $CLIENTOPTIONS &
Also:
http://docs.oracle.com/cd/E19253-01/816-4555/mailadmin-29/index.html
examine the config:
/usr/lib/sendmail -bt -d0 </dev/null
Testing:
/usr/lib/sendmail -v david.thornton@scalar.ca
List interupts
root@q9-nexenta-sas-01:/var/log# echo ::interrupts -d | mdb -k IRQ Vect IPL Bus Trg Type CPU Share APIC/INT# Driver Name(s) 3 0xb1 12 ISA Edg Fixed 16 1 0x0/0x3 asy#1 4 0xb0 12 ISA Edg Fixed 15 1 0x0/0x4 asy#0 9 0x81 9 PCI Lvl Fixed 1 1 0x0/0x9 acpi_wrapper_isr 11 0xd1 14 PCI Lvl Fixed 2 1 0x0/0xb hpet_isr 16 0x86 9 PCI Lvl Fixed 10 1 0x0/0x10 uhci#0 18 0x84 9 PCI Lvl Fixed 8 2 0x0/0x12 uhci#5, ehci#0 19 0x88 9 PCI Lvl Fixed 3 3 0x0/0x13 pci-ide#0, uhci#4, uhci#2 21 0x87 9 PCI Lvl Fixed 11 1 0x0/0x15 uhci#1 23 0x85 9 PCI Lvl Fixed 9 2 0x0/0x17 uhci#3, ehci#1 32 0x20 2 Edg IPI all 1 - cmi_cmci_trap 48 0x82 7 PCI Edg MSI 4 1 - pcieb#0 49 0x30 4 PCI Edg MSI 5 1 - pcieb#1 50 0x83 7 PCI Edg MSI 6 1 - pcieb#2 51 0x31 4 PCI Edg MSI 7 1 - pcieb#4 52 0x60 6 PCI Edg MSI-X 12 1 - igb#1 53 0x61 6 PCI Edg MSI-X 13 1 - igb#1 54 0x62 6 PCI Edg MSI-X 3 1 - igb#0 55 0x63 6 PCI Edg MSI-X 15 1 - igb#0 56 0x64 6 PCI Edg MSI-X 16 1 - ixgbe#0 57 0x65 6 PCI Edg MSI-X 17 1 - ixgbe#0 58 0x66 6 PCI Edg MSI-X 18 1 - ixgbe#0 59 0x67 6 PCI Edg MSI-X 19 1 - ixgbe#0 60 0x68 6 PCI Edg MSI-X 20 1 - ixgbe#0 61 0x69 6 PCI Edg MSI-X 21 1 - ixgbe#0 62 0x6a 6 PCI Edg MSI-X 22 1 - ixgbe#0 63 0x6b 6 PCI Edg MSI-X 23 1 - ixgbe#0 64 0x6c 6 PCI Edg MSI-X 23 1 - ixgbe#1 65 0x6d 6 PCI Edg MSI-X 0 1 - ixgbe#1 66 0x6e 6 PCI Edg MSI-X 1 1 - ixgbe#1 67 0x6f 6 PCI Edg MSI-X 2 1 - ixgbe#1 68 0x70 6 PCI Edg MSI-X 3 1 - ixgbe#1 69 0x71 6 PCI Edg MSI-X 4 1 - ixgbe#1 70 0x72 6 PCI Edg MSI-X 5 1 - ixgbe#1 71 0x73 6 PCI Edg MSI-X 6 1 - ixgbe#1 72 0x74 6 PCI Edg MSI-X 7 1 - ixgbe#4 73 0x75 6 PCI Edg MSI-X 8 1 - ixgbe#4 74 0x76 6 PCI Edg MSI-X 9 1 - ixgbe#4 75 0x77 6 PCI Edg MSI-X 10 1 - ixgbe#4 76 0x78 6 PCI Edg MSI-X 11 1 - ixgbe#4 77 0x79 6 PCI Edg MSI-X 12 1 - ixgbe#4 78 0x7a 6 PCI Edg MSI-X 13 1 - ixgbe#4 79 0x7b 6 PCI Edg MSI-X 14 1 - ixgbe#4 80 0x7c 6 PCI Edg MSI-X 17 1 - ixgbe#5 81 0x7d 6 PCI Edg MSI-X 18 1 - ixgbe#5 82 0x7e 6 PCI Edg MSI-X 19 1 - ixgbe#5 83 0x7f 6 PCI Edg MSI-X 20 1 - ixgbe#5 84 0x40 5 PCI Edg MSI 22 1 - mpt_sas#0 160 0xa0 0 Edg IPI all 0 - poke_cpu 208 0xd0 14 Edg IPI all 1 - kcpc_hw_overflow_intr 209 0xd3 14 Edg IPI all 1 - cbe_fire 210 0xd4 14 Edg IPI all 1 - cbe_fire 240 0xe0 15 Edg IPI all 1 - xc_serv 241 0xe1 15 Edg IPI all 1 - apic_error_intr root@q9-nexenta-sas-01:/var/log#
tunable reference
http://docs.oracle.com/cd/E19082-01/819-2724/6n50b07d9/index.html
list vars for interfaces
for i in `ndd -get /dev/ixgbe0 ? | awk '{print $1}' | sed -e '1d' `; do echo -n $i " "; ndd -get /dev/ixgbe0 $i 2>/dev/null; done