FreeBSD Fortune on Nostr: Want to know how much memory (in bytes) your machine has installed? Let sysctl(8) ...
Want to know how much memory (in bytes) your machine has installed? Let
sysctl(8) tell you with the following command:
sysctl hw.realmem
The realmem value is memory before the kernel and modules are loaded, whereas
hw.physmem is what is left after they were loaded.
The number of active CPUs is displayed using this command:
sysctl hw.ncpu
-- Benedict Reuschling <bcr@FreeBSD.org>
sysctl(8) tell you with the following command:
sysctl hw.realmem
The realmem value is memory before the kernel and modules are loaded, whereas
hw.physmem is what is left after they were loaded.
The number of active CPUs is displayed using this command:
sysctl hw.ncpu
-- Benedict Reuschling <bcr@FreeBSD.org>