Skip to content

meminfo looking at wrong line #16

@avongluck-r1soft

Description

@avongluck-r1soft

It looks like meminfo is examining line 5 for "Active:", but the offset for active has moved to line 6.

$ cat /proc/meminfo
MemTotal:       32915844 kB
MemFree:        12771756 kB
MemAvailable:   25949644 kB
Buffers:          308388 kB
Cached:         12658552 kB
SwapCached:            0 kB
Active:          6645692 kB
Inactive:        8302520 kB
Active(anon):    1982684 kB
Inactive(anon):    85144 kB

Likely should be going off of the field names vs fixed line offsets.

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