473,473 Members | 1,419 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 1977
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
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
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
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
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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
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
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
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,...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.