@(#)README for memlook.c v1.0 10 Nov 1997 Rob Thomas robt@cymru.com

memlook.c README

memlook is a tool that takes advantage of the wonderful information
kept in the /proc filesystem.  With memlook, you can quickly display
the process total image memory, resident set size (RSS), heap, and
stack, all in bytes, for a given process ID.  This gives you an
opportunity to see just what your process is doing, memory-wise.
As memlook is limited to just this one function, I find it to be
more accurate than top and more legible than ps -elf.

Note that if you do not have the /proc filesystem, memlook will do
you no good.  This should only be a problem for HP-UX 10.X users.

I have successfully compiled and tested memlook upon UltraSPARC
Solaris 2.5 and X86 Solaris 2.6 using both stock Solaris cc and
gcc.  Your mileage may vary, but please feel free to drop me a line
if you encounter any hurdles.

I hope this tool helps you as much as it has helped me!

To compile, simply type: make memlook

Thanks,
Rob.


