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

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

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!

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

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

Solaris FAQ: Myths and facts about Solaris swap space : Jim Laurent's Weblog

i read it before posting my question :slight_smile:

it did not answer my question on how to get the swap space...

yeah, but there is a link to:
System Administration Guide, Volume 1

this should clear out things...

Where to get the CPU speed in the explorer?

thanks

./sysconfig/psrinfo-v.out