Re: check if the memory is low, from Windows to Unix
- From: "Lew Pitcher" <lpitcher@xxxxxxxxxxxx>
- Date: 31 Jan 2007 06:07:24 -0800
On Jan 31, 8:40 am, kevin.he...@xxxxxxxxx wrote:
Hi all,
How to implement such function for Linux/Unix?
First off, as the C standard makes no mention of language facilities
to determine "if memory is low" and does not specify operating system
specific interfaces, your question is off-topic for comp.lang.c. You
might want to ask in the comp.os.linux.development.apps newsgroup, or
one of the other linux newsgroups. We can't help you here.
Secondly, what makes you think that there /is/ a way to determine "if
memory is low", or that such a measurement is meaningful or even
necessary? My (experienced) guess is that you are trying to solve the
wrong problem. When you ask in the Linux newsgroup, don't ask about
specific functions. Instead, describe the problem you think you have
(the one that, to you, necessitates that you measure whether or not
"memory is low") and ask for help and advice on /that/ problem.
Chances are that you'll get better advice than you would with "what
function should I call" type questions.
[snip]
HTH
--
Lew
.
- References:
- check if the memory is low, from Windows to Unix
- From: kevin . heart
- check if the memory is low, from Windows to Unix
- Prev by Date: Re: How to improve this sort?
- Next by Date: Re: How to reduce Zero Initialised region.
- Previous by thread: check if the memory is low, from Windows to Unix
- Next by thread: Re: check if the memory is low, from Windows to Unix
- Index(es):