Skip to content

Measurements in MB seem wrong for swap #2

@grahamperrin

Description

@grahamperrin

I have 16 G swap, not 16 MB …

% ./freebsd-memory.sh
SYSTEM MEMORY INFORMATION:
mem_wire:        4460032000 (   4253MB) [ 26%] Wired: disabled for paging out
mem_active:  +   6831312896 (   6514MB) [ 41%] Active: recently referenced
mem_inactive:+   3179360256 (   3032MB) [ 19%] Inactive: recently not referenced
mem_laundry: +   1639227392 (   1563MB) [  9%] Laundry: dirty inactive pages
mem_free:    +    379490304 (    361MB) [  2%] Free: fully available for allocation
______________ ____________ ___________ ______
mem_all:     =  16574803968 (  15806MB) [100%] Total real memory managed
mem_gap_sys: +    465489920 (    443MB)        Memory gap: Kernel?!
______________ ____________ ___________
mem_phys:    =  17040293888 (  16250MB)        Total real memory available
mem_gap_hw:  +    139575296 (    133MB)        Memory gap: Segment Mappings?!
______________ ____________ ___________
mem_hw:      =  17179869184 (  16384MB)        Total real memory installed

SYSTEM MEMORY SUMMARY:
mem_used:       13621018624 (  12990MB) [ 79%] Logically used memory
mem_avail:   +   3558850560 (   3393MB) [ 20%] Logically available memory
______________ ____________ __________ _______
mem_total:   =  17179869184 (  16384MB) [100%] Logically total memory

SWAP SUMMARY:
swap_used:          4567040 (      4MB) [ 27%] Used
swap_avail:  +     12210176 (     11MB) [ 72%] Available
______________ ____________ __________ _______
swap_total:  =     16777216 (     16MB) [100%] Total
% 

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