| View previous topic :: View next topic |
| Author |
Message |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Sun Dec 07, 2003 1:52 pm Post subject: Getting CPU Usage and Memory Usage for a task |
|
|
Hi,
does somebody have an idea how to get the cpu usage and memory usage of a specific task like the windows task manager shows ?
I want to build a debugging program for my intranet because it seems that the sub-applications of my intranet need much more memory since I changed them to vds5.
Thanks for your help.
Bye, Fabian |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Dec 07, 2003 2:07 pm Post subject: |
|
|
It can probably be done with the API and my guess is to use kernel32.dll
but I'm not sure. If I can find anything I'll post it for you here.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
X-Tools Valued Contributor

Joined: 20 Sep 2001 Posts: 296 Location: Germany
|
Posted: Mon Dec 22, 2003 10:51 am Post subject: |
|
|
Hi Freeze,
did you find out something about this ?
Thanks,
Bye, Fabian |
|
| Back to top |
|
 |
FreezingFire Admin Team

Joined: 23 Jun 2002 Posts: 3508
|
Posted: Mon Dec 22, 2003 11:50 am Post subject: |
|
|
I'm sorry, I couldn't find anything. Perhaps someone could make a DLL
to do this or something.  _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Mon Dec 22, 2003 7:53 pm Post subject: |
|
|
I've been trying to work on the api's for this, but to no avail yet. It's
pretty complicated to me trying to get the threads and processes and
such all tied together and then get the info.
-Garrett _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
|
| Back to top |
|
 |
|