Hi Here is a simple script that shows the amounts of free cpus, maus and memory ( rounded to GB )
#!/usr/bin/bash echo -e "No of cpus free is : \c" ldm list-devices -p cpu|grep -c "^|" echo -e "Memory free is : \c" declare -i mem=0 for linein in `ldm list-devices -p mem|grep "size"|cut -d"=" -f 3` do mem=$mem+$linein/1024/1024/1024 done echo $mem "GB" echo -e "No of maus free is : \c" ldm list-devices -p mau|grep -c "^|" T On 29/12/2009 22:03, Mr. T Doodle wrote: > From the control domain can I find out what is available for guest > domains after Control and I/O Domain setup? > > For example, I would like to know how many CPU's and how much memory is > available after the Control and I/O domains are created? > > > Thanks > > > > _______________________________________________ > ldoms-discuss mailing list > ldoms-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss