← Software
zonememstat per-zone memory report
| name | zonememstat per-zone memory report |
|---|
| recommendation | consider |
|---|
| in solnix | no |
|---|
| category | observability |
|---|
| origin | smartos |
|---|
| kind | tooling |
|---|
| summary | Shell tool from smartos-live that reports each zone's RSS, memory cap, swap, swap cap, number of times over cap and pages paged out, from the memory_cap kstat. |
|---|
| why | Take it with zone-physical-memory-cap; on its own it would print nothing useful. |
|---|
| upstream status | Lives in smartos-live, not in any gate. It reads memory_cap fields (rss, physcap, swap, nover, pagedout) that only the Joyent zone physical-memory-cap kernel provides; the pin's zone_mcap_kstat_t has only page-in counters. |
|---|
| effort | small |
|---|
| risk | Breaks silently (empty columns) on a kernel without the Joyent memory_cap fields. |
|---|
| license | CDDL-1.0 |
|---|
| source url | https://github.com/TritonDataCenter/smartos-live/tree/fa5501392f4b9f4c5b4d31cc30e4beaa5d4c9f07/src/zonememstat.sh |
|---|
| sources | https://github.com/TritonDataCenter/smartos-live/tree/fa5501392f4b9f4c5b4d31cc30e4beaa5d4c9f07/src/zonememstat.sh https://smartos.org/man/8/zonememstat |
|---|
What Solnix has done
No decision yet: open for ranking.
Objections (0)
None.
Sign in to object to this item.