Oracle® Solaris 11.2의 시스템 정보, 프로세스, 성능 관리

인쇄 보기 종료

업데이트 날짜: 2014년 9월
 
 

시스템 정보를 표시하는 데 사용되는 명령

표 1-1  시스템 정보 표시 명령
명령
표시되는 시스템 정보
매뉴얼 페이지
date
날짜와 시간
hostid
호스트 ID 번호
isainfo
실행 중인 시스템에서 고유 응용 프로그램이 지원하며 스크립트에 토큰으로 전달될 수 있는 비트 수
isalist
프로세서 유형
prtconf
시스템 구성 정보, 설치된 메모리, 장치 등록 정보 및 제품 이름
prtdiag
결함이 발생한 FRU(현장 대체 가능 장치)를 포함한 시스템 구성 및 진단 정보
psrinfo
프로세서 정보
uname
운영 체제 이름, 릴리스, 버전, 노드 이름, 하드웨어 이름 및 프로세서 유형

시스템 릴리스 정보 표시

/etc/release 파일의 컨텐츠를 표시하여 릴리스 버전을 식별합니다.

$ cat /etc/release

날짜 및 시간 표시

시스템 클럭에 따라 현재 날짜 및 시간을 표시하려면 date 명령을 사용합니다.

다음 예는 date 명령의 샘플 출력을 보여줍니다.

$ date
Fri Jun  1 16:07:44 MDT 2012
$

시스템의 호스트 ID 번호 표시

호스트 ID 번호를 숫자(16진수) 형식으로 표시하려면 hostid 명령을 사용합니다.

다음 예에서는 hostid 명령의 샘플 출력을 보여줍니다.

$ hostid
80a5d34c

시스템의 구조 유형 표시

isainfo 명령을 사용하여 현재 운영 체제에서 지원되는 응용 프로그램에 대한 고유 명령 세트의 아키텍처 유형 및 이름을 표시합니다.

다음은 x86 기반 시스템의 샘플 출력입니다.

$ isainfo
amd64 i386

다음은 SPARC 기반 시스템의 샘플 출력입니다.

$ isainfo
sparcv9 sparc

isainfo –v 명령은 32비트 및 64비트 응용 프로그램 지원을 표시합니다. 예를 들어 다음은 SPARC 기반 시스템의 샘플 출력입니다.

$ isainfo -v
64-bit sparcv9 applications
        asi_blk_init
32-bit sparc applications
        asi_blk_init v8plus div32 mul32
#

다음 예는 x86 기반 시스템에서 isainfo –v 명령의 출력을 보여줍니다.

$ isainfo -v
64-bit amd64 applications
        sse4.1 ssse3 ahf cx16 sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu
32-bit i386 applications
        sse4.1 ssse3 ahf cx16 sse3 sse2 sse fxsr mmx cmov sep cx8 tsc fpu

isainfo(1) 매뉴얼 페이지를 참조하십시오.

자세한 내용은 isainfo (1) 매뉴얼 페이지를 참조하십시오.

시스템의 프로세서 유형 표시

isalist 명령을 사용하여 시스템의 프로세서 유형에 대한 정보를 표시합니다.

The following sample output is from an x86 based system:
$ isalist
pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86

다음은 SPARC 기반 시스템의 샘플 출력입니다.

$ isalist
sparcv9 sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc sparcv9+vis sparcv9+vis2 \
sparcv8plus+vis sparcv8plus+vis2

isalist(1) 매뉴얼 페이지를 참조하십시오.

시스템의 제품 이름 표시

시스템의 제품 이름을 표시하려면 –b 옵션과 함께 prtconf 명령을 사용합니다.

$ prtconf -b

자세한 내용은 prtconf(1M) 매뉴얼 페이지를 참조하십시오.

다음 예는 SPARC 기반 시스템에서 prtconf –b 명령의 샘플 출력을 보여줍니다.

$ prtconf -b
name:  ORCL,SPARC-T4-2
banner-name:  SPARC T4-2
compatible: 'sun4v'
$

다음 예는 SPARC 기반 시스템에서 prtconf –vb 명령의 샘플 출력을 보여줍니다. 추가된 –v 옵션은 자세한 출력을 지정합니다.

$ prtconf -vb
name:  ORCL,SPARC-T3-4
banner-name:  SPARC T3-4
compatible: 'sun4v'
idprom: 01840014.4fa02d28.00000000.a02d28de.00000000.00000000.00000000.00000000
openprom model:  SUNW,4.33.0.b
openprom version: 'OBP 4.33.0.b 2011/05/16 16:26'

시스템에 설치된 메모리 표시

시스템에 설치된 메모리를 표시하려면 prtconf 명령과 grep Memory를 함께 사용합니다. 다음 예는 grep Memory 명령이 메모리 정보만 표시하기 위해 prtconf 명령의 출력을 선택하는 샘플 출력을 보여줍니다.

$ prtconf | grep Memory
Memory size: 523776 Megabytes 

장치에 대한 기본 및 사용자 정의된 등록 정보 값 표시

장치에 대한 기본 및 사용자 정의된 등록 정보 값을 모두 표시하고 prtconf 명령을 –u 옵션과 함께 사용할 수 있습니다.

$ prtconf -u

prtconf –u 명령 출력에는 시스템에 있는 모든 드라이버에 대한 기본 및 사용자 정의된 등록 정보가 표시됩니다.

이 옵션에 대한 자세한 내용은 prtconf(1M) 매뉴얼 페이지를 참조하십시오.

예 1-1  SPARC: 기본 및 사용자 정의 장치 등록 정보 표시

이 예는 bge.conf 파일에 대한 기본 및 사용자 정의 등록 정보를 보여줍니다. 공급업체에서 제공하는 구성 파일은 /kernel/platform 디렉토리에 있고 수정된 해당 드라이버 구성 파일은 /etc/driver/drv 디렉토리에 있습니다.

$ prtconf -u
System Configuration:  Oracle Corporation  sun4v
Memory size: 523776 Megabytes
System Peripherals (Software Nodes):

ORCL,SPARC-T3-4
    scsi_vhci, instance #0
        disk, instance #4
        disk, instance #5
        disk, instance #6
        disk, instance #8
        disk, instance #9
        disk, instance #10
        disk, instance #11
        disk, instance #12
    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)
        SUNW,asr (driver not attached)
        kbd-translator (driver not attached)
        obp-tftp (driver not attached)
        zfs-file-system (driver not attached)
        hsfs-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)
    iscsi-hba (driver not attached)
        disk, instance #0 (driver not attached)
    virtual-devices, instance #0
        flashprom (driver not attached)
        tpm, instance #0 (driver not attached)
        n2cp, instance #0
        ncp, instance #0
        random-number-generator, instance #0
        console, instance #0
        channel-devices, instance #0
            virtual-channel, instance #0
            virtual-channel, instance #1
            virtual-channel-client, instance #2
            virtual-channel-client, instance #3
            virtual-domain-service, instance #0
    cpu (driver not attached)
    cpu (driver not attached)
    cpu (driver not attached)
    cpu (driver not attached)
    cpu (driver not attached)
    cpu (driver not attached)
    cpu (driver not attached) 
예 1-2  x86: 기본 및 사용자 정의 장치 등록 정보 표시

이 예는 bge.conf 파일에 대한 기본 및 사용자 정의 등록 정보를 보여줍니다. 공급업체에서 제공하는 구성 파일은 /kernel/platform 디렉토리에 있고 수정된 해당 드라이버 구성 파일은 /etc/driver/drv 디렉토리에 있습니다.

$ prtconf -u
System Configuration:  Oracle Corporation  i86pc
Memory size: 8192 Megabytes
System Peripherals (Software Nodes):

i86pc
    scsi_vhci, instance #0
    pci, instance #0
        pci10de,5e (driver not attached)
        isa, instance #0
            asy, instance #0
            motherboard (driver not attached)
            pit_beep, instance #0
        pci10de,cb84 (driver not attached)
        pci108e,cb84, instance #0
            device, instance #0
                keyboard, instance #0
                mouse, instance #1
        pci108e,cb84, instance #0
        pci-ide, instance #0
            ide, instance #0
                sd, instance #0
            ide (driver not attached)
        pci10de,5c, instance #0
            display, instance #0
        pci10de,cb84, instance #0
        pci10de,5d (driver not attached)
        pci10de,5d (driver not attached)
        pci10de,5d (driver not attached)
        pci10de,5d (driver not attached)
        pci1022,1100, instance #0
        pci1022,1101, instance #1
        pci1022,1102, instance #2
        pci1022,1103 (driver not attached)
        pci1022,1100, instance #3
        pci1022,1101, instance #4
        pci1022,1102, instance #5
        pci1022,1103 (driver not attached)
    pci, instance #1
        pci10de,5e (driver not attached)
        pci10de,cb84 (driver not attached)
        pci10de,cb84, instance #1
        pci10de,5d (driver not attached)
        pci10de,5d (driver not attached)
        pci10de,5d (driver not attached)
        pci10de,5d (driver not attached)
        pci1022,7458, instance #1
        pci1022,7459 (driver not attached)
        pci1022,7458, instance #2
            pci8086,1011, instance #0
            pci8086,1011, instance #1
            pci1000,3060, instance #0
                sd, instance #1
                sd, instance #2
        pci1022,7459 (driver not attached)
    ioapics (driver not attached)
        ioapic, instance #0 (driver not attached)
        ioapic, instance #1 (driver not attached)
    fw, instance #0
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        cpu (driver not attached)
        sb, instance #1
    used-resources (driver not attached)
    iscsi, instance #0
    fcoe, instance #0
    pseudo, instance #0
    options, instance #0
    xsvc, instance #0
    vga_arbiter, instance #0
예 1-3  x86: 시스템 구성 정보 표시

다음 예에서는 x86 기반 시스템에서 prtconf 명령과 –v 옵션을 사용하여 시스템에 연결된 디스크, 테이프 및 DVD 장치를 식별하는 방법을 보여줍니다. 이 명령의 출력은 장치 인스턴스 옆에 "드라이버가 연결되지 않음" 메시지를 표시합니다.

$ prtconf -v | more
System Configuration:  Oracle Corporation  i86pc
Memory size: 8192 Megabytes
System Peripherals (Software Nodes):

i86pc
    System properties:
        name='#size-cells' type=int items=1
            value=00000002
        name='#address-cells' type=int items=1
            value=00000003
        name='relative-addressing' type=int items=1
            value=00000001
        name='MMU_PAGEOFFSET' type=int items=1
            value=00000fff
        name='MMU_PAGESIZE' type=int items=1
            value=00001000
        name='PAGESIZE' type=int items=1
            value=00001000
        name='acpi-status' type=int items=1
            value=00000013
        name='biosdev-0x81' type=byte items=588
            value=01.38.74.0e.08.1e.db.e4.fe.00.d0.ed.fe.f8.6b.04.08.d3.db.e4.fe
.
.
.

자세한 내용은 driver(4), driver.conf(4), prtconf(1M) 매뉴얼 페이지를 참조하십시오.

관리용으로 추가된 구성 파일을 만드는 방법에 대한 자세한 내용은 Oracle Solaris 11.2의 장치 관리 의 1 장, Oracle Solaris에서 장치 관리를 참조하십시오.

시스템 진단 정보 표시

prtdiag 명령을 사용하여 시스템에 대한 구성 및 진단 정보를 표시합니다.

$ prtdiag [-v] [-l]
–v

상세 정보 표시 모드입니다.

–l

로그 출력입니다. 결함 또는 오류가 시스템에 존재하는 경우 이 정보를 syslogd (1M)에만 출력합니다.

예 1-4  SPARC: 시스템 진단 정보 표시

다음 예에서는 SPARC 기반 시스템의 prtdiag – v 명령에 대한 출력을 보여줍니다. 이 예제는 간략하게 보이기 위해 내용이 잘려있습니다.

$ prtdiag -v | more
System Configuration:  Oracle Corporation  sun4v Sun Fire T200
Memory size: 16256 Megabytes

================================ Virtual CPUs ================================


CPU ID Frequency Implementation         Status
------ --------- ---------------------- -------
0      1200 MHz  SUNW,UltraSPARC-T1     on-line
1      1200 MHz  SUNW,UltraSPARC-T1     on-line
2      1200 MHz  SUNW,UltraSPARC-T1     on-line
3      1200 MHz  SUNW,UltraSPARC-T1     on-line
4      1200 MHz  SUNW,UltraSPARC-T1     on-line
5      1200 MHz  SUNW,UltraSPARC-T1     on-line
6      1200 MHz  SUNW,UltraSPARC-T1     on-line
.
.
.
======================= Physical Memory Configuration ========================
Segment Table:
--------------------------------------------------------------
Base           Segment  Interleave  Bank     Contains
Address        Size     Factor      Size     Modules
--------------------------------------------------------------
0x0            16 GB    4           2 GB     MB/CMP0/CH0/R0/D0
                                             MB/CMP0/CH0/R0/D1
                                    2 GB     MB/CMP0/CH0/R1/D0
                                             MB/CMP0/CH0/R1/D1
                                    2 GB     MB/CMP0/CH1/R0/D0
                                             MB/CMP0/CH1/R0/D1
                                    2 GB     MB/CMP0/CH1/R1/D0
.
.
System PROM revisions:
----------------------
OBP 4.30.4.d 2011/07/06 14:29

IO ASIC revisions:
------------------
Location             Path                                   Device
                  Revision
-------------------- ------------------
IOBD/IO-BRIDGE                                     /pci@780      SUNW,sun4v-pci     0
.
.
.
예 1-5  x86: 시스템 진단 정보 표시

다음 예에서는 x86 기반 시스템의 prtdiag –l 명령에 대한 출력을 보여줍니다.

$ prtdiag -l
System Configuration: ... Sun Fire X4100 M2
BIOS Configuration: American Megatrends Inc. 0ABJX104 04/09/2009
BMC Configuration: IPMI 1.5 (KCS: Keyboard Controller Style)

==== Processor Sockets ====================================

Version                          Location Tag
-------------------------------- --------------------------
Dual-Core AMD Opteron(tm) Processor 2220 CPU 1
Dual-Core AMD Opteron(tm) Processor 2220 CPU 2

==== Memory Device Sockets ================================

Type        Status Set Device Locator      Bank Locator
----------- ------ --- ------------------- ----------------
unknown     empty  0   DIMM0                NODE0
unknown     empty  0   DIMM1                NODE0
DDR2        in use 0   DIMM2                NODE0
DDR2        in use 0   DIMM3                NODE0
unknown     empty  0   DIMM0                NODE1
unknown     empty  0   DIMM1                NODE1
DDR2        in use 0   DIMM2                NODE1
DDR2        in use 0   DIMM3                NODE1

==== On-Board Devices =====================================
 LSI serial-SCSI #1
 Gigabit Ethernet #1
 ATI Rage XL VGA

==== Upgradeable Slots ====================================

ID  Status    Type             Description
--- --------- ---------------- ----------------------------
1   available PCI Express      PCIExp SLOT0
2   available PCI Express      PCIExp SLOT1
3   available PCI-X            PCIX SLOT2
4   available PCI Express      PCIExp SLOT3
5   available PCI Express      PCIExp SLOT4
$