PerformanceStatistics 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package PerformanceStatistics --version 1.0.1
NuGet\Install-Package PerformanceStatistics -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PerformanceStatistics" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PerformanceStatistics --version 1.0.1
#r "nuget: PerformanceStatistics, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PerformanceStatistics as a Cake Addin
#addin nuget:?package=PerformanceStatistics&version=1.0.1

// Install PerformanceStatistics as a Cake Tool
#tool nuget:?package=PerformanceStatistics&version=1.0.1

PerformanceStatistics

<img src="https://github.com/jchristn/PerformanceStatistics/blob/main/Assets/logo.png?raw=true" width="100" height="100" />

Library for capturing performance statistics from commonly-used performance counters. Currently only supports Windows.

NuGet Version NuGet

Help, Feedback, Contribute

If you have any issues or feedback, please file an issue here in Github. We'd love to have you help by contributing code for new features, optimization to the existing codebase, ideas for future releases, or fixes!

New in v1.0.x

  • Initial release, only for Windows

Example Project

Refer to the Test project for exercising the library.

Getting Started

using PerformanceStatistics;

WindowsPerformanceStatistics stats = new WindowsPerformanceStatistics();
Console.WriteLine(stats.ToString());

/*

Windows Performance Statistics
------------------------------
  CPU Utilization Percent         : 0%
  Memory Free (Megabytes)         : 3276MB
  Total Disk Read Operations      : 0
  Total Disk Write Operations     : 0
  Total Disk Read Queue           : 0
  Total Disk Write Queue          : 0
  Total Disk Free Percent         : 27%
  Total Disk Free Megabytes       : 326140MB
  Total Disk Size Megabytes       : 1207925.93MB
  Total Disk Used Megabytes       : 881785.93MB
  Active TCP Connections          : 98
  | 127.0.0.1:49677 to 127.0.0.1:49678: Established
  | 127.0.0.1:49678 to 127.0.0.1:49677: Established
  ...

*/

Version History

Refer to CHANGELOG.md for version history.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.5 312 10/23/2023
1.1.4 106 10/23/2023
1.1.3 104 10/23/2023
1.1.2 107 10/23/2023
1.1.0 116 10/23/2023
1.0.1 142 10/20/2023
1.0.0 125 10/19/2023

Initial release