본문 바로가기
HP-UX

[HP-UX] HP 시스템 현황 보기

by 레이루이 2008. 4. 30.
반응형

1. disk

#ioscan -funCdisk

#diskinfo /dev/rdsk/c0t0d0

(부팅 디스크 확인 : #setboot

 주요 디스크 확인 : #lvlnboot -v )


2. memory

 1)
 - HPUX 에서의 정확한 메모리 값을 보실려면 glance를 통해서 보시는 것이 제일 정확합니다.
 - top 으로 확인
 2) 공유 메모리 확인
 # ipcs -ma 
 

3. network

#lanscan

#ifconfig lan0


4. kernel

#kmtune


5. s/w

#swlist | grep -i

*/var/adm/sw/products


=============================================
 

● model확인

# model
9000/800/rp4440


● 시스템 정보 확인

# uname -a
HP-UX ossun01 B.11.11 U 9000/800 3974480801 unlimited-user license


● 64bit process인지 확인
/bin/getconf KERNEL_BITS


● memory check
/usr/sbin/dmesg | grep "Physical:"


● swap space check
/usr/sbin/swapinfo -a


● 설치 소프트웨어
/usr/sbin/swlist

● patch list 확인
/usr/sbin/swlist -l patch | more

● patch list 확인
/usr/sbin/swlist -p product | more


● HP messages 확인

SUN server에서의 messages file은

hp server에서 /var/adm/syslog/syslog.log file과 같습니다.


● HP에서 oracle install시 CDROM mount하는 방법


1. osiris01:/>mount -o cdcase /dev/dsk/c0t0d0 /cdrom

2. osiris01:/>pfs_mount -o xlat=unix /dev/dsk/c0t0d0 /cdrom

-> 안됨


현재 mount 되어 있는 것을 umount 시키시기 바랍니다.


다음과 같이 데몬을 두개 실행시켜야 합니다.


(ps -ef 명령으로 이미 실행이 되고 있는지 확인하세요)

$ nohup /usr/sbin/pfs_mountd &
$ nohup /usr/sbin/pfsd &


그런 다음, 디바이스 명을 확인하시고,
( ioscan -fun -C disk 와 같은 명령으로 확인,CDROM ex) /dev/rdsk/c0t0s0 )


$ pfs_mount -o xlat=unix /dev/rdsk/c0t0s0 /cdrom

위와 같이 마운트가 되면, /cdrom 밑에 runInstaller 라는 파일이 보일 것입니다.

감사합니다.


● HP에서 Network확인

[서버명@root:/]lanadmin


          LOCAL AREA NETWORK ONLINE ADMINISTRATION, Version 1.0
                       Wed, Dec 28,2005  16:53:10

               Copyright 1994 Hewlett Packard Company.
                       All rights are reserved.

Test Selection mode.

        lan      = LAN Interface Administration
        menu     = Display this menu
        quit     = Terminate the Administration
        terse    = Do not display command menu
        verbose  = Display command menu

Enter command: lan

LAN Interface test mode. LAN Interface PPA Number = 0

        clear    = Clear statistics registers
        display  = Display LAN Interface status and statistics registers
        end      = End LAN Interface Administration, return to Test Selection
        menu     = Display this menu
        ppa      = PPA Number of the LAN Interface
        quit     = Terminate the Administration, return to shell
        reset    = Reset LAN Interface to execute its selftest
        specific = Go to Driver specific menu

Enter command: dis

                      LAN INTERFACE STATUS DISPLAY
                       Wed, Dec 28,2005  16:53:17

PPA Number                      = 0
Description                     = lan0 HP PCI 1000Base-T Release B.11.11.21
Type (value)                    = ethernet-csmacd(6)
MTU Size                        = 1500
Speed                           = 100000000
Station Address                 = 0x306ef44d58
Administration Status (value)   = up(1)
Operation Status (value)        = up(1)
Last Change                     = 5995
Inbound Octets                  = 779552770
Inbound Unicast Packets         = 3356797504
Inbound Non-Unicast Packets     = 1784760
Inbound Discards                = 0
Inbound Errors                  = 0
Inbound Unknown Protocols       = 242815
Outbound Octets                 = 1851065875
Outbound Unicast Packets        = 834133282
Outbound Non-Unicast Packets    = 11745
Outbound Discards               = 877
Outbound Errors                 = 0
Outbound Queue Length           = 0
Specific                        = 655367

Press <Return> to continueq


Ethernet-like Statistics Group

Index                           = 1
Alignment Errors                = 0
FCS Errors                      = 0
Single Collision Frames         = 0
Multiple Collision Frames       = 0
Deferred Transmissions          = 0
Late Collisions                 = 0
Excessive Collisions            = 0
Internal MAC Transmit Errors    = 0
Carrier Sense Errors            = 0
Frames Too Long                 = 0
Internal MAC Receive Errors     = 0


LAN Interface test mode. LAN Interface PPA Number = 0

        clear    = Clear statistics registers
        display  = Display LAN Interface status and statistics registers
        end      = End LAN Interface Administration, return to Test Selection
        menu     = Display this menu
        ppa      = PPA Number of the LAN Interface
        quit     = Terminate the Administration, return to shell
        reset    = Reset LAN Interface to execute its selftest
        specific = Go to Driver specific menu

Enter command: q

반응형