wp subcommand

The wp subcommand prints a summary of the kernel data associated with workload partitions (WPARs).

Format

wp [-?] [-n [name_string]] [-k key] [ cid ] [ cname ]

Flags

Item Description
-? Displays a usage statement for the wp subcommand.
-n Displays all WPARs with a non-empty name assigned. When you specify a name_string, the -n flag displays all WPARs whose names contain the name_string.
-k Displays the WPAR that is associated with a given key.

Parameters

Item Description
cid Specifies the cid number that is associated with the WPAR to be displayed. This value must be a decimal number.
cname Specifies the name of the WPAR to be displayed.
key Specifies the key associated with the WPAR to be displayed. This value must be a decimal number.
name_string Specifies a string that must be contained within the WPAR name to be displayed.

If you do not specify any flags or parameters, summary information is displayed for each active WPAR in the kernel. You can display detailed WPAR information by specifying either the key or the cid parameter.

Other

No aliases.

Examples

This is an example of how to use the wp subcommand:

kdb(0)> wp -n
  CID        KEY   REFCOUNT  INITPID-->SLOT T M NAME                     
    4          8         17   270336     66 S N commo018009
    5          3         17   450720    110 S N commo018010              
kdb(0)> wp  5
id................5
key...............3
flags.............0x0001 C_CONFIG
ppin..............0xF1000700104BF83C
rcnt..............0017
opts..............0x0004 COPT_WLM_MANAGED
class_index.......0320
hostid............0000WPAR
 name.........commo018010
host name.........commo018010
domain name.......
root dir path...../wpars/commo018010
pid...............450720
chkpnt_lock.......0x0
chkpnt_trb........0x0
chkpnt_wait.......0x0
tobe_chkpnted.....0000
cant_chkpnt.......0000