comparing 2 Solaris servers


 
Thread Tools Search this Thread
Operating Systems Solaris comparing 2 Solaris servers
# 1  
Old 02-28-2008
comparing 2 Solaris servers

hello

has anyone built a script that compares 2 Solaris servers? CPU, memory, swap, memory variables in /etc/system, Solaris version

Could you please advise on how to make such a comparaison?

thanks
# 2  
Old 02-28-2008
the sun explorer gathers all data about a solaris machine. the data can be easiely compared with diff or other tools...
you can download the explorer at sunsolve.sun.com.

hth,
DN2
# 3  
Old 02-28-2008
good point!

ok. I was able to see:

1] Nbre of CPU and Solaris version under sysconfig/uname-X.out
2] Memory size under sysconfig/prtconf-v.out

I still need to know also where to get the info on swap size (usually from top) and NIC card (output of kstat). Any idea?

thanks!
# 4  
Old 02-28-2008
this is also in the explorer output... for swap you can use ./sysconfig/vmstat_3_3.out and a kstat output is under ./netinfo/kstat-p.out
the explorer script can be adjustet to collect special data just for your needs...

p.s. and under ./disks/ is the output of swap-l.out and swap-s.out
# 5  
Old 02-28-2008
hello again,

might be off-topic but I always got confused when calculating free swap size...

Can it be done from swap -s??

total: 329728k bytes allocated + 480792k reserved = 810520k used, 46405544k available

total=used+available?? i.e. 45G??

thanks
# 6  
Old 02-28-2008
# 7  
Old 02-28-2008
i read it before posting my question Smilie

it did not answer my question on how to get the swap space...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Comparing time differences between 2 Solaris servers

Good day to all. I'm relatively new in using the Sun Solaris OS. I would like to request your expertise in helping to solve a problem that I have at work. Not sure if this has been asked before but I have tried searching through the internet to no avail. Basically I have 2 sun solaris... (8 Replies)
Discussion started by: Fossil_84
8 Replies

2. Shell Programming and Scripting

Comparing file ownership/permission and content of files located on two different servers

Hi All, can some one suggest me a tool to compare file ownership/permission and contents of files located at two different unix servers? Thanks, Pranav (1 Reply)
Discussion started by: Pranav Bhasker
1 Replies

3. Solaris

Backing up Solaris 10 servers

Got 5-6 Solaris 10 servers in remote location - power work being done. At the moment, we just back up the application database that these servers run with the idea that if it all goes wrong we can rebuild and then restore the application. However, requirement is to provide a complete backup... (3 Replies)
Discussion started by: paulfoel
3 Replies

4. Shell Programming and Scripting

Comparing files names in directory over two servers

Hi folks I need to write a shell script to check whether source and the destination has the same files. The source and destination are over two servers and connecting through ssh. It should even compare the date i.e, the complete file name, date stamp and size should match. Should list out all the... (3 Replies)
Discussion started by: Olivia
3 Replies

5. Shell Programming and Scripting

Comparing Virtual servers

Hi I need a script to run on a Solaris server to confirm if it is a physical server or a Virtual server please help Mandaken (0 Replies)
Discussion started by: madmacher
0 Replies

6. Shell Programming and Scripting

Comparing directories on different unix servers

Is it possible to use the diff command to compare two directories on different Unix (AIX) servers? We have two regions set up and we want to be able to compare if the scripts directory in both regions contain the same files? I want to figure out if its possible.. Have been messing around by... (10 Replies)
Discussion started by: Jazmania
10 Replies

7. Solaris

Audit in Solaris Servers.

Hi Friends I am a Solaries newbie and I am looking out for a software or command or config that can capture all commands run by all users on a server on a daily basis. I believe that this Audit is being done in almost all enterprises and would like to know how the same is done there. Any... (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies

8. Solaris

Orcallator in solaris servers

Hi, Anybody know configuration/installation of orcalator (sic, orcallater) on unix environment? Please share any document on orcalator. If you have any procedure for orcalator please send me. Already i read orcaware configuration.but it is not configuring. Please do needful.It is very... (11 Replies)
Discussion started by: arjunreddy3
11 Replies

9. Shell Programming and Scripting

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 Replies)
Discussion started by: melanie_pfefer
2 Replies

10. UNIX for Dummies Questions & Answers

Comparing AIX and Solaris

Is Solaris still very hardware dependent? As in it is used mostly on SUN workstations and servers? What about IBM's AIX? Does it only work on IBM machines? Which is more popular and are there performance or usage differences? (1 Reply)
Discussion started by: CapsuleCorpJX
1 Replies
Login or Register to Ask a Question