Skip to content

meminfo looking at wrong line #16

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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