I've been attempting to debug a problem with "top" on my Solaris 10 system (Sunblade 1000 US3 with 2GB RAM), but it seems to be actually a bug in Solaris:
$ kstat -p unix:0:system_pages:physmem unix:0:system_pages:freemem
unix:0:system_pages:physmem 256727
unix:0:system_pages:freemem 3147997
Clearly there's something wrong here, since freemem should be <= physmem, shouldn't it?
After observing the value of freemem for some time, and checking the hex values, I note that it's consistently staying around "0x300XXX". physmem is "0x3ead7".
Any ideas?
/lib