The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Filesystem ownership with zones BG_JrAdmin SUN Solaris 1 04-04-2008 06:45 AM
Solaris 10 Conteiners (Zones) jess_t03 SUN Solaris 4 10-22-2007 05:16 AM
Solaris Zones Sarccastik Dude UNIX for Advanced & Expert Users 7 12-14-2006 09:08 AM
ntp across time zones Howeird UNIX for Advanced & Expert Users 5 04-11-2002 09:17 AM
time zones ldgriess UNIX for Dummies Questions & Answers 1 10-17-2001 07:16 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-29-2007
Registered User
 

Join Date: May 2007
Posts: 56
Question Zones

Hi,

I want to wheather there is any command by using that we can reboot all the zones ,

Example : I have 10 zones, I can reboot all 10 zones by using one command
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-29-2007
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 710
that should work:

Code:
for ZONE in $(zoneadm list -cv | awk '/running/ && !/global/ {print $2}'); do zoneadm -z $ZONE reboot; done


gP
Reply With Quote
  #3 (permalink)  
Old 08-30-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Code:
global-zone # init 6


Cheers
ZB
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:37 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0