-
hipo posted an update 10 years, 11 months ago
How to check system hardware on a Sun OS server?
prtdiagSystem Configuration: Sun Microsystems sun4u Sun Fire V490
System clock frequency: 150 MHz
Memory size: 8192 Megabytes
========================= CPUs ===============================================
Run E$ CPU CPU
Brd CPU MHz MB Impl. Mask
— —– —- —- ——- —-
A 0, 16 1500 32.0 US-IV+ 2.2
A 2, 18 1500 32.0 US-IV+ 2.2
========================= Memory Configuration ===============================
Logical Logical Logical
MC Bank Bank Bank DIMM Interleave Interleaved
Brd ID num size Status Size Factor with
— — —- —— ———– —— ———- ———–
A 0 0 1024MB no_status 512MB 8-way 0
A 0 1 1024MB no_status 512MB 8-way 0
A 0 2 1024MB no_status 512MB 8-way 0
A 0 3 1024MB no_status 512MB 8-way 0
A 2 0 1024MB no_status 512MB 8-way 0
A 2 1 1024MB no_status 512MB 8-way 0
A 2 2 1024MB no_status 512MB 8-way 0
A 2 3 1024MB no_status 512MB 8-way 0
========================= IO Cards =========================
Bus Max
IO Port Bus Freq Bus Dev,
Type ID Side Slot MHz Freq Func State Name Model
—- —- —- —- —- —- —- —– ——————————– ———————-
PCI 8 A 0 66 66 1,0 ok pci-pci8086,537c.7/network (netw+ PCI-BRIDGE
PCI 8 A 0 66 66 0,0 ok network-pci100b,35.30 SUNW,pci-x-qge/pci-bri+
PCI 8 A 0 66 66 1,0 ok network-pci100b,35.30 SUNW,pci-x-qge/pci-bri+
PCI 8 A 0 66 66 2,0 ok network-pci100b,35.30 SUNW,pci-x-qge/pci-bri+
PCI 8 A 0 66 66 3,0 ok network-pci100b,35.30 SUNW,pci-x-qge/pci-bri+To get even more verbose info on Sun OS hardware
try
prtdiag -v | more
psrinfo in Sun OS shows info about installed onboard processors:
# psrinfo
To get kernel parameters on Sun / Solaris (like sysctl -a on Linux / BSD):
getconf -a
To get all devices installed and existing on Sun OS
sysdef
modinfo command on Sun OS is like Linux’s lsmod / BSD kldstat, and modload is like Linux’s modprobe
FreeBSD’s netstat -rn (list routing table info) equivalent under Sun OS is netstat -ri
Linux’s tcpdump equivalent on Sun OS is snoop
pkgchk -l -p /usr/sbin/ping
Pathname: /usr/sbin/ping
Type: regular file
Expected mode: 4511
Expected owner: root
Expected group: bin
Expected file size (bytes): 47932
Expected sum(1) of contents: 20791
Expected last modification: Sep 30 22:37:21 2004
Referenced by the following packages:
SUNWbip
Current status: installed
Sun OS / Solaris equivalent of Linux’s:
cat /etc/issue
is
# cat /etc/release
Sun OS equivalent to Linux’s strace trace system process calls is truss
Sun OS / Solaris equivalent to Linux’s
free -m
is
vmstat 1 2