Vostok.Sys.Metrics.PerfCounters 0.0.8

Prefix Reserved
dotnet add package Vostok.Sys.Metrics.PerfCounters --version 0.0.8
                    
NuGet\Install-Package Vostok.Sys.Metrics.PerfCounters -Version 0.0.8
                    
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.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vostok.Sys.Metrics.PerfCounters" Version="0.0.8" />
                    
Directory.Packages.props
<PackageReference Include="Vostok.Sys.Metrics.PerfCounters" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vostok.Sys.Metrics.PerfCounters --version 0.0.8
                    
#r "nuget: Vostok.Sys.Metrics.PerfCounters, 0.0.8"
                    
#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.
#addin nuget:?package=Vostok.Sys.Metrics.PerfCounters&version=0.0.8
                    
Install Vostok.Sys.Metrics.PerfCounters as a Cake Addin
#tool nuget:?package=Vostok.Sys.Metrics.PerfCounters&version=0.0.8
                    
Install Vostok.Sys.Metrics.PerfCounters as a Cake Tool

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 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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.
  • net8.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.8 2,695 12/9/2024
0.0.7-pre000016 5,487 9/14/2022
0.0.7-pre000015 699 7/28/2022
0.0.7-pre000014 675 12/20/2021
0.0.7-pre000013 202 12/7/2021
0.0.6 45,002 12/7/2021
0.0.6-pre000011 218 12/6/2021
0.0.5 715 12/6/2021
0.0.5-pre000009 214 12/4/2021
0.0.5-pre000008 207 12/3/2021
0.0.5-pre000007 212 12/3/2021
0.0.5-pre000006 201 11/27/2021
0.0.5-pre000005 1,452 11/26/2021
0.0.5-pre000004 2,791 11/25/2021
0.0.4 65,976 10/5/2020
0.0.4-pre000012 1,657 8/19/2020
0.0.3 6,726 8/19/2020
0.0.3-pre000010 320 8/19/2020
0.0.2 2,686 11/23/2018
0.0.2-pre000009 359 8/3/2020
0.0.2-pre000005 566 11/23/2018
0.0.1-pre000002 600 11/22/2018
0.0.1-pre000001 574 11/21/2018