🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #2476

Re: Memory Status / determine virtual memory usage of a process

#2476
From: Sam S. Firouz
Date: Thu, 22 Feb 2007 18:36
29 lines
2073 bytes
Check out the GetProcessMemoryInfo API.

Sam



"Uli" <nospam@nospam.de> wrote in message 
news:4525f6e8@newsgroups.borland.com...
> No. I know about the GlobalMemoryStatus() function.
>
> As I wrote, I want to determine the memory status (usage) of a specific 
> process in a fast way programatically. I want (respectively I expect) to 
> get the same values which are shown in Windows TaskManager in the 
> tab-sheet "Processes".
>
> "Bob Gonder" <notbg@notmindspring.invalid> schrieb im Newsbeitrag 
> news:opmai2t3e9fes14t37l55mbrea9si9rans@4ax.com...
>> Uli wrote:
>>
>>>is there a way to determine the memory-status of a specific process in 
>>>the
>>>way TaskManager does it? That means retrieving the amount of physical and
>>>virtual memory usage.
>>
>> Are you looking for GlobalMemoryStatus()  ?
>>
>>
>
> 
Technical Details
Message-ID: <45dde3ad$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <45250397@newsgroups.borland.com> <opmai2t3e9fes14t37l55mbrea9si9rans@4ax.com> <4525f6e8@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,aba0bbbda094b5c8
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Sam S. Firouz" <sfirouz@Hotmail.com>
From: "Sam S. Firouz" <sfirouz@Hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <45250397@newsgroups.borland.com> <opmai2t3e9fes14t37l55mbrea9si9rans@4ax.com> <4525f6e8@newsgroups.borland.com>
In-Reply-To: <4525f6e8@newsgroups.borland.com>
Subject: Re: Memory Status / determine virtual memory usage of a process
Date: Thu, 22 Feb 2007 13:36:55 -0500
Lines: 30
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16386
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16386
NNTP-Posting-Host: 132.250.186.200
Message-ID: <45dde3ad$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1172169645 132.250.186.200 (22 Feb 2007 10:40:45 -0800)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail