The point of free is to report on memory usage. To do so it inspects both the Mach virtual memory system and the pager information, to find out the number of pages resident, how many are in use and so forth.
C source code and UNIX manual page for free. Over on my blog there's a discussion of the workings of free and vm_stat.
| Þæs ofereode | About the author | comp.lang.objective-c FAQ | Darwin/Mac OS X code | Code stuff blog |