Skip to content

Correct %memused #2

Description

@jkstill

%memused is somewhat useless, as Linux claims most unused memory for caching, even it is not in use.

it is will known that much of the buffer space can be treated as free memory

%memused always includes the cache memory, and frequently hovers around 90%, even though real usage is much lower.

perform this calculation in this tool set and set %memused to the real value

                # Formula for true memory utilization
                total_mem = df['kbmemfree'] + df['kbmemused']
                real_free_mem = df['kbmemfree'] + df['kbbuffers'] + df['kbcached']
                real_used_mem = total_mem - real_free_mem`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions