Sign in

← Software

zonememstat per-zone memory report

namezonememstat per-zone memory report
recommendationconsider
in solnixno
categoryobservability
originsmartos
kindtooling
summaryShell 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.
whyTake it with zone-physical-memory-cap; on its own it would print nothing useful.
upstream statusLives 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.
effortsmall
riskBreaks silently (empty columns) on a kernel without the Joyent memory_cap fields.
licenseCDDL-1.0
source urlhttps://github.com/TritonDataCenter/smartos-live/tree/fa5501392f4b9f4c5b4d31cc30e4beaa5d4c9f07/src/zonememstat.sh
sourceshttps://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.