From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1014db,b0d5872172d735c5 X-Google-Attributes: gid1014db,public X-Google-Thread: 1164f8,b0d5872172d735c5 X-Google-Attributes: gid1164f8,public From: Martin Oettl Subject: Re: free memory Date: 1998/12/14 Message-ID: <36757609.96F6D189@compaq.com>#1/1 X-Deja-AN: 422241011 Content-Transfer-Encoding: 7bit References: <3674DC99.57B4520@sis.dfs.de> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Compaq Mime-Version: 1.0 Newsgroups: comp.lang.c,comp.sys.dec Christian Lorenz wrote: > Hi to all! > > I have the following problem: > > I like to find out how much memory is free under DEC UNIX 4.0. > There's a function vm_statistics() which could give me the information. > > BUT: this only works in a program compiled with C. > When I compile the same program with the C++ compiler the > function vm_statistics() is an unknown reference (I know that > symbols are differently generated in C and C++). > Both compilers are GNU. > > Any ideas? > > -- > Christian Lorenz DFS Deutsche Flugsicherung GmbH > fon: +49 6103 594 1650 Paul-Ehrlich-Str. 33 > fax: +49 6103 594 1680 63225 Langen > mailto:Christian.Lorenz@sis.dfs.de Germany You can use the command vmstat. Martin