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
_______________________________________________
perf-discuss mailing list
[email protected]