On Mon, 2008-06-09 at 16:45 +0100, Charles Forsyth wrote: > > than a Cray, but Linux isn't *that* demanding is it? > > last week i added 1gb RAM to my previously 512mbyte lenovo (3000 N100) to stop > the linux system from thrashing. all i run directly is firefox and drawterm. > the system was fine at 512mbyte until a few weeks ago (when more updates > arrived). > > i could probably have got by with `only' 256mbyte or 512mbyte more but the > bigger memory card was hardly more expensive.
Since we're on the subject of memory hogs: does anybody know a way for querying Linux or Solaris (or any OS for that matter) of what the *physical* pages correspond to and how many virtual pages (and in which processes) they map into. The only utility that comes close is memstat: http://www.fifi.org/cgi-bin/man2html/usr/share/man/man1/memstat.1.gz but I don't quite believe its output, since it relies on the second hand information available from /proc/*/map and a really awkward mapping process. Thanks, Roman.
