Code Monkey home page Code Monkey logo

Comments (4)

BenBE avatar BenBE commented on June 3, 2024

Okay, something seems off here …

Can you provide a copy of /proc/meminfo with what htop reports alongside? Shared memory should be handled already.

Also, which htop version/release?

from htop.

fish98 avatar fish98 commented on June 3, 2024

Hi, I might experience the same issue with htop version 3.3.0-2 on ArchLinux where the swap memory usage statistics of htop differs from those shown by top and /proc/meminfo. Please find the following screenshot for more detailed information. I tested Line 213-215 in linux/LinuxMachine.c and found these variables match with the correct memory consumption listed in meminfo. I suppose these variables were incorrectly changed during the whole htop workflow although I have not investigated the root cause in depth.

htop

PTAL, thank you :)

from htop.

cgzones avatar cgzones commented on June 3, 2024

@fish98 your observed behavior is probably due to the zswap handling, see 71f5a80 and 71f2e66

from htop.

fish98 avatar fish98 commented on June 3, 2024

@fish98 your observed behavior is probably due to the zswap handling, see 71f5a80 and 71f2e66

Thanks for your reply :)

from htop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.