How to get the cpu usage and physical memory (%) using c#

Posted by Varaprasadm.84 under C# on 4/9/2012 | Points: 10 | Views : 17509 | Status : [Member] | Replies : 5
Hi,

How to get the cpu usage and physical memory (%) using c# like what we are getting in the task manager?

How can i achieve this?

Thanks in advance.
Prasad

Vara Prasad.M


Responses

Posted by: Sakthi.Singaravel on: 4/9/2012 [Member] Silver | Points: 25

Up
0
Down
Hi Prasad,

See this link, its useful for u..

http://www.codeproject.com/Articles/10258/How-to-get-CPU-usage-of-processes-and-threads

Regards,
Singaravel M

Varaprasadm.84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 4/9/2012 [Member] Silver | Points: 25

Up
0
Down
its also used for u...

http://kiranpatils.wordpress.com/2010/03/06/how-to-get-cpu-usagememory-usagephysical-memory/

Regards,
Singaravel M

Varaprasadm.84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Hariinakoti on: 4/9/2012 [Member] Starter | Points: 25

Up
0
Down
yes u r right sakthi.
Both links very useful for that above question...

Thanks & Regards
Hari

Varaprasadm.84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 4/9/2012 [Member] Silver | Points: 25

Up
0
Down
Hi prasad,

r u got solution....?

Regards,
Singaravel M

Varaprasadm.84, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 4/9/2012 [Member] Silver | Points: 25

Up
0
Down
Thanks hari

Regards,
Singaravel M

Varaprasadm.84, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response