• [^] # Re: points à vérifier

    Posté par . En réponse au message Gros ralentissement sur une base Postgresql 10. Évalué à 4.

    vmstat te donne l'info :

    :~$ vmstat 1 10
    procs ----------mémoire---------- -échange- -----io---- -système- ------cpu-----
     r b swpd libre tampon cache si so bi bo in cs us sy id wa st
     1 0 1242252 1695924 1706456 6132220 0 1 4 9 1 3 3 1 95 0 0
     1 0 1242252 1690372 1706480 6132364 0 0 0 232 4337 7092 4 2 94 0 0
     0 0 1242252 1689796 1706480 6132404 0 0 0 0 3459 5111 5 2 93 0 0
     1 0 1242252 1695340 1706480 6132420 0 0 0 0 3262 4646 5 1 94 0 0
    

    The final field st represents the percentage of time a virtual CPU waits for a real CPU while the hypervisor is servicing another virtual processor. Essentially, the steal time cycle counts the amount of time that your virtual machine is ready to run but could not run due to other virtual machines competing for the CPU.