It won't work if there will be more memory segments in the server. I think something like this could work in that case: mem=`prtdiag | tr -s "\t" " " | awk '/^0x[0-9a-f]/{x+=$2}END{print x}'`
Anyway...
I don't have access to Solaris box right now so I don't know if this solution is very reliable:
mem=`prtdiag | tr -s "\t" " " | awk '/^0x0/{print $2}'`
This will put number of gigabytes of RAM into...
Well if those two commands show that Solaris detected 1GB of RAM then there is nothing else what you can do. Maybe your server was partitioned using LDoms, and that is why amount of RAM is so low in...