Voici un bonne petite commande pour connaitre des informations sur le nombre de processeurs/coeurs ainsi que leurs fréquences sur solaris.
# /usr/platform/`/usr/bin/uname -i 2> /dev/null`/sbin/prtdiag
Ce qui retourne sur une veille machine ceci :
System Configuration: Sun Microsystems sun4u Sun Blade 2500 System clock frequency: 160 MHZ Memory size: 2GB ==================================== CPUs ==================================== E$ CPU CPU Temperature CPU Freq Size Impl. Mask Die Ambient --- -------- ---------- ------ ---- -------- -------- 0 1280 MHz 1MB US-IIIi 2.4 66 C 29 C 1 1280 MHz 1MB US-IIIi 2.4 72 C 29 C ================================= IO Devices ================================= Bus Freq Brd Type MHz Slot Name Model --- ---- ---- ---------- ---------------------------- -------------------- 0 pci 66 2 SUNW,XVR-600 (display) SUNW,375-3153 0 pci 66 3 network-pci14e4,1647.108e.16+ 0 pci 66 4 scsi-pci1000,21.1000.1000.1 + 0 pci 66 4 scsi-pci1000,21.1000.1000.1 + 0 pci 33 7 isa/serial-su16550 (serial) 0 pci 33 7 isa/serial-su16550 (serial) 0 pci 33 7 isa/dma-isadma (dma) 0 pci 33 8 sound-pci10b9,5451.10b9.5451+ 0 pci 33 8 usb-pci1033,35.1235.35.1043 + 0 pci 33 8 usb-pci1033,35.1235.35.1043 + 0 pci 33 8 usb-pci1033,e0.1235.e0.2004 + 0 pci 33 10 usb-pci10b9,5237.3 (usb) 0 pci 33 11 usb-pci10b9,5237.3 (usb) 0 pci 33 11 firewire-pci104c,8024.1235.8+ 0 pci 33 13 ide-pci10b9,5229.c4 (ide) ============================ Memory Configuration ============================ Segment Table: ----------------------------------------------------------------------- Base Address Size Interleave Factor Contains ----------------------------------------------------------------------- 0x200000000 2GB 2 BankIDs 0,1 Bank Table: ----------------------------------------------------------- Physical Location ID ControllerID GroupID Size Interleave Way ----------------------------------------------------------- 0 0 1 1GB 0,1 1 0 1 1GB Memory Module Groups: -------------------------------------------------- ControllerID GroupID Size Labels -------------------------------------------------- 0 1 2GB DIMM2,DIMM3 =============================== usb Devices =============================== Name Port# ------------ ----- mouse 2 =============================== usb Devices =============================== Name Port# ------------ ----- keyboard 2