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:
- References:
- gcc-2.95
- From: Jeff Bailey <jbailey@nisa.net>
- gcc-2.95
- From: Matthias Klose <doko@cs.tu-berlin.de>
- Re: gcc-2.95
- From: Neal H Walfield <neal@cs.uml.edu>
- Re: gcc-2.95
- From: Matthias Klose <doko@cs.tu-berlin.de>