Skip to content

CmdPal: Aggregate net adapter stats and default adapter selection - #49678

Open
jiripolasek wants to merge 2 commits into
microsoft:mainfrom
jiripolasek:dev/jpolasek/f/cmdpal-aggregate-net-adapter-stats
Open

CmdPal: Aggregate net adapter stats and default adapter selection#49678
jiripolasek wants to merge 2 commits into
microsoft:mainfrom
jiripolasek:dev/jpolasek/f/cmdpal-aggregate-net-adapter-stats

Conversation

@jiripolasek

Copy link
Copy Markdown
Collaborator

Summary of the Pull Request

This PR introduces a new virtual network adapter in performance monitor that sums up data from all physical adapters. That way users will see any network usage, and for most of them it might be good enough. For the rest, this PR adds a new command to set any network adapter as a default.

  • Switches from Performance Counters to raw GetIfTable2.
  • Adds a new virtual network adapter "All" and uses it as a default.
  • Adds a new command to set an actual default network adapter for the perfmon.

PR Checklist

  • Closes: #xxx
  • Communication: I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected
  • Tests: Added/updated and all pass
  • Localization: All end-user-facing strings can be localized
  • Dev docs: Added/updated
  • New binaries: Added on the required places
  • Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Replaces performance counter with a single GetIfTable2 snapshot to collect network statistics and add an aggregate entry for all physical adapters.
@jiripolasek jiripolasek added the Product-Command Palette Refers to the Command Palette utility label Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Product-Command Palette Refers to the Command Palette utility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant