Skip to content

How does free calculates RAM? #26

@Firestar-Reimu

Description

@Firestar-Reimu

I found that total does not equal to used+free+shared+buff/cache

and free+shared does not equal to available

so how does free calculate my RAM?

free -m    
              total        used        free      shared  buff/cache   available
Mem:           7875         889        5903         388        1082        6357
Swap:             0           0           0

On the other hand, my computer has 8GB RAM but it only says total=7875 not 8192

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