473,486 Members | 2,136 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Get tasks informations just like task manager does

Hi,
Is there a way in VB.NET to get the information about a task just like
the Windows' task manager does? I want to get how started the task, the
memory it takes, the cpu it take, the cpu time it has taken, et al. Is
there native classes within the .net framework or will I have to use WMI and
all this?

Thanks

ThunderMusic
Nov 22 '05 #1
2 1978
hi,
Ok so I got the task list using the Win32_Process class from WMI. The
problem is I can't get the CPU Percentage and I really need it. What method
can I use to get that information?

Thanks
"ThunderMusic" <NO*******@sympatico.caSPAMATALL> a écrit dans le message de
news:uy**************@TK2MSFTNGP14.phx.gbl...
Hi,
Is there a way in VB.NET to get the information about a task just like
the Windows' task manager does? I want to get how started the task, the
memory it takes, the cpu it take, the cpu time it has taken, et al. Is
there native classes within the .net framework or will I have to use WMI and all this?

Thanks

ThunderMusic

Nov 22 '05 #2
Hi,
Ok, I found the Process class (System.Diagnostics.Process) and it has almost
all the information I need except the CPU Percentage each process currently
uses. Does anybody know how I can get this information?

Thanks

ThunderMusic
"ThunderMusic" <NO*******@sympatico.caSPAMATALL> a écrit dans le message de
news:uy**************@TK2MSFTNGP14.phx.gbl...
Hi,
Is there a way in VB.NET to get the information about a task just like
the Windows' task manager does? I want to get how started the task, the
memory it takes, the cpu it take, the cpu time it has taken, et al. Is
there native classes within the .net framework or will I have to use WMI and all this?

Thanks

ThunderMusic

Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
8575
by: Greg Bryant | last post by:
I'm doing some work for a company that has an auction site running in coldfusion. They're not real happy with it, and it needs a major overhaul, so I'm looking at redoing it, and while I'm at it,...
2
449
by: ThunderMusic | last post by:
Hi, Is there a way in VB.NET to get the information about a task just like the Windows' task manager does? I want to get how started the task, the memory it takes, the cpu it take, the cpu time it...
5
1675
by: Dougal Fair | last post by:
Hello, I have written a vb.net program that invokes an Access2000 report in Preview mode, so that it shows on the screen. My program then goes on its merry way and the user can read the report...
6
7135
by: Marcus | last post by:
Hi, I am a newbie at C#. Here is my current problem: I want my application to iterate through the list of tasks presented in task manager. I want it to look at the task names and if a certain...
0
7100
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7330
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5434
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4865
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4559
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1378
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.