How have I have gone all this time without knowing about the kstat command?!
:(
I have tried poking around, and am trying to understand some of the fields,
and have a couple of scriptlets that I wrote that should report identical
output. (As I understand)
What am I missing?
1) prtconf -v|grep ^Mem
2) echo `pagesize` `kstat |grep physmem|nawk '{print $2}'`|nawk '{print
"Memory size: "$1 * $2 / 1024 / 1024 " Megabytes"}'
--brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/observability-discuss/attachments/20070711/9a1e16cf/attachment.html>