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

Reply to this note

Please Login to reply.

Discussion

No replies yet.