|Skip Navigation Links|
|Exit Print View|
|System Administration Guide: Oracle Solaris Zones, Oracle Solaris 10 Containers, and Resource Management Oracle Solaris 11 Express 11/10|
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 Oracle 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 24-5 for the full list of changes made to commands.