System Administration Guide: Oracle Solaris Containers-Resource Management and Oracle Solaris Zones
Checking Package Information on a Solaris
System With Zones Installed
You can query the software package database for the global zone and
non-global zones by using the pkginfo command. See the pkginfo(1) man
page for more information about this command.
How to Check Package Information in the
Global Zone Only
-
To check the software package database for the global zone only,
use pkginfo followed by the package name.
global% pkginfo package_name
|
Example 26–1 Using the pkginfo Command in the Global
Zone
global% pkginfo SUNWcsr SUNWcsu
system SUNWcsr Core Solaris, (Root)
system SUNWcsu Core Solaris, (Usr)
|
How to Check Package Information in a
Specified Non-Global Zone Only
-
To check the software package database in
a specific non-global zone, log into the non-global zone and use pkginfo followed by the package name.
my-zone% pkginfo package_name
|
Example 26–2 Using the pkginfo Command in a Non-Global Zone
my-zone% pkginfo SUNWcsr SUNWcsu
system SUNWcsr Core Solaris, (Root)
system SUNWcsu Core Solaris, (Usr)
|