developerworks/Unix

IBM AIX - 시스템 정보 명령어 모음

수상한 김토끼 2016. 9. 21. 10:21




1. 제조사  
   - 회사명 = lsattr -El sys0
   - 모델명 = prtconf (하드웨어config)
2. OS version
   - 버전 = oslevel -r
3. CPU 
   - Arch = prtconf
   - Hz   = lsattr -El proc0 (단위 Hz)
   - 개수 = lsdev -Cc processor|wc -l

4. Memory
   - 용량 = lsattr -El sys0, prtconf
5. Virtual Memory
   - 용량 = lsps -a
6. Internal Disk
   - size = bootinfo -s hdisk(숫자) (Mb단위)
   - 개수 = lsdev -Cc disk
7. External Disk (SSA)
   - size = bootinfo -s hdisk(숫자) (Mb단위)
   - 개수 = lsdev -Cc pdisk , lsdev -Ct hdisk
8. rootvg mirror(y/n)
   - not mirror = lsvg rootvg (ACTIVE PVs = 1)
   - mirror     = lsvg rootvg (ACTIVE PVs = 2)
9. NIC
   - 속도, 개수 = lsparent -Ck ent
10. 시스템에 장착된 부품들에 위치확인
   - lscfg -vp
* 일반적 정보
prtconf                      = list system configuration
lscfg [-v]                  = devices (-v = verbose for microcode levels, etc)
lscfg -v                     = devices verbose (microcode level, firmware, etc)
lsdev -Cc adapter      = adapter cards
lsdev -Cc disk           = disks
lsdev -Cc processor  = CPU s
lsattr -El sys0            = serial number, model number, memory
* AIX 관련 정보
oslevel                      = AIX OS level
instfix -i |grep ML      = AIX maintenance level
lslpp -l                      = installed SW and levels
* Disk 관련 정보
lsvg -o                      = active volume groups
lsvg -p vgname          = disk drives in VG
lsvg -l vgname           = LV s in VG
lslv lvname                = LV detail
lslv -l lvname             = LV disk location
lspv                          = disks
lspv -l hdisk#             = LV s residing on a disk

* Network 관련 정보
lsdev -Cc if               = List network interfaces
netstat -rn                 = List network gateways