Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Installing and Managing HP-UX Virtual Partitions (vPars) > Chapter 5 Monitor and Shell Commands

Obtaining Monitor and Hardware Resource Information

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The monitor and the partition database that is has loaded maintains information about the virtual partitions. Using vparstatus, you can obtain this information, which includes the current state of the virtual partitions and their resources. See the manpage vparstatus(1M).

Table 5-1 Virtual Partition States

StateDescription

load

The monitor is loading the kernel image of the virtual partition. This is the first step of booting a virtual partition. If successful, the state moves to boot.

bootThe monitor has successfully loaded the kernel image and is continuing with the boot process. If the launch is successful, the state moves to up.
upThe virtual partition is up and running.
shutThe virtual partition is shutting down gracefully. Once the partition is shutdown, the state moves to down.
downThe virtual partition is down.
crashThe virtual partition is crashing because of a panic (HPMC, TOC, etc.). Once the partition has completed crashing, the state moves to down.
hungThe virtual partition is not responding.

 

Examples

  • To see summary information on all the virtual partitions:

    winona1# vparstatus
    [Virtual Partition]
    Boot
    Virtual Partition Name State Attributes Kernel Path Opts
    ============================== ===== ========== ========================= =====
    winona1 Up Dyn,Auto /stand/vmunix
    winona2 Up Dyn,Auto /stand/vmunix
    winona3 Up Dyn,Auto /stand/vmunix

    [Virtual Partition Resource Summary]
    CPU Num Memory (MB)
    CPU Bound/ IO # Ranges/
    Virtual Partition Name Min/Max Unbound devs Total MB Total MB
    ============================== ================ ==== ====================
    winona1 2/ 8 2 0 2 0/ 0 640
    winona2 2/ 8 2 1 2 0/ 0 1280
    winona3 1/ 8 1 0 2 0/ 0 1280
  • To see the current state of winona2:

    winona1# vparstatus -p winona2 -v | grep -E "Name|State"
    Name: winona2
    State: Up
  • To see detailed information on winona2:

    winona1# vparstatus -p winona2 -v

    [Virtual Partition Details]
    Name: winona2
    State: Up
    Attributes: Dynamic,Autoboot
    Kernel Path: /stand/vmunix
    Boot Opts:

    [CPU Details]
    Min/Max: 1/8
    Bound by User [Path]: 41
    45
    Bound by Monitor [Path]:
    Unbound [Path]: 97

    [IO Details]
    0.8.0.0.5.0 BOOT
    0.8
    1.10

    [Memory Details]
    Specified [Base /Range]:
    (bytes) (MB)
    Total Memory (MB): 1280
  • To see the available resources (resources not assigned to any virtual partition):

    winona1# vparstatus -A
    [Unbound CPUs (path)]: 101
    109
    [Available CPUs]: 2

    [Available I/O devices (path)]: 1.2

    [Unbound memory (Base /Range)]: 0x40000000/256
    (bytes) (MB)
    [Available memory (MB)]: 256
  • On a nPartition-able system, if the nPartition has a pending RFR, the vparstatus output also shows the following message:

    Note: A profile change 	is pending.  The hard partition 	must be	 rebooted to complete it.

    For example:

    winona1# vparstatus
    [Virtual Partition]
    Boot
    Virtual Partition Name State Attributes Kernel Path Opts
    ============================== ===== ========== ========================= =====
    winona1 Up Dyn,Auto /stand/vmunix
    winona2 Down Dyn,Manl /stand/vmunix boot

    [Virtual Partition Resource Summary]
    CPU Num Memory (MB)
    CPU Bound/ IO # Ranges/
    Virtual Partition Name Min/Max Unbound devs Total MB Total MB
    ============================== ================ ==== ====================
    winona1 2/ 8 2 0 7 0/ 0 2048
    winona2 2/ 12 2 2 3 0/ 0 2048

    Note: A profile change is pending. The hard partition must be rebooted to comp
    lete it.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2002 Hewlett-Packard Development Company, L.P.