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 partitions and their resources. See the manpage vparstatus(1M).

Table 5-1 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 partition is up and running.
shutThe partition is shutting down gracefully. Once the partition is shutdown, the state moves to down.
downThe partition is down.
crashThe partition is crashing because of a panic (HPMC, TOC, etc.). Once the partition has completed crashing, the state moves to down.
hungThe partition is not responding.

 

Examples

  • To see summary information on all the 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 1/ 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 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
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001 Hewlett-Packard Development Company, L.P.