Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

If I am on the base OS of a solaris 10 system, how do I determine the names of the zones ?

Posted on 2010-08-27
1
353 Views
Last Modified: 2013-12-28
We appear to have a list of physical solaris 10 servers.

Because we are moving boxes we need the information from the whole box, "virtual" zones and all

If we have root / shell access, how can we determine what zones & virtual machines are running on a Solaris 10 physical server ?

It has to be a command or cat a file or something ez

0
Comment
Question by:TIMFOX123
1 Comment
 
LVL 22

Accepted Solution

by:
blu earned 500 total points
ID: 33544617
In the global zone, you can determine what the configured zones are by running this command:

zoneadm list -v -c

You can tell if you are in the global zone by running the zonename command. If it comes back with the word
"global" then you are in the global zone and will be able to see all the zones.

0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question