Modified and enhanced AIX commands for WPARs

Some commands have different or enhanced behavior in a WPAR environment.

The following table shows how the behavior of some commands differs when they are run in a WPAR or run in the global environment. Some commands have different behavior only when certain flags are specified.
Note: For versioned WPARs, the -@ flag is not recognized, because it is not present in the previous run time. Some commands in a versioned WPAR have added WPAR support, and in those cases, the behavior related to the -@ flag is described in the following table.
Table 1. Modified and enhanced AIX commands
Command Flags and arguments Behavior in a WPAR Behavior in the global environment
acctcom - @ WPAR name Not allowed in WPAR. Executes normally displaying accounting records for WPAR named WPAR name.
-@ no argument Fails with cannot open /var/adm/pacct message Executes normally displaying accounting records for all WPARs; a WPAR name is displayed for each record
No -@ flag Executes normally displaying accounting records for the WPAR Executes normally displaying all accounting records.
accton No -@ flag Enables process accounting within the WPAR. Enables process accounting within the global environment only.
-@ Not allowed in a WPAR. Enables process accounting for both WPAR and global processes.
audit - @ WPAR name Fails with workload partition not found message unless WPAR name is "Global". Applies auditing command to WPAR named WPAR name.
clogin -C wpar name command Not allowed in a WPAR Prompts for password and runs command in the WPAR or login if no command is specified
df   Displays information about WPAR mounted file systems only; paths are displayed relative to the WPAR root Displays information about all file systems; paths are absolute
domainname No flags Displays domain name of WPAR Displays domain name of system
new domain name Sets domain name of WPAR if run by WPAR root Sets the domain name of system if run by global root
hostid No flags Displays host ID of WPAR Displays host ID of system
IP address | hex number Sets host ID of WPAR if run by WPAR root Sets host ID of system if run by global root
hostname No flags Displays host name of WPAR Displays host name of system
new host name Sets host name of WPAR if run by WPAR root Sets host name of system if run by global root
ifconfig All display flags (-a and -l) Displays information about the WPAR Displays information about the global environment
ioo   Does not function in a WPAR No change in behavior
ipcrm Without -@ argument Removes IPC objects associated with the WPAR Removes IPC objects associated with the global environment
-@ WPAR name Does not function unless WPAR name is "global" Removes IPC objects associated with WPAR named WPAR name
ipcs Without -@ argument Displays information about IPC objects created by processes within the WPAR Displays information about IPC objects created by processes in the global environment; no WPAR-associated objects are displayed
-@ Displays IPC information for the WPAR where the command is run Displays information about all IPC objects in the system; the name of the WPAR associated with the object is listed.
-@ WPAR name Displays no IPC information unless WPAR name is "global;" global case displays information about IPC objects associated with processes within the WPAR Displays information about IPC objects associated with processes in the WPAR named WPAR name
lslpp -@ WPAR name Fails with an error message Displays software vital product data for the specified workload partition. Fails if the workload partition is inactive.
mkclass   Only updates the /etc/wlm directory; fails updating kernel data No change in behavior
mount No flags Displays only WPAR-mounted file systems relative to the WPAR root Displays all mounted file systems with absolute paths
With flags Only NFS mounts without cachefs allowed No change in behavior
netstat
  • -c
  • -C
  • -g
  • -m
  • -M
  • -P
  • -v
  • -Z
These flags are not supported. Display network information and statistics for the entire system
All other flags Display network information and statistics for the WPAR Display network information and statistics for the entire system
-@ WPAR name Does not function in a WPAR Display network information and statistics for the WPAR specified, or all WPARs if WPAR name is not specified
nfso   Has read-only functionality in a WPAR No change in behavior
no All flags except -a Fails with an error message No change in behavior if user has the correct privilege
-a No change in behavior No change in behavior if user has the correct privilege
projctl All flags except -qproj Fails with a not owner message No change in behavior if user has the correct privilege
qproj No change in behavior No change in behavior if user has the correct privilege
ps -e Displays all processes in the WPAR Displays everything within the system; processes are not screened from view unless a specific WPAR name is specified using the -@ WPAR name flag
-@ Displays process information for processes in the WPAR; WPAR name is included in output Displays process information for all processes in the system; WPAR name is included in output
-@ WPAR name Displays no process information unless WPAR name is "global;" global case displays information about processes within the WPAR; WPAR name is included in output Displays information about processes associated with the WPAR named WPAR name; WPAR name is included in output
-o wpar Produces a WPAR name header and the name of the WPAR associated with the process; name is always "global" Produces a WPAR header and the name of the WPAR in which the process is executing
schedo   Does not function in a WPAR No change in behavior
uname -n Displays name of the WPAR Displays node name of the system
vmo   Does not function in a WPAR No change in behavior
wlmstat No flags Displays information about the WPAR class No change in behavior
-@ Displays information about the WPAR class Displays data for WPAR class
wlmtune   Does not function in a WPAR No change in behavior
wlmcntrl   Does not function in a WPAR No change in behavior