8000 Free memory gives wrong result on linux · Issue #24 · epics-modules/iocStats · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Free memory gives wrong result on linux #24
Open
@b-spruck

Description

@b-spruck

The free memory returned is not correct on linux. Problem: file system cache and buffers are counted as "free", but the system might not be able to free them on demand. Example: Any file residing in /dev/shm is counted as free memory.

reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773

In osdMemUsage.c, summing of of items shoudl be replaced by the value of MemAvailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0