Notes for showmem-1.0.0 on Minix 3.1.3a 02/15/2008 This is a little program to display the combined stack+malloc size of a Minix program, without touching the program's modification timestamp. Its purpose is to replace old scripts that query a program's memory size by using chmem, like this: chmem +0 myprogname The disadvantage of that technique is that chmem does actually update the program file, thus updating its modification time. This makes it unsuitable for use in applications that are sensitive to changes in files' modification times -- for example, in build scripts that might be run by binpackage, where the use of chmem is a documented no-no. This package has been built and tested under Minix releases 3.1.2a and 3.1.3a. The build.minix script will only build with ack. The package has not been tested using gcc; gcc would probably work, but why bother? The build.minix script in the top level directory builds and installs the package. It will refuse to run on releases older than 3.1.2a, or to use the gcc toolchain. build.minix installs files as follows: the binary is installed in /usr/local/bin the man page is installed in /usr/local/man/man1 After installing, you will need to run the following command makewhatis /usr/local/man to make the man page visible. Running this inside of an install script is against the rules (for the same reason that chmen is).