[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc-2.95



On Thu, Apr 19, 2001 at 07:26:36PM +0200, Matthias Klose wrote:
| Neal H Walfield writes:
|  > > Is there a way to determine the amount of free memory (including free
|  > > swap)?
|  > 
|  > Absolutely;  take a look at mach/mach.defs:vm_statistics and
|  > <mach/vm_statistics.c>.
| 
| interesting ... is there NO way to get this information via a shell
| command/script?

If there is a C interface, then there can be a shell interface.  If it
doesn't already exist, write a simple C program to print the result(s)
of the function call.

-D



Reply to: