HP-UX Containers (SRP) A.03.00 Administrator's Guide

109
Compartment Default PRM Group
_____________________________________________
EntDir EntDir
MktDB MktDB
MktWeb MktWeb
SRP2 SRP2
The prmmonitor utility displays statistics for each PRM group.
# prmmonitor
PRM configured from file: /etc/prmconf
File last modified: Tue Oct 14 12:57:58 2008
HP-UX habs B.11.31 U ia64 10/14/08
Tue Oct 14 13:03:11 2008 Sample: 1 second
CPU scheduler state: Enabled
CPU CPU CPU LCPU
PRM Group PRMID Entitle Max Used State
________________________________________________________________________
OTHERS 1 21.88% 3.06%
EntDir 2 29.17% 80% 24.10%
MktWeb 3 21.88% 45% 12.36%
SRP2 4 14.58% 25% 22.88%
MktDB 65536 12.50% 12.46%
PRM application manager state: Enabled (polling interval: 30 seconds)
18.3.4 Verifying network data
Use the netstat -in and netstat -rn commands to verify the container interface and route
entries. If the commands are executed inside a container, they list the IP interfaces, and route
configuration for the container only. If the commands are executed in the global view, the command
lists all the IP interfaces and routes configured on the system. An asterisk next to the interface name
indicates that the interface is configured, but its state is down. In the following example, the state for
lan1, lan1:1 and lo0 is up, but the state for lan1:2 is down.
# netstat -in
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan1 1500 10.0.0.0 10.0.0.1 460732 0 279522 0 0
lan1:1 1500 192.0.2.0 19.0.2.1 32890 0 51537 0 0
lan1:2* 1500 192.0.2.0 19.0.2.2 0 0 0 0 0
lo0 32808 127.0.0.0 127.0.0.1 890170 0 890178 0 0
If a container is up and has a dedicated IP interface, the netstat -rn command shows a default
route entry with the container IP address (192.0.2.1) as the gateway. For example:
# netstat -rn
Routing tables
Destination Gateway Flags Refs Interface Pmtu
:
:
default 192.0.2.1 U 0 lan1:1 1500
To identify the IP addresses associated with each container from the global view, use the srp
status v command.
18.3.5 Verifying IPFilter data
Use the following ipfstat command to view the active (loaded) inbound and outbound IPFilter
rules:
ipfstat -io