3 Nov 2009

WebOS ownage

Through many hours of blood and tears, I have found how to get memory usage of processes in WebOs.

palm://com.palm.lunastats/getStats{}.

This was necessary for my CS 242 final project: PreTop, a memory monitor and process controller for the Palm Pre.

Had to delve into the Palm WebOS Resource Monitor (WORM) that ships with the SDK. Disassembled many java classes until I found the string sent to the Luna process manager to return stats.