Quote:
Originally Posted by nap-ster
Hey guys
iam executing command prtconf |grep Mem but it shows segmentation fault....
|
If you want to investigate the crash cause, start by running:
Code:
truss -f prtconf 2>&1 | tail -20
and post the output.
Quote:
i want to know memory size.....
|
For that part, here is an alternative:
Code:
echo $(( $(kstat unix::system_pages:physmem|nawk 'NR==3 {print $2}') * $(pagesize) / 1024 / 1024 )) MB