You can get that data from the Performance Counters using the PerformanceCounter class. Start reading up on them
here[
^].
Keep in mind that there are two sides to the counters. Your app can both read performance counters and publish data using them too. Sometimes, documentation you read doesn't exactly make that clear and can be confusing.