본문 바로가기

HP-UX/기술과 팁

HP-UX 시스템 Configuration 정보 보기

HP-UX 관리시 유용한 명령어입니다.

■  성능 모니터링
# glance

■ System Configuration Information
             # uname -a
             # model
             # machinfo
             # ioscan -fn
             # strings /etc/lvmtab
             # vgdisplay -v Volume-Group-Name
             # lvdisplay -v Logical-Volume-Name
             # bdf
             # swapinfo
             # sysdef      현재 실행중인 o/s kernel 을 분석하여 tunable configuration parameter를 보여줌
             # dmesg
             # lpstat -t
             # lvlnboot -v  boot, root, primary swap, dump logical volume에 대한 정보를 보여줌
             # cat /stand/system
             # cat /etc/passwd
             # netstat -rn
             # lanscan
             # kctune


■ 중요 설정 파일
/etc/hosts
/etc/passwd                         User ID 및 password가 들어 있는 파일
/etc/group                            Group ID와 Group에 속한 User ID가 들어 있음
/etc/fstab                             file system의 mount정보가 있음
/etc/PATH                            모든 사용자에게 적용되는 PATH 설정을 위한 파일.
/etc/rc.log                            시스템 부팅 시 생성되는 log 파일
/etc/resolv.conf                    Name Server(DNS, NIS)를 지정하는 파일
/etc/rc.config.d/namesvrs      DNS, NIS Server 설정 파일
/etc/rc.config.d/netconf         hostname, ip-address, routing에 대한 정보가 있는 중요한 파일
/etc/nfsconf                          NFS 설정을 위한 파일


■  MC-SG configuration files 

/etc/cmcluster/*          HA Product(MC S/G, MC L/M) 의 configuration file 및 실행 파일