Giter Club home page Giter Club logo

Comments (4)

nicolargo avatar nicolargo commented on April 28, 2024

Mmmhh strange, can you send me back the output of the following commands:

$ python

import statgrab
statgrab.sg_init()
Should be True
statgrab.sg_get_process_stats()
Stats about the migration process

Thx

from glances.

nicolargo avatar nicolargo commented on April 28, 2024

Tes processus migration/4 et migration/6 sont bien remontés comme consommateur de plus de 80% de CPU par le noyau Linux:

{'proctitle': '', 'pgid': 0, 'uid': 0, 'parent': 2, 'cpu_percent': 84.6947521212769, 'process_name': 'migration/4', 'pid': 17, 'proc_size': 0L, 'time_spent': 439087, 'state': 1, 'gid': 0, 'euid': 0, 'proc_resident': 12288L, 'egid': 0, 'nice': 0}

{'proctitle': '', 'pgid': 0, 'uid': 0, 'parent': 2, 'cpu_percent': 80.30525290111564, 'process_name': 'migration/6', 'pid': 23, 'proc_size': 0L, 'time_spent': 416330, 'state': 1, 'gid': 0, 'euid': 0, 'proc_resident': 12288L, 'egid': 0, 'nice': 0}

Je ne m'explique pas pourquoi "top" ne les affichent pas...

from glances.

nicolargo avatar nicolargo commented on April 28, 2024

Voici une copie du mail de akhenakh:

en fait il y a bien du pseudo cpu via ps
mais ni top ni htop ne l affiche (la machine ne fait rien) idle à 99%

Je pense que cela correspond à une vm KVM qui tourne mais elle ne consomme pas du tout de cpu.
top et htop doivent gérer ce cas particulier mais pas glances, ce qui est étrange c est qu en mode auto il n est pas visible, uniquement en mode cpu

$ ps aux | grep migratio
root 6 0.0 0.0 0 0 ? S 2011 0:00 [migration/0]
root 7 0.0 0.0 0 0 ? S 2011 0:00 [migration/1]
root 11 0.0 0.0 0 0 ? S 2011 0:00 [migration/2]
root 14 0.0 0.0 0 0 ? S 2011 0:00 [migration/3]
root 17 84.4 0.0 0 0 ? S 2011 7318:07 [migration/4]
root 20 0.0 0.0 0 0 ? S 2011 0:00 [migration/5]
root 23 80.1 0.0 0 0 ? S 2011 6938:50 [migration/6]
root 26 0.0 0.0 0 0 ? S 2011 0:00 [migration/7]

from glances.

nicolargo avatar nicolargo commented on April 28, 2024

C'est bizarre car top et htop utilise les mêmes entrées que Glances (c'est à dire le répertoire /proc).

Si qq à une idée...

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.