Skip to content

Wrong Swap Information on Windows11 #1433

@Yikai-Liao

Description

@Yikai-Liao

Checklist

What operating system and version are you using?

Windows 11

What architecture are you using?

x86_64/AMD64

What terminal(s) are you running bottom on that are experiencing the problem?

windows terminal with PowerShell 7.4.1

What filesystem(s) are you using?

NTFS

What version of bottom are you running?

0.9.6

How did you install bottom?

cargo install bottom

Describe the issue

bottom don't show the correct swap memory information on my windows11 laptop.

image

The used SWP memory shown in bottom is the equal to the committed memory shown in the windows task manager, where the committed memory should be the sum of used RAM and SWP.

What is the expected behaviour?

I expect the used SWP shown in btm equal to the cached memory shown in windows task manager.

What is the actual behaviour?

bottom actually shows the committed memory in SWP on Windows 11

How can we reproduce this?

just run bottom on Windows11 and check the windows task manager at the same time.I

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working the way that is expected.duplicateThis issue or pull request already exists.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions