Vostok.Sys.Metrics.PerfCounters 0.0.6

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Vostok.Sys.Metrics.PerfCounters --version 0.0.6                
NuGet\Install-Package Vostok.Sys.Metrics.PerfCounters -Version 0.0.6                
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="Vostok.Sys.Metrics.PerfCounters" Version="0.0.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vostok.Sys.Metrics.PerfCounters --version 0.0.6                
#r "nuget: Vostok.Sys.Metrics.PerfCounters, 0.0.6"                
#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 Vostok.Sys.Metrics.PerfCounters as a Cake Addin
#addin nuget:?package=Vostok.Sys.Metrics.PerfCounters&version=0.0.6

// Install Vostok.Sys.Metrics.PerfCounters as a Cake Tool
#tool nuget:?package=Vostok.Sys.Metrics.PerfCounters&version=0.0.6                

Vostok.Sys.Metrics.PerfCounters

Build & Test & Publish NuGet

The Vostok.Sys.Metrics.PerfCounters library provides interface for efficient consuming Windows Performace Counters data. It uses Performance Data Helpers (PDH) API under the hood.

Examples

Performance Counter without instance
var counter = PerformanceCounterFactory
    .Default
    .CreateCounter("Memory", "Committed Bytes");
Performance Counter with instance
var counter = PerformanceCounterFactory
    .Default
    .CreateCounter("LogicalDisk", "% Idle Time", "C:");
Performance Counter for process
var counter = PerformanceCounterFactory
    .Default
    .CreateCounter(".NET CLR Memory", "Gen 2 Heap Size", InstanceNameProviders.DotNet.ForPid(1234));
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 was computed.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  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.
  • .NETStandard 2.0

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Vostok.Sys.Metrics.PerfCounters:

Package Downloads
Vostok.Metrics.System

Cross-platform system metrics collection for .NET Core applications.

Vostok.Sys.Metrics.Windows

Provides system metrics on Windows platform

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.7-pre000016 5,468 9/14/2022
0.0.7-pre000015 685 7/28/2022
0.0.7-pre000014 634 12/20/2021
0.0.7-pre000013 185 12/7/2021
0.0.6 39,903 12/7/2021
0.0.6-pre000011 201 12/6/2021
0.0.5 696 12/6/2021
0.0.5-pre000009 197 12/4/2021
0.0.5-pre000008 190 12/3/2021
0.0.5-pre000007 194 12/3/2021
0.0.5-pre000006 184 11/27/2021
0.0.5-pre000005 1,435 11/26/2021
0.0.5-pre000004 2,774 11/25/2021
0.0.4 63,806 10/5/2020
0.0.4-pre000012 1,637 8/19/2020
0.0.3 6,669 8/19/2020
0.0.3-pre000010 299 8/19/2020
0.0.2 2,569 11/23/2018
0.0.2-pre000009 333 8/3/2020
0.0.2-pre000005 532 11/23/2018
0.0.1-pre000002 567 11/22/2018
0.0.1-pre000001 541 11/21/2018