🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Process32First and CPU/ Mem usage question

#10521
From: Martin C
Date: Wed, 14 Apr 2004 08:55
9 lines
1244 bytes
Hi all,

I am using CreateToolhelp32Snapshot, Process32First functions to retrieve
all information about running process under my machine. Although I can't
find how to get the CPU usage and Memory usage of any running process.
Does anyone know any functions that can allow me to get the CPU usage,
memory usage of every running process under my machine.

Thanks and BR
Technical Details
Message-ID: <407d5f6a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a80b6a6fd5c83366,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-04-14 09:00:31 PST
From: "Martin C" <martincplus@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Process32First and CPU/ Mem usage question
Date: Wed, 14 Apr 2004 10:55:47 +0200
Lines: 11
Organization: V Safe
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 62.135.27.36
Message-ID: <407d5f6a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1081958250 62.135.27.36 (14 Apr 2004 08:57:30 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail