'명령어'에 해당되는 글 1건

  1. 2007/10/12 솔라리스 시스템 명령 참고


#cpu 정보 확인 방법
리눅스 : cat /proc/cpuinfo|grep processor|wc -l
솔라리스 : psrinfo -v|grep "Status of processor"|wc -l
IBM-AIX : lsdev -C|grep Process|wc –l
HP/UX : ioscan -C processor | grep processor | wc -l

#cpu idle상태 및 메모리 사용 확인
vmstat 1 : 계속 체크하겠다.
sar 1 10000 : 1초간격 10000번 체크하겠다.

# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
      0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
         /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w210000203739c086,0
      1. c0t1d0 <drive type unknown>
         /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w210000203739051b,0
      2. c0t2d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248>
         /sbus@2,0/SUNW,socal@d,10000/sf@0,0/ssd@w2100002037391ceb,0

-----------------------------------------------------------------------

# uname -a


SunOS library 5.7 Generic_106541-16 sun4u sparc SUNW,Ultra-Enterprise


# df -k


파일시스템           K바이트    사용    가용   용량    설치지점
/proc                      0       0       0     0%    /proc
/dev/dsk/c0t0d0s0    8140465 4607087 3451974    58%    /
fd                         0       0       0     0%    /dev/fd
/dev/dsk/c0t0d0s6    3602618 2534046 1032546    72%    /user1
/dev/dsk/c0t0d0s7    3602618 2998867  567725    85%    /user2
swap                 2157096     424 2156672     1%    /tmp

--------------------------------------------------------------------------


# prtdiag


시스템 구성:  선 마이크로시스템즈  sun4u 5-slot Sun Enterprise E3500
시스템 시계 주파수: 100 MHz
메모리 크기: 1024Mb

========================= CPUs =========================

                   Run   Ecache   CPU    CPU
Brd  CPU   Module   MHz     MB    Impl.   Mask
---  ---  -------  -----  ------  ------  ----
3     6     0      400     8.0   US-II    10.0
3     7     1      400     8.0   US-II    10.0


========================= Memory =========================

                                             Intrlv.  Intrlv.
Brd   Bank   MB    Status   Condition  Speed   Factor   With
---  -----  ----  -------  ----------  -----  -------  -------
3     0    1024   Active      OK       60ns    1-way

========================= IO 카드 =========================

    Bus   Freq
Brd  Type  MHz   Slot  Name                              Model
---  ----  ----  ----  --------------------------------  ----------------------
1   SBus   25     1   cgsix                             SUNW,501-2253       
1   SBus   25     2   network                           SUNW,sbus-gem       
1   SBus   25     3   SUNW,hme                                              
1   SBus   25     3   SUNW,fas/sd (block)                                   
1   SBus   25    13   SUNW,socal/sf (scsi-3)            501-3060            

시스템에 실패된 것 없음
===========================

No System Faults found
======================



# dmesg
2005년 7월 21일 목요일 오후 02시 58분 34초
Jun 25 14:37:02 library unix: sbus1 at root: UPA 0x3 0x0 ...
Jun 25 14:37:02 library unix: sbus1 is /sbus@3,0
Jun 25 14:37:02 library unix: ID[SUNWssa.socal.driver.1010] socal0: Downloading host adapter, fw date code: @(#)Thu May  4 18:52:02 2000
Jun 25 14:37:02 library unix: socal0 at sbus0: SBus0 slot 0xd offset 0x10000 Onboard device sparc9 ipl 3
Jun 25 14:37:02 library unix: socal0 is /sbus@2,0/SUNW,socal@d,10000
Jun 25 14:37:02 library unix: sf0 at socal0: socal_port 0
Jun 25 14:37:02 library unix: sf0 is /sbus@2,0/SUNW,socal@d,10000/sf@0,0
Jun 25 14:37:03 library unix: sf1 at socal0: socal_port 1
Jun 25 14:37:03 library unix: sf1 is /sbus@2,0/SUNW,socal@d,10000/sf@1,0


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

SUNW,Ultra-Enterprise
   packages (driver not attached)
       terminal-emulator (driver not attached)
       deblocker (driver not attached)
       obp-tftp (driver not attached)
       disk-label (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)
   central, instance #0
       fhc, instance #2
           eeprom (driver not attached)
           zs, instance #0
           zs, instance #1
           clock-board, instance #0
   fhc, instance #0
       ac, instance #0
       simm-status, instance #0
       environment, instance #0
       sram, instance #0
       flashprom (driver not attached)
   SUNW,UltraSPARC-II (driver not attached)
   SUNW,UltraSPARC-II (driver not attached)
   sbus, instance #0
       SUNW,socal, instance #0
           sf (driver not attached)
               ssd (driver not attached)
           sf (driver not attached)
               ssd (driver not attached)
           sf, instance #0
               ssd, instance #0
               ssd, instance #1
               ssd, instance #2
           sf, instance #1
       cgsix, instance #0
       network (driver not attached)
   fhc, instance #1
       ac, instance #1
       environment, instance #1
       flashprom (driver not attached)
       eeprom (driver not attached)
       sbus-speed (driver not attached)
   counter-timer (driver not attached)
   sbus, instance #1
       SUNW,hme, instance #0
       SUNW,fas, instance #0
           sd (driver not attached)
           st (driver not attached)
           sd, instance #0 (driver not attached)
           sd, instance #1 (driver not attached)
           sd, instance #2 (driver not attached)
           sd, instance #3 (driver not attached)
           sd, instance #4 (driver not attached)
           sd, instance #5 (driver not attached)
           sd, instance #6
           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)
           st, instance #0 (driver not attached)
           st, instance #1 (driver not attached)
           st, instance #2 (driver not attached)
           st, instance #3 (driver not attached)
           st, instance #4 (driver not attached)
           st, instance #5
           st, instance #6 (driver not attached)
   counter-timer (driver not attached)
   pseudo, instance #0