Vostok.Sys.Metrics.PerfCounters
0.0.7-pre000016
Prefix Reserved
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
This is a prerelease version of Vostok.Sys.Metrics.PerfCounters.
dotnet add package Vostok.Sys.Metrics.PerfCounters --version 0.0.7-pre000016
NuGet\Install-Package Vostok.Sys.Metrics.PerfCounters -Version 0.0.7-pre000016
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.7-pre000016" />
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.7-pre000016
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Vostok.Sys.Metrics.PerfCounters, 0.0.7-pre000016"
#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.7-pre000016&prerelease // Install Vostok.Sys.Metrics.PerfCounters as a Cake Tool #tool nuget:?package=Vostok.Sys.Metrics.PerfCounters&version=0.0.7-pre000016&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Vostok.Sys.Metrics.PerfCounters
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 | Versions 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,466 | 9/14/2022 |
0.0.7-pre000015 | 683 | 7/28/2022 |
0.0.7-pre000014 | 632 | 12/20/2021 |
0.0.7-pre000013 | 183 | 12/7/2021 |
0.0.6 | 39,590 | 12/7/2021 |
0.0.6-pre000011 | 199 | 12/6/2021 |
0.0.5 | 692 | 12/6/2021 |
0.0.5-pre000009 | 195 | 12/4/2021 |
0.0.5-pre000008 | 188 | 12/3/2021 |
0.0.5-pre000007 | 192 | 12/3/2021 |
0.0.5-pre000006 | 182 | 11/27/2021 |
0.0.5-pre000005 | 1,433 | 11/26/2021 |
0.0.5-pre000004 | 2,772 | 11/25/2021 |
0.0.4 | 63,681 | 10/5/2020 |
0.0.4-pre000012 | 1,635 | 8/19/2020 |
0.0.3 | 6,663 | 8/19/2020 |
0.0.3-pre000010 | 297 | 8/19/2020 |
0.0.2 | 2,563 | 11/23/2018 |
0.0.2-pre000009 | 329 | 8/3/2020 |
0.0.2-pre000005 | 530 | 11/23/2018 |
0.0.1-pre000002 | 565 | 11/22/2018 |
0.0.1-pre000001 | 539 | 11/21/2018 |