05.08.2013 Views

Solaris Application Programming, 1/e - Chapter 4 - Parent Directory

Solaris Application Programming, 1/e - Chapter 4 - Parent Directory

Solaris Application Programming, 1/e - Chapter 4 - Parent Directory

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

50 <strong>Chapter</strong> 4 Informational Tools<br />

because it can be a source of useful information about the setup of the machine. It<br />

is located in /usr/sbin. The tool is often the first place to look for information on<br />

the processors and memory that are installed in the system, as well as general system<br />

configuration.<br />

Output from prtdiag on a two-CPU UltraSPARC IIICu system is shown in<br />

Example 4.1. The output identifies the processors and the system clock speed,<br />

together with the amount of memory installed and in which memory slots it is<br />

installed. The output refers to the UltraSPARC IIICu processor as the UltraS-<br />

PARC III+, and further abbreviates this to US-3+.<br />

Example 4.1 Sample Output from prtdiag<br />

$ /usr/sbin/prtdiag<br />

System Configuration: Sun Microsystems sun4u SUNW,Sun-Blade-1000 (2xUltraSPARC III+)<br />

System clock frequency: 150 MHZ<br />

Memory size: 2GB<br />

============================== CPUs ===================================<br />

E$ CPU CPU Temperature<br />

CPU Freq Size Impl. Mask Die Ambient<br />

--- -------- ---------- ------ ---- -------- --------<br />

0 900 MHz 8MB US-III+ 2.2 75 C 25 C<br />

1 900 MHz 8MB US-III+ 2.2 75 C 24 C<br />

=============================== IO Devices ============================<br />

Bus Freq<br />

Brd Type MHz Slot Name Model<br />

--- ---- ---- ---- -------------------------------- --------------<br />

0 pci 33 1 SUNW,m64B (display) SUNW,370-4362<br />

0 pci 66 4 SUNW,qlc-pci1077,2200.5 (scsi-fc+<br />

0 pci 33 5 ebus/parallel-ns87317-ecpp (para+<br />

0 pci 33 5 ebus/serial-sab82532 (serial)<br />

0 pci 33 5 network-pci108e,1101.1 (network) SUNW,pci-eri<br />

0 pci 33 5 firewire-pci108e,1102.1001 (fire+<br />

0 pci 33 6 scsi-pci1000,f.37 (scsi-2)<br />

0 pci 33 6 scsi-pci1000,f.37 (scsi-2)<br />

======================= Memory Configuration ==========================<br />

Segment Table:<br />

-----------------------------------------------------------------------<br />

Base Address Size Interleave Factor Contains<br />

-----------------------------------------------------------------------<br />

0x0 2GB 4 BankIDs 0,1,2,3<br />

Bank Table:<br />

-----------------------------------------------------------<br />

Physical Location<br />

ID ControllerID GroupID Size Interleave Way<br />

-----------------------------------------------------------<br />

0 0 0 512MB 0<br />

1 0 1 512MB 1<br />

2 0 0 512MB 2<br />

3 0 1 512MB 3<br />

Memory Module Groups:<br />

--------------------------------------------------<br />

ControllerID GroupID Labels<br />

--------------------------------------------------<br />

0 0 J0100,J0202,J0304,J0406<br />

0 1 J0101,J0203,J0305,J0407

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!