This is like a newbie question.
The size of the memory that
The system runs in Virtualbox and is given 2GB memory, which matches the dmesg result, while vmstat says it has only 271+150=421MB.
I wonder why this happens.
The system is FreeBSD12.2 :
Thank you!
The size of the memory that
vmstat
returns and the physical memory do not match.
Code:
$ dmesg | grep memo
real memory = 2147418112 (2047 MB)
avail memory = 2044317696 (1949 MB)
$
$ vmstat
procs memory page disks faults cpu
r b w avm fre flt re pi po fr sr ad0 pa0 in sy cs us sy id
1 0 0 271M 150M 11 0 0 0 19 14 0 0 2 36 91 0 1 99
The system runs in Virtualbox and is given 2GB memory, which matches the dmesg result, while vmstat says it has only 271+150=421MB.
I wonder why this happens.
The system is FreeBSD12.2 :
Code:
$ uname -a
FreeBSD fbsd12 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64
Thank you!