Sun Microsystems 10 用户手册

下载
页码 121
Version 3.1-en
  Solaris 10 Container Guide - 3.1   5. Cookbooks 
Effective: 30/11/2009
The following commands allow information to be displayed depending on the zones:
Command
Description
df(1M)
-Z
displays the zone mounts
ifconfig(1M)
zone <zonename>
assigns a virtual IP address to a zone
-zone
gives a virtual IP address back to the global zone
-Z
executes the command for all interfaces in the zone
ipcs(1)
-z <zonename>
displays interprocess communication parameters of a zone
pgrep(1)
-z <zoneid>
applies pgrep to processes in zone zoneid
poolstat(1M)
Displays statistics of resource pools
prctl
-i zoneid <zonename>
Displays and modifies resource controls of zone processes
priocntl(1)
-i zoneid <zoneidlist>
shows the scheduling parameters of the processes of a zone zoneid
prstat
-z <zonename>
displays the process statistics of the processes of <zonename>
 -Z
displays information on processes and zones together
ps(1)
-o pid,...,zone
zone exists as a format field for configurable outputs
-z <zonename>
displays only <zonename> processes
-Z
displays the zone that the process belongs to
rcapstat(1)
  -z 
displays statistics for capped zones
rctladm(1M)
Display and modification of global settings for resource controls
Table 8: Commands used to display zone information
67