Project

General

Profile

Actions

Feature #5838

open

a Linux-like free(1M) would probably not be a bad thing

Added by Rich Lowe over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
2015-04-14
Due date:
% Done:

0%

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

Description

Over time, users tend to ask how they discover how much free RAM, virtual memory, etc, they have.

The answer being vmstat(1M) often disappoints. I can't think of any immediate reason that a Linux-like free(1M) would be a bad idea, or problematic to implement (though making it do sensible things with zones might complicate things at least somewhat).

Actions #1

Updated by Gary Mills over 7 years ago

How do you convince people that free memory is wasted memory?

Actions #2

Updated by Alexander Eremin over 7 years ago

Rich Lowe wrote:

Over time, users tend to ask how they discover how much free RAM, virtual memory, etc, they have.

The answer being vmstat(1M) often disappoints. I can't think of any immediate reason that a Linux-like free(1M) would be a bad idea, or problematic to implement (though making it do sensible things with zones might complicate things at least somewhat).

Do you mind something like old prtmem plus maybe swap info (where output almost the same as memstat from mdb), or exactly free(1M) port?

Actions

Also available in: Atom PDF