Giter Club home page Giter Club logo

Comments (7)

nicolargo avatar nicolargo commented on April 28, 2024

Cool.

There is some strange thinks on your screenshot:

  • the used memory is negative
  • the free memory is very high (26 TB), the total memory is low...
  • the idle process in the process list did not have to be printed

from glances.

borislassort avatar borislassort commented on April 28, 2024

(En fr ce sera plus simple :-) )

Bon le problème vien bien de statgrab qui ne donne pas les bonnes infos sur FreeBSD :

statgrab.sg_get_mem_stats()
{'cache': 20480L, 'total': 517525504L, 'free': 281475432194048L, 'used': -281474914668544L}

je remonte le problème à l'auteur de statgrab.

from glances.

nicolargo avatar nicolargo commented on April 28, 2024

Effectivement... Au pire il faudra faire un patch temporaire qui lancera une commande 'free -m'. Pas très propre...

from glances.

borislassort avatar borislassort commented on April 28, 2024

Ou utiliser psutil (http://code.google.com/p/psutil/) qui me donne de bonnes infos sur freeBSD.

from glances.

nicolargo avatar nicolargo commented on April 28, 2024

Merci pour le lien vers psutil. Effectivement cette bibliothèque à l'air assez complète. Je vais voir si elle peut remplacer purement et simplement l'utilisation de statgrab qui semble un projet un peu mort...

from glances.

nicolargo avatar nicolargo commented on April 28, 2024

Le projet psutil bien que prometteur est encore bien jeune. Les distribs ne propose que les versions 0.2x avec un nombre limité de fonctions...

Wait and see

from glances.

nicolargo avatar nicolargo commented on April 28, 2024

La nouvelle version de PsUtil (0.4.1) apporte toutes les fonctions necessaires.
La prochaine version majeure de Glances (la 1.4) remplacera StatGrab par PsUtil.

from glances.

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.