The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
to compare total directory structure and get sizes of all f on two different servers mannam srinivas Shell Programming and Scripting 3 04-07-2008 04:21 AM
comparing 2 Solaris servers melanie_pfefer SUN Solaris 9 03-11-2008 01:29 PM
Need a sheel script to compare no of file on diffrent servers ashahzad Shell Programming and Scripting 1 01-31-2008 09:12 AM
File Compare & Move between 2 servers evolve Shell Programming and Scripting 4 11-30-2005 09:10 AM
compare directories on two servers MizzGail Shell Programming and Scripting 1 03-25-2003 01:41 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-10-2008
melanie_pfefer melanie_pfefer is offline
Registered User
  
 

Join Date: Nov 2006
Posts: 234
compare 2 Solaris servers

hello

I want to compare settings on 2 servers.
1] what is the command to ssh on servers and execute commands such as

prtconf | grep Memory
uname -a

2] Do you have a built-in script that executes this service?

thanks.
  #2 (permalink)  
Old 01-10-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
It depends what you need to be compared.
Use for example "prtconf" ; "psrinfo" and append their results to a file, execute the same commands in different file on the next server, and then even "diff" the files.
  #3 (permalink)  
Old 01-10-2008
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is online now Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,910
maybe you should use the sun explorer to collect all your settings ans compare the output of the two explorer files...
#82329: Sun[TM] Explorer 5.10 Data Collector

have a look at /opt/SUNWexplo! thats the place where the explorer ist installed if it's already on your system.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:41 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0