showmem -Dm
http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.neutrino_utilities/s/showmem.html

use showmem:
showmem [options] - display memory information 
-S          Show memory summary (free/used) for the system
-P          Show process/sharedlibrary/ summary for the system
-D[lshm]     Show detailed process information 
             l = libraries/binaries
             s = stack
             h = heap
             m = memory mapping
-d file     Dump the raw map information to specified file
-v Increase the verbosity of the output



From: Davide Ancri <community-noreply@qnx.com>
Reply-To: <ostech-core_os@community.qnx.com>
Date: Fri, 7 Sep 2012 11:27:01 -0400
To: ostech-core_os <ostech-core_os@community.qnx.com>
Subject: Query the kernel about physical memory allocation and availability

hi all

is there a way to know the current state (allocation/fragmentation/availability) of the physical memory?

Something like "sin pmem" on old qnx4... but more complete about physical addresses if possible ;)

thanks
Davide



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post95445
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com