Subject: Re: /kern/physmem
To: None <sridhar@firestorm.ikickass.org>
From: maximum entropy <entropy@tappedin.com>
List: port-i386
Date: 05/22/2001 16:52:14
>Date: Tue, 22 May 2001 21:43:17 -0400 (EDT)
>From: Sridhar Ayengar <sridhar@firestorm.ikickass.org>
>
>When I 'cat /kern/physmem' it says '8096' even though I have 32 MB RAM in
>the machine. Is this a problem, or is this OK?
Try:
expr `cat /kern/physmem` '*' `cat /kern/pagesize`
MOUNT_KERNFS(8) NetBSD System Manager's Manual MOUNT_KERNFS(8)
[...]
pagesize the machine pagesize (decimal ASCII).
physmem the number of pages of physical memory in the machine (decimal
ASCII).
Cheers,
entropy
--
entropy -- it's not just a good idea, it's the second law.