IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Linux Discussion :

La commande top


Sujet :

Linux

  1. #1
    Membre éclairé
    Profil pro
    Inscrit en
    Décembre 2004
    Messages
    1 298
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2004
    Messages : 1 298
    Points : 886
    Points
    886
    Par défaut La commande top
    Bonjour, lorsque je fais top dans mon terminal, j'obtiens les lignes suivantes :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
    top - 10:35:02 up 176 days, 20:14,  1 user,  load average: 2.00, 2.00, 1.93
    Tasks:  92 total,   4 running,  85 sleeping,   0 stopped,   3 zombie
    Cpu(s):  0.0% us,  0.0% sy, 100.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.0% si
    Mem:   6056480k total,  4777976k used,  1278504k free,   128376k buffers
    Swap:  7887872k total,        0k used,  7887872k free,  4505824k cached
    que veut dire la ligne Cpu(s) :
    que veulent dire us (user ?), sy (sytem ?)), ni, id, wa hi, si ?

    Merci

  2. #2
    Expert éminent sénior Avatar de frp31
    Homme Profil pro
    Ingénieur systèmes et réseaux
    Inscrit en
    Juillet 2006
    Messages
    5 196
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 47
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Ingénieur systèmes et réseaux
    Secteur : Aéronautique - Marine - Espace - Armement

    Informations forums :
    Inscription : Juillet 2006
    Messages : 5 196
    Points : 12 264
    Points
    12 264
    Par défaut
    c'est les pourcentages dans l'environnement user system real et les indicateurs niced idle waiting etc....
    voir le man page :

    FIELD DESCRIPTIONS
    top displays a variety of information about the processor state. The
    display is updated every 5 seconds by default, but you can change that
    with the d command-line option or the s interactive command.

    uptime
    This line displays the time the system has been up, and the three
    load averages for the system. The load averages are the average
    number of process ready to run during the last 1, 5 and 15 min-
    utes. This line is just like the output of uptime(1). The uptime
    display may be toggled by the interactive l command.

    processes
    The total number of processes running at the time of the last
    update. This is also broken down into the number of tasks which
    are running, sleeping, stopped, or undead. The processes and
    states display may be toggled by the t interactive command.

    CPU states
    Shows the percentage of CPU time in user mode, system mode, niced
    tasks, iowait and idle. (Niced tasks are only those whose nice
    value is positive.) Time spent in niced tasks will also be
    counted in system and user time, so the total will be more than
    100%. The processes and states display may be toggled by the t
    interactive command.

    Mem Statistics on memory usage, including total available memory, free
    memory, used memory, shared memory, and memory used for buffers.
    The display of memory information may be toggled by the m interac-
    tive command.

    Swap Statistics on swap space, including total swap space, available
    swap space, and used swap space. This and Mem are just like the
    output of free(1).

Discussions similaires

  1. Equivalent de la commande top
    Par Empty_body dans le forum Linux
    Réponses: 2
    Dernier message: 21/01/2009, 11h51
  2. Analyse de la commande TOP
    Par elitost dans le forum Shell et commandes GNU
    Réponses: 6
    Dernier message: 25/09/2007, 14h04
  3. GNU commande "TOP"
    Par Deepc dans le forum Shell et commandes GNU
    Réponses: 5
    Dernier message: 08/06/2007, 11h23
  4. La commande top -d
    Par learn dans le forum Shell et commandes GNU
    Réponses: 1
    Dernier message: 12/04/2006, 16h48
  5. Commande top Cherche documentation sur Load ave
    Par New dans le forum Shell et commandes GNU
    Réponses: 1
    Dernier message: 20/12/2005, 12h21

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo