Hp-ux cluster, Memory note, hp-ux note
----- View hp Cluster status information
# Cmviewcl-v
CLUSTER STATUS
Dbsvr up
NODE STATUS STATE
Db01 up running
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/Dev/vglock/dev/dsk/c6t0d1 up
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/0/6/1/0 lan3
PRIMARY up 0/0/12/1/0 lan4
STANDBY up 0/0/14/1/0 lan5
Package status state AUTO_RUN NODE
Pkg1 up running enabled db01
Policy_Parameters:
Yy_name CONFIGURED_VALUE
Failover configured_node
Failback manual
Script_Parameters:
Item status MAX_RESTARTS RESTARTS NAME
Service unknown 0 0 dbservice
Subnet up 10.100.1.0
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled db01 (current)
Alternate up enabled db02
NODE STATUS STATE
Db02 up running
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/Dev/vglock/dev/dsk/c6t0d1 up
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/0/6/1/0 lan3
PRIMARY up 0/0/12/1/0 lan4
STANDBY up 0/0/14/1/0 lan5
#
------ Stop package
Cmhaltpkg pkg1
----- Mount the package to another node:
Cmrunpkg pkg1-n db01
------ How to view the memory size in hpux:
#/Opt/ignite/binpa/print_manifest | grep Memory
NOTE: cocould not read the/etc/resolv. conf file.
Main Memory: 1024 MB
#/Opt/ignite/binpa/print_manifest | grep Memory | awk '{print $3 }'
NOTE: cocould not read the/etc/resolv. conf file.
1024
#
Machinfo for anteng host
Machinfo | grep Memory
# Echo "selall; info; wait; infolog; view; done" |/usr/sbin/cstm | grep "Total Configured Memory"
Total Configured Memory: 1024 MB
#
# Echo 'dmesg | grep Physical | awk' {print $2} ''/1024 | bc
How does hp-ux obtain the total memory?
To view the memory usage information. That is, the ratio of the host memory usage to the total memory. Let's take a look. Thank you !~ How to view memory usage in hp-ux
How does hp-ux view idle memory?
Vmstat or download the glance tool for the HP-UX.