prtdiag コマンドを使うと、Solaris で CPU数やメモリサイズなどのハードウェア構成を確認することができる。
bash-3.00# prtdiag System Configuration: Sun Microsystems sun4u SUNW,Sun-Blade-1000 (2 X UltraSPARC-III+) System clock frequency: 145 MHZ Memory size: 8GB ==================================== CPUs ==================================== E$ CPU CPU CPU Freq Size Implementation Mask Status Location --- -------- ---------- --------------------- ----- ------ -------- 0 1015 MHz 8MB SUNW,UltraSPARC-III+ 2.3 on-line +-board/cpu0 1 1015 MHz 8MB SUNW,UltraSPARC-III+ 2.3 on-line +-board/cpu1 ================================= IO Devices ================================= Bus Freq Slot + Name + Type MHz Status Path Model ------ ---- ---------- ---------------------------- -------------------- pci 33 +s/system-board ebus/ns87317-ecpp (parallel) okay /pci@8,700000/ebus@5/parallel@1,300278 pci 33 +s/system-board ebus/se (serial) okay /pci@8,700000/ebus@5/serial@1,400000 pci 33 +s/system-board pci108e,1101 (network) SUNW,pci-eri okay /pci@8,700000/network@5,1 pci 33 +s/system-board pciclass,0c0010 (firewire) okay /pci@8,700000/firewire@5,2 pci 33 +s/system-board scsi-pci1000,f (scsi-2) okay /pci@8,700000/scsi@6 pci 33 +s/system-board scsi-pci1000,f (scsi-2) okay /pci@8,700000/scsi@6,1 pci 33 +s/system-board SUNW,m64B (display) SUNW,370-4362 okay /pci@8,700000/SUNW,m64B@1 pci 66 +s/system-board SUNW,qlc-pci1077,2200 (scsi-+ okay /pci@8,600000/SUNW,qlc@4 ============================ Memory Configuration ============================ Segment Table: ----------------------------------------------------------------------- Base Address Size Interleave Factor Contains ----------------------------------------------------------------------- 0x0 8GB 4 BankIDs 0,1,2,3 Bank Table: ----------------------------------------------------------- Physical Location ID ControllerID GroupID Size Interleave Way ----------------------------------------------------------- 0 0 0 2GB 0 1 0 1 2GB 1 2 0 0 2GB 2 3 0 1 2GB 3 Memory Module Groups: -------------------------------------------------- ControllerID GroupID Labels Status -------------------------------------------------- 0 0 chassis/system-board/J0100 0 0 chassis/system-board/J0202 0 0 chassis/system-board/J0304 0 0 chassis/system-board/J0406 0 1 chassis/system-board/J0101 0 1 chassis/system-board/J0203 0 1 chassis/system-board/J0305 0 1 chassis/system-board/J0407 =============================== usb Devices =============================== Name Port# ------------ ----- keyboard 3 mouse 4