|Skip Navigation Links|
|Exit Print View|
|System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones|
The ps command has the following modifications:
The -o option is used to specify output format. This option allows you to print the zone ID of a process or the name of the zone in which the process is running.
The -z zonelist option is used to list only processes in the specified zones. Zones can be specified either by zone name or by zone ID. This option is only useful when the command is executed in the global zone.
The -Z option is used to print the name of the zone associated with the process. The name is printed under the column heading ZONE.
For more information, see the ps(1) man page.
A -z zonename option has been added to the following Solaris utilities. You can use this option to filter the information to include only the zone or zones specified.
ipcs (see the ipcs(1) man page)
pgrep (see the pgrep(1) man page)
ptree (see the proc(1) man page)
prstat (see the prstat(1M) man page)
See Table 27-5 for the full list of changes made to commands.