Giter Club home page Giter Club logo

libsysstat's Issues

Incorrect memory usage

Expected Behavior

I expect "sysstat" panel applet to display correct memory usage. When I open heavy applications to use all my memory and then close all applications, I expect to have memory usage by applications to be slightly bigger than after reboot. Tools like top, htop, mate-system-monitor show memory usage that I expect.

Current Behavior

After stopping all heavy applications, I have 6GB memory usage shown by "sysstat" applet, while other system monitors show less than 1GB. This is due to libsysstat reports incorrect values to the applet.

Possible Solution

The formula which calculates the amount of memory used by applications in libsysstat does not take into account the reclaimable memory.

A possible solution is attached. The formula is taken from htop.

0001-Application-memory-usage-formula-agree-with-htop.zip

Steps to Reproduce (for bugs)

See "Expected Behavior".

Context

I would like to receive adequate information about memory usage.

System Information
  • Distribution & Version: Debian 10
  • Kernel: 4.19.0-11-amd64
  • Qt Version: 5.11
  • liblxqt Version: liblxqt0 0.14.1-1
  • Package version: libsysstat-qt5 from git master.

libsysstat in LXQt 1.1.0

libsysstat hasn't changed at all since LXQt 1.0.0, and so, I think there's no need to bump its version artificially.

Is there any objection to using libsysstat-0.4.6 in LXQt 1.1.0?

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.