Tr

Tray indicator for WSL2: on/off, CPU and memory, one-click shutdown

Hacker News

Tray indicator for WSL2: on/off, CPU and memory, one-click shutdown

When using my PC for private stuff like gaming or video editing I wanted an direct way (without calling wsl --shutdown) of turning WSL2 off. Created (with a help of Claude, it is 2026...) a small tray tool which barely uses resources and provides also resources usage info. Grey means the VM is off. Green, orange or red means it is running, coloured by the higher of its CPU and memory share of the machine. Hover for the numbers, menu entry to shut it down. Two things that were not obvious: * Presence is the vmmemWSL process existing. WSL reports on distributions, not on the VM. * CPU and memory come from NtQuerySystemInformation(SystemProcessInformation). vmmemWSL runs as SYSTEM, so OpenProcess is denied to a normal user and GetProcessTimes is out. A snapshot of ~250 processes takes 3.8 ms and needs no handle. Rust, windows-sys only. 282 KB exe, 3.9 MB private memory after half an hour, one thread while idle. Working set is 10 to 19 MB, mostly shared DLLs. Targeted for Windows 11. Older Win10 builds call it vmmem (Use -process flag). Shutdown asks for confirmation. BSD 3-Clause.

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, claude, user · Missing: agents, macos, agent
77%77% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: created · Missing: supports, reddit linkedin, podcasting
62%62% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
49%49% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: exist, existing, ide · Missing: https docs, excited, just released
47%47% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: video, way · Missing: mobile apps, ios, personal
46%46% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Ha
Harvard CPU in Verilog and Assembler in Go54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Harvard CPU in Verilog and Assembler in Go

Hacker News4
H2
H2 Forth CPU58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

H2 Forth CPU

Hacker News120
CPU Ranker
CPU Ranker38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CPU Databse, CPU, Processors, Mobile CPU, CPU List

Product Hunt+4
Me
Metrace – easy Python CPU/memory tracing43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Metrace – easy Python CPU/memory tracing

Hacker News3
Vi
Video about the CPU vulnerability Zenbleed (CVE-2023-20593)50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Video about the CPU vulnerability Zenbleed (CVE-2023-20593)

Hacker News4
St
StackImpact – Python Production Profiler: CPU, Memory, Exceptions67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

StackImpact – Python Production Profiler: CPU, Memory, Exceptions

Hacker News135
On
Online CPU profiler for Golang59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Online CPU profiler for Golang

Hacker News1
CP
CPU Mflops in 6 languages53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

CPU Mflops in 6 languages

Hacker News1
St
StackImpact – Go Production Profiler: CPU, Memory, Blocking Calls73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

StackImpact – Go Production Profiler: CPU, Memory, Blocking Calls

Hacker News7
Me
Metaballs Implementation in the CPU and GPU58%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Metaballs Implementation in the CPU and GPU

Hacker News2