Project

General

Profile

Feature #10603

Want Memory Available kstat

Added by Till Wegmüller over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
kernel
Start date:
2019-03-29
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

On Illumos there is no statistic output that properly indicates the potentially free memory
I would like such a kstat that can be used in monitoring systems/scripts to trigger alerts if it is low.
We have the used memory statistic per zone but none for available.
It should exclude ARC contrary to the free memory statistic.
It should be readable without root permissions.
The only way to gather data to calculate this easily is through "echo ::memstats | mdb -k" which takes 4 seconds to compile th data and must be run as root.

Also available in: Atom PDF