use .net 2.0 to get cpu and ram usage

chadmanvb
chadmanvb used Ask the Experts™
on
I would like to have a small progess bar that would show cpu and ram usage on a server.  Is there an easy way to code this in .net?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
i do not have an exact answer for you, but there are two places that probrolbly have what you need. first i would look at the my.computer class. it contains operations like Available Virtual Memory. this is the first class i go to when i want info about the client computer. next would be the System.Diagnostics namespace. this is mostly unknown to me. i use its proccess class to start other programs but i know it can view the proccesser load on paticular proccesses so maby it has what you need. hope i could help.
Most Valuable Expert 2012
Top Expert 2014

Commented:
>show cpu and ram usage on a server.
From the application running on a client?
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Author

Commented:
I would like to do both.  Currently the application will be running on the server and I would like to display the cpu/ram on that server.  In the future I will move this application to another client and have to check this remotely.
Most Valuable Expert 2012
Top Expert 2014
Commented:

Author

Commented:
Thanks!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial