?
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
Medium Priority
?
356 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
[X]
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
1 Comment
 
LVL 22

Accepted Solution

by:
blu earned 2000 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
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 how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…
Suggested Courses
Course of the Month11 days, 21 hours left to enroll

752 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