themes-performance
0.1.0
dotnet add package themes-performance --version 0.1.0
NuGet\Install-Package themes-performance -Version 0.1.0
<PackageReference Include="themes-performance" Version="0.1.0" />
paket add themes-performance --version 0.1.0
#r "nuget: themes-performance, 0.1.0"
// Install themes-performance as a Cake Addin #addin nuget:?package=themes-performance&version=0.1.0 // Install themes-performance as a Cake Tool #tool nuget:?package=themes-performance&version=0.1.0
Themes performance for oh-my-posh
Themes for oh-my-posh displaying system performance sensors (current speed of network interfaces, CPU load and temperature, and PowerShell Core processes activity). You use the PowerShell module to update and save the theme.
Themes:
🚀 Install
Install oh-my-posh package any way you like, if you haven't already done so. Example, if you are not using a package manager, like this:
Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://ohmyposh.dev/install.ps1'))
Install the module from the NuGet repository:
Install-Module themes-performance -Repository NuGet
Import-Module themes-performance
💡 You must have a NuGet repository registered:
Register-PSRepository -Name "NuGet" -SourceLocation "https://www.nuget.org/api/v2" -InstallationPolicy Trusted
Choose a theme (theme and script is loaded directly from the GitHub repository, nothing is saved in the system):
Set-PoshTheme -Theme System-Sensors
Set-PoshTheme -Theme System-Performance
Set-PoshTheme -Theme Pwsh-Process-Performance
To save the theme to the system for offline use and set it as the default profile, use the Save
parameter.
💡 Note, this will overwrite your default profile (You can check its contents using the command: notepad $Profile
).
Set-PoshTheme -Theme System-Sensors -Save
Set-PoshTheme -Theme System-Performance -Save
Set-PoshTheme -Theme Pwsh-Process-Performance -Save
System-Sensors
Get sensors from the running LibreHardwareMonitor application instance via WMI/CIM (Common Information Model).
💡 For this theme to work, you need to have LibreHardwareMonitor installed and running.
⌚ 11:51 ⌛ 0ms 📁 ~ 💡 CPU: 13% (0/99) | 60°C (42/98) | MEM: 54% (8/15Gb) | ⬇ 0,025 Mbyte/s ⬆ 0,051 Mbyte/s
>
Displays sensors for CPU load and temperature, as well as the download and upload speed of the active network interface (if several network adapters are used, the activity of the busiest one will be displayed).
System-Performance
Get performance data directly from the system through WMI/CIM. Works noticeably slower when compared to the System-Sensors theme. No dependencies required.
⌚ 11:52 ⌛ 0ms 📁 ~ 🔋 100% | CPU: 6% | MEM: 54% | ⬇ 34,868 Mbyte/s ⬆ 0,499 Mbyte/s
>
Pwsh-Process-Performance
Performance of PowerShell Core processes.
⌚ 11:53 ⌛ 0ms 📁 ~ 💡 00:01:24 (00:00:03) | Jobs: 0/3 (✅3/❌0) | WS: 130/370Mb (3) | MEM: 52% (8/15Gb)
>
💡 Description: Running time of the currently running process pwsh (CPU time consumption of the current process) | Number of background jobs: Running/All count (Completed/Failed) | Working set of physical memory of the current process/all running processes pwsh (total number of running processes pwsh) | RAM from sysinfo (via the oh-my-posh plug-in)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
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 |
---|---|---|
0.1.0 | 204 | 2/8/2024 |