ºìÁªLinuxÃÅ»§
Linux°ïÖú
µ±Ç°Î»ÖÃ: ºìÁªLinuxÃÅ»§ > Debian

¼ì²éUbuntu/Debian LinuxΪʲôºÜÂý

·¢²¼Ê±¼ä:2008-05-02 00:00:52À´Ô´:ºìÁª×÷Õß:shanot
ÎÒѧÀ´¼ì²éLinuxµÄ×÷ҵϵͳ״̬£¬»ù±¾ÉÏÓÃtop£¬vmstat 5Á½¸öÖ¸Áî¡£

top ---¿É²é¿´ÏµÍ³(CPU)/ʹÓÃÕß(User)/ÐÝÏ¢(Idle)/IO´ýÁô(iowait)µÈ״̬µÄ°Ù·Ö±ÈЧÂÊ¡£Ò»°ãÀ´½²£¬"load average"µÍÓÚ1£¬ "wa"µÍÓÚ5%Ϊ¡¸Õý³£¡¹£¬µ±È»Õ⻹ҪÒÀ¸÷±ðϵͳ²»Í¬×öÅжϡ£

vmstat 5 ---ÿ¸ô5Ã룬¿´¸÷¸öprocessµÄ½øÐÐ״̬¡£

ͨ³£swap ("swpd")ºÍ("si", "so")Ó¦¸Ã½Ó½üÓÚ0¡£Æ©Èç˵load is high, "us" is low, "wa" is above 75%£¬Ò»Ö±Î¬³ÖºÜ¾Ã£¬±íʾµÈI/O£¬Õâ¿ÉÄÜÊÇÍø·»òÓ²µúµÄ¹Øϵ¡£Èç¹ûÊÇload is high£¬"wa" is low£¬µ«"us" is high£¬±íʾCPU²»×ã¡£ÎÒÉÏÃæµÄÀý×ÓÊÇÓÐʱºòϵͳµÄswap ("swpd")ºÍ("si", "so")ºÜ¶à£¬¼¸ºõûÓÐidleʱ¼ä£¬¿ÉÄÜÊÇÒòΪÓÐÈíÌåÔÚ¼±ËÙÔË×÷£¬Ò²ÊÇÒòΪPCµÄRAMÌ«ÉٵĹØϵ¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 1 ÌõÆÀÂÛ

  1. ̫ƽÇÅ ÓÚ 2008-05-03 12:35:55·¢±í:

    ²»ÖªÂ¥Ö÷ ˵µÄµ½µ×ÊÇ Debian »¹ÊÇ Ubuntu

    q):-s