Wednesday 6 January 2016

Slow linux system

Slow linux system:

 System slow performance may be caused primary due to four reason,

1. RAM problem
2. I/O problem
3. App problem
4. CPU problem.


to check the real time system usage use command top
#top


                                                       top(wa)
                                                                  |
                                            ---high--------|------low---------------
                                          |                                                         |
                                         |                                                      |
                  Check swap(free -m)                       check %CPU (id)
                                          |                                                         |
                   -----high-------|---low-------                   -----high----|-------low-------
                   |                                       |                 |                                         |
        RAM problem              I/O problem       App problem               CPU problem
              (free)                           (iotop)         (strace,lsof)              (%us in top to check,
                                                                                                  which process consuming cpu)



No comments:

Post a Comment