* [ECOS] Meminfo
@ 2005-10-05 14:42 Yegor Yefremov
2005-10-05 16:31 ` Deak, Ferenc
0 siblings, 1 reply; 3+ messages in thread
From: Yegor Yefremov @ 2005-10-05 14:42 UTC (permalink / raw)
To: ecos-discuss
Hi,
I need to know at run-time, how much memory is free. In Linux one can
open /proc/meminfo and get the free memory size. What can I do in eCos?
Best regards,
Yegor Yefremov
--
VS Vision Systems GmbH, Industrial Image Processing Aspelohe 27A,
D-22848 Norderstedt, Germany
Mail: Yegor.Yefremov@VisionSystems.de Tel.: +49-40-528 401-0
http://www.VisionSystems.de Fax.: +49-40-528 401-99
-------------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Meminfo
2005-10-05 14:42 [ECOS] Meminfo Yegor Yefremov
@ 2005-10-05 16:31 ` Deak, Ferenc
2005-10-05 16:40 ` Deak, Ferenc
0 siblings, 1 reply; 3+ messages in thread
From: Deak, Ferenc @ 2005-10-05 16:31 UTC (permalink / raw)
To: ecos-discuss
On Wed, 5 Oct 2005 16:41:57 +0200
"Yegor Yefremov" <Yegor.Yefremov@Visionsystems.de> wrote:
> Hi,
>
> I need to know at run-time, how much memory is free. In Linux one can
> open /proc/meminfo and get the free memory size. What can I do in eCos?
>
Use the mallinfo() function. See mallinfo.h for mallinfo(), and struct mallinfo.
Best regads,
Ferenc Deak
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] Meminfo
2005-10-05 16:31 ` Deak, Ferenc
@ 2005-10-05 16:40 ` Deak, Ferenc
0 siblings, 0 replies; 3+ messages in thread
From: Deak, Ferenc @ 2005-10-05 16:40 UTC (permalink / raw)
To: ecos-discuss
On Wed, 5 Oct 2005 18:33:48 +0200
"Deak, Ferenc" <ferenc.deak@stp.hu> wrote:
> On Wed, 5 Oct 2005 16:41:57 +0200
> "Yegor Yefremov" <Yegor.Yefremov@Visionsystems.de> wrote:
>
> > Hi,
> >
> > I need to know at run-time, how much memory is free. In Linux one can
> > open /proc/meminfo and get the free memory size. What can I do in eCos?
> >
>
> Use the mallinfo() function. See mallinfo.h for mallinfo(), and struct mallinfo.
Sorry these are in stdlib.h (mallinfo.h is my internal header for using mallinfo()...)
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-10-05 16:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-05 14:42 [ECOS] Meminfo Yegor Yefremov
2005-10-05 16:31 ` Deak, Ferenc
2005-10-05 16:40 ` Deak, Ferenc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).