Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get current CPU, RAM and Disk drive usage in C#

How to get the CPU, RAM and Disk drive usage of the system in C# code?

like image 444
Sauron Avatar asked Aug 10 '09 04:08

Sauron


People also ask

How do I check my current usage of CPU and RAM?

Press Ctrl + Shift + Esc to launch Task Manager. Or, right-click the Taskbar and select Task Manager. Select the Performance tab and click Memory in the left panel. The Memory window lets you see your current RAM usage, check RAM speed, and view other memory hardware specifications.


1 Answers

Please search SO; there are several similiar questions:

  • How to get the CPU Usage C#

  • C#: List all processes and their current memory & CPU consumption?

  • How do I retrieve disk information in C#?

like image 60
Mitch Wheat Avatar answered Oct 08 '22 14:10

Mitch Wheat