サーバー‎ > ‎Solaris‎ > ‎

solaris 基本ハードウェアスペック確認方法。コマンド

 

システムの診断情報 prtdiag コマンド

システムの診断情報を表示します。

/usr/sbin/prtdiag (Solaris9以降)
/usr/platform/`uname -m`/sbin/prtdiag (Solaris8以前)

引数
-v システムの診断情報を詳細表示モードで表示します。

# /usr/sbin/prtdiag
System Configuration: Sun Microsystems  sun4u Sun Fire V215
System clock frequency: 188 MHZ
Memory size: 1GB

==================================== CPUs ====================================
               E$          CPU                    CPU     Temperature
CPU  Freq      Size        Implementation         Mask    Die   Amb.  Status      Location
---  --------  ----------  ---------------------  -----   ----  ----  ------      --------
0    1504 MHz  1MB         SUNW,UltraSPARC-IIIi     3.4     -     -    online      MB/P0

================================= IO Devices =================================
Bus     Freq  Slot +      Name +
Type    MHz   Status      Path                          Model
------  ----  ----------  ----------------------------  --------------------
pci     188   MB          pci10b9,5237.10b9.5237 (usb)
              okay        /pci@1e,600000/pci@0/pci@1/pci@0/usb@1c

pci     188   MB          pci10b9,5237.10b9.5237 (usb)
              okay        /pci@1e,600000/pci@0/pci@1/pci@0/usb@1c,1

pci     188   MB          pciclass,0c0320 (usb)
              okay        /pci@1e,600000/pci@0/pci@1/pci@0/usb@1c,3

pci     188   MB          pci10b9,5229 (ide)
              okay        /pci@1e,600000/pci@0/pci@1/pci@0/ide@1f

pci     188   MB          pci14e4,1668 (network)
              okay        /pci@1e,600000/pci@0/pci@9/pci@0/network@4

pci     188   MB          pci14e4,1668 (network)
              okay        /pci@1e,600000/pci@0/pci@9/pci@0/network@4,1

pci     188   MB          pci14e4,1668 (network)
              okay        /pci@1e,600000/pci@0/pci@a/pci@0/network@4

pci     188   MB          pci14e4,1668 (network)
              okay        /pci@1e,600000/pci@0/pci@a/pci@0/network@4,1

pci     188   MB          scsi-pci1000,50 (scsi-2)      LSI,1064
              okay        /pci@1e,600000/pci@0/pci@a/pci@0/pci@8/scsi@1


============================ Memory Configuration ============================
Segment Table:
-----------------------------------------------------------------------
Base Address       Size       Interleave Factor  Contains
-----------------------------------------------------------------------
0x200000000        1GB               1           BankIDs 0

Bank Table:
-----------------------------------------------------------
           Physical Location
ID       ControllerID  GroupID   Size       Interleave Way
-----------------------------------------------------------
0        0             1         1GB             0

Memory Module Groups:
--------------------------------------------------
ControllerID   GroupID  Labels         Status
--------------------------------------------------
0              1        MB/P0/B1/D0    okay
0              1        MB/P0/B1/D1    okay

prtdiag は、sun4u および sun4v システム上で、システム設定と診断情報を表示します。
x86かsun4u, sun4v システムかを確認する方法
/usr/bin/uname -i 
SUNW,Sun-Fire-V215 



システムの構成を出力 prtconf コマンド


システムの構成を出力します。
ハードウェアが認識されていれば、そのハードウェアは適切に稼働しています。

/usr/sbin/prtconf

引数
-v システムの構成を詳細表示モードで表示します。

# /usr/sbin/prtconf
System Configuration:  Sun Microsystems  sun4u
Memory size: 1024 Megabytes
System Peripherals (Software Nodes):

SUNW,Sun-Fire-V215
    packages (driver not attached)
        SUNW,builtin-drivers (driver not attached)
        deblocker (driver not attached)
        disk-label (driver not attached)
        terminal-emulator (driver not attached)
        dropins (driver not attached)
        kbd-translator (driver not attached)
        obp-tftp (driver not attached)
        SUNW,i2c-ram-device (driver not attached)
        SUNW,fru-device (driver not attached)
        SUNW,asr (driver not attached)
        ufs-file-system (driver not attached)
    chosen (driver not attached)
    openprom (driver not attached)
        client-services (driver not attached)
    options, instance #0
    aliases (driver not attached)
    memory (driver not attached)
    virtual-memory (driver not attached)
    SUNW,UltraSPARC-IIIi (driver not attached)
    memory-controller, instance #0
    pci, instance #0
        pci, instance #0
            pci, instance #1
                pci, instance #3
                    usb, instance #0
                    usb, instance #1
                    usb, instance #0
                    isa, instance #1
                        rtc (driver not attached)
                    ide, instance #0
                        disk (driver not attached)
                        cdrom (driver not attached)
                        sd, instance #1
            pci, instance #2
            pci, instance #4
            pci, instance #5
                pci, instance #0
                    network, instance #0
                    network, instance #1
                    pci, instance #1
            pci, instance #6
                pci, instance #1
                    network, instance #2
                    network, instance #3
                    pci, instance #0
                        scsi, instance #0
                            tape (driver not attached)
                            disk (driver not attached)
                            sd, instance #0 (driver not attached)
                            sd, instance #2
                            sd, instance #3 (driver not attached)
                            sd, instance #4 (driver not attached)
                            sd, instance #5 (driver not attached)
                            sd, instance #6 (driver not attached)
                            sd, instance #7 (driver not attached)
                            sd, instance #8 (driver not attached)
                            sd, instance #9 (driver not attached)
                            sd, instance #10 (driver not attached)
                            sd, instance #11 (driver not attached)
                            sd, instance #12 (driver not attached)
                            sd, instance #13 (driver not attached)
                            sd, instance #14 (driver not attached)
                            sd, instance #15 (driver not attached)
                            sd, instance #16 (driver not attached)
    pci, instance #1
    ebus, instance #0
        flashprom (driver not attached)
        serial, instance #0
        serial, instance #1
        rmc-comm, instance #0
        gpio, instance #0
        env-monitor (driver not attached)
        power, instance #0
    i2c, instance #0
        pdb-fru-prom (driver not attached)
        sasbp-fru-prom (driver not attached)
        power-supply-fru-prom (driver not attached)
        ioexp (driver not attached)
        gpio (driver not attached)
        motherboard-fru-prom (driver not attached)
        nvram (driver not attached)
        idprom (driver not attached)
        riser-fru-prom (driver not attached)
        riser-fru-prom (driver not attached)
        hardware-monitor (driver not attached)
        rscrtc (driver not attached)
        clock-generator (driver not attached)
        dimm-spd (driver not attached)
        dimm-spd (driver not attached)
    pseudo, instance #0
#

搭載メモリの確認方法 prtconf コマンド


# prtconf | grep Memory
Memory size: 1024 Megabytes

搭載CPU(プロセッサ)の確認方法 psrinfo コマンド

psrinfo コマンドは、マルチプロセッサシステムでのプロセッサ情報を表示します。

/usr/sbin/psrinfo

引数
-v 詳細情報モードを使用可能にします。

# psrinfo -v
仮想プロセッサ 0 の状態 (2011/08/19 13:47:39 時点)
  2011/07/07 11:02:45 以降 オンライン です。
  sparcv9 プロセッサは 1504 MHz で動作しており、
        sparcv9 浮動小数点プロセッサがあります。
#


サブページ リスト

作成日:2011/08/19
更新日:
Comments