5838 a Linux-like free(1M) would probably not be a bad thing
Review Request #657 — Created Sept. 5, 2017 and discarded — Latest diff uploaded
a "free" command to display memory usage
Executed inside global zone and non global zones with and without memory cap on OmniOS.
While testing this on OI I noticed that this depends on functionality not yet upstreamed from SmartoS:
commit f3861a7cccef3296d09052f75b91c493572fd94a "OS-399 zone phys. mem. cap should be a rctl and have associated kstat"
So this will have to wait.