Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxÏÂÈýø³ÌÔËÐÐÔÚÖ¸¶¨µÄcpuÉÏ

×î½ü¸ºÔðµÄsvrѹÁ¦±È½Ï´ó£¬ÒµÎñÂß¼­Óе㸴ÔÓ,ÄÜÓÅ»¯µÄµØ·½ÒѾ­È«²¿ÓÅ»¯ÁË£¬ ĿǰÿÃë3k´Î£¬cpu¸ºÔØ»¹ÊÇ±È½Ï¸ß top¿´Ò»Ï£¬4ºËµÄcpu¸ºÔز»ÊÇÌ«¾ùºâ£¬´òË㿼ÂÇһϽ«ÒµÎñ½ø³ÌÖ¸¶¨µ½3¸öcpuÉÏÔËÐУ¬ÁíÍâÒ»¸öcpuרߺÔð´¦ÀíÍøÂçÊÕ·¢°ü£»´òËã³¢ÊÔһϣ¬Èç¹û»¹ÊDz»ÐУ¬ÔÙ¹ý¶Îʱ¼ä£¬·ÃÎÊÁ¿ÔÙÔö¼ÓµÄ»°£¬¾ÍÒª¼Ó»úÆ÷ÁË£¬ÎØÎØ ²¹³ä£º½ñÌì²âÊÔÁËһϣ¬Ð§¹ûͦºÃ£¬Í¬Ñù½ø³ÌÊýµÄÇé¿öÏ£¬½øÐÐcpu°ó¶¨ ÿ¸öcpu¶¼ÀûÓÃÆðÀ´ÁË£¬¸ºÔØÒ²±È²»°ó¶¨µÄÇé¿öϺÃÁËºÜ¶à ·ÖÎöÒ»ÏÂÓÐЧ¹ûµÄÔ­Òò£º ¿´ÁË¡¶linuxÄÚºËÉè¼ÆÓëʵÏÖ¡·µÄ42½Ú£¬¾õµÃÈËΪ¿ØÖÆÒ»ÏÂcpuµÄ°ó¶¨»¹ÊÇÓÐÓô¦µÄ
1¡¢linuxµÄSMP¸ºÔؾùºâÊÇ»ùÓÚ½ø³ÌÊýµÄ£¬Ã¿¸öcpu¶¼ÓÐÒ»¸ö¿ÉÖ´Ðнø³Ì¶ÓÁУ¬Ö»Óе±ÆäÖÐÒ»¸öcpuµÄ¿ÉÖ´ÐжÓÁÐÀï½ø³ÌÊý±ÈÆäËûcpu¶ÓÁнø³ÌÊý¶à25%ʱ£¬²Å»á½«½ø³ÌÒƶ¯µ½ÁíÍâ¿ÕÏÐcpuÉÏ£¬Ò²¾ÍÊÇ˵cpu0ÉϵĽø³ÌÊýÓ¦¸ÃÊDZÈÆäËûcpuÉ϶࣬µ«ÊÇ»áÔÚ25%ÒÔÄÚ 2¡¢ÎÒÃǵÄÒµÎñÖкķÑcpuµÄ·ÖËÄÖÖÀàÐÍ£¬(1)Íø¿¨ÖжÏ(2)1¸ö´¦ÀíÍøÂçÊÕ·¢°ü½ø³Ì(3)ºÄ·ÑcpuµÄn¸öworker½ø³Ì(4)ÆäËû²»Ì«ºÄ·ÑcpuµÄ½ø³Ì     »ùÓÚ1ÖÐµÄ ¸ºÔؾùºâÊÇÕë¶Ô½ø³ÌÊý£¬ÄÇô(1)(2)´ó²¿·Öʱ¼ä»á³öÏÖÔÚcpu0ÉÏ£¬(3)µÄn¸ö½ø³Ì»áËæ×ŵ÷¶È£¬Æ½¾ùµ½ÆäËû¶à¸öcpuÉÏ£¬(4)ÀïµÄ½ø³ÌÒ²ÊÇËæ×ŵ÷¶È·ÖÅäµ½¸÷¸öcpuÉÏ£» µ±·¢ÉúÍø¿¨ÖжϵÄʱºò£¬cpu±»´ò¶ÏÁË£¬´¦ÀíÍø¿¨Öжϣ¬ÄÇô·ÖÅäµ½cpu0ÉϵÄworker½ø³Ì¿Ï¶¨ÊÇÔËÐв»Á赀 ÆäËûcpuÉϲ»ÊÇÌ«ºÄ·ÑcpuµÄ½ø³Ì»ñµÃcpuʱ£¬¾ÍËãËüµÄʱ¼äƬºÜ¶Ì£¬ËüÒ²ÊÇÒªÖ´Ðеģ¬ÄÇôÕâ¸öʱºò£¬ÄãµÄworker½ø³Ì»¹ÊDZ»Ó°Ïìµ½ÁË£»°´ÕÕµ÷¶ÈÂß¼­£¬Ò»Öַdz£¶ñÁÓµÄÇé¿öÊÇ£º(1)(2)(3)µÄ½ø³ÌÈ«²¿·ÖÅäµ½cpu0ÉÏ£¬ÆäËû²»Ì«ºÄ·ÑcpuµÄ½ø³ÌÊýºÜ¶à£¬È«²¿·ÖÅäµ½cpu1£¬cpu2£¬cpu3ÉÏ¡£¡£ÄÇôÍø¿¨ÖжϷ¢ÉúµÄʱºò£¬ÄãµÄÒµÎñ½ø³Ì¾ÍµÃ²»µ½cpuÁË Èç¹û´ÓÒµÎñµÄ½Ç¶ÈÀ´Ëµ£¬worker½ø³ÌÔËÐÐÔ½¶à£¬¿Ï¶¨ÒµÎñ´¦ÀíÔ½¿ì£¬ÈËΪµÄ½«ËüÀ¦°óµ½ÆäËû¸ºÔص͵ÄcpuÉÏ£¬¿Ï¶¨ÄÜÌá¸ßworker½ø³ÌʹÓÃcpuµÄʱ¼ä ÕÒÁ˸öÀý×Ó£º ÏÖÔÚ¶àCPUµÄÇ÷ÊÆÔ½À´Ô½´óÁË. ÓÐʱºòΪÁ˸üºÃµØ²Ù×÷»úÆ÷, ÐèÒª½«Ä³¸ö½ø³Ì°ó¶¨µ½¾ßÌåµÄCPUÉÏÈ¥. ÏÂÃæ¸ø³öÁËÒ»¸ö½ø³Ì°ó¶¨µ½¾ßÌåµÄCPUÉÏÈ¥µÄÒ»¸öÀý×Ó. view plaincopy to clipboardprint?
·········10········20········30········40·····&


Ïà¹ØÎĵµ£º

LinuxÖа²×°Apache2ÊÖ¼Ç


²Î¿¼Îĵµ£ºhttp://lamp.linux.gov.cn/Apache/ApacheMenu/
Ø  ÏÂÔØApache2.2.4 µÄѹËõ°ü£¬ÎļþÃûΪ£ºApache21.tar.gz £»
Ø  ÔÚ /usr/local Ŀ¼Ï½âѹ´ËѹËõÎļþ£º
 [root@wxr local]# tar xzvf Apache21.tar.gz
Ö®ºóÉú³ÉÒ»¸öÃûΪ“httpd-2.2.4 ”µÄÎļþ¼Ð£»
Ø&n ......

¹¹½¨»ù±¾µÄLinux C ±à³Ì»·¾³ £¨×ªµÄÔõôÊղز»ÁË£©

  ¹¹½¨»ù±¾µÄLinux C ±à³Ì»·¾³ ÊÕ²Ø
±¾ÎÄ»ùÓÚdebian-40r0(ÄÚºË2.6.18)½éÉÜÒ»ÏÂÈçºÎÔÚÒ»¸ö±ê׼ϵͳÖй¹½¨Linux CµÄ»ù±¾±à³Ì¿ª·¢»·¾³¡£
Ò»¸öÍêÕûµÄ¿ª·¢»·¾³Ö÷Òª°üÀ¨Ëĸö²¿·Ö£º±ê×¼C¿â¡¢Í·Îļþ¡¢¹¤¾ßÁ´¡¢±à¼­Æ÷¡¢°ïÖúÎĵµ£¬ÏÂÃæÒÀ´Î½éÉÜ¡£
±ê×¼C¿âglibc
glibcÊÇgnu·¢²¼µÄlibc¿â£¬¼´cÔËÐп⡣glibcÊÇlinuxϵͳÖÐÄÚºËÖ ......

Linux ²âÊÔsendmailÓʼþ·¢ËÍ

ÓÖÅöµ½ÓʼþÎÊÌ⣬ÔÚmagentoǰ̨ע²áÐÂÓû§£¬Ï¶©µ¥¶¼Ã»ÓÐÊÕµ½Óʼþ¡£µ«ÊÇÌáʾ¶¼ÊÇ˵Õý³£¡£
Ö±½ÓÔÚsshÖÐʹÓÃÏÂÁÐÃüÁî²âÊÔ£¬Á¬½Ó³¬Ê±£º
echo "Subject: test" | /usr/lib/sendmail -v xinhaozheng@gmail.com
Ìáʾ£º
WARNING: local host name (server) is not qualified; see cf/README: WHO AM I?
xinhaozheng ......

Linux ÀýÐÐÐÔÃüÁîµÄ½¨Á¢

ʲôÊÇÀýÐÐÐÔÃüÁ
Linux ϵͳµÄÀýÐÐÐÔÃüÁîÓÐÄÄЩ£¿
½öÖ´ÐÐÒ»´ÎµÄ¹¤×÷Åų̣º at
Ñ­»·Ö´ÐеÄÀýÐÐÐÔÃüÁ
crontab
ϵͳµÄ
crontab É趨£º /etc/crontab
°²È«µÄ·À»¤£º /var/log/cron ¼Ç¼Îļþ
±¾ÕÂÏ°ÌâÁ·Ï°
ʲôÊÇÀýÐÐÐÔÃüÁ
ÿ¸öÈË»ò¶à»òÉÙ¶¼ÓÐһЩԼ»á»òÕßÊǹ¤×÷£¬ÓеŤ×÷ÊÇÀýÐÐÐԵģ¬ÀýÈçÿÄêÒ»´Îµ ......

Linuxѧϰ¼Æ»®

0 Äñ¸çµÄLinux˽·¿²Ë
1 GNU\Linux±à³ÌÖ¸ÄÏ
2 LinuxÉ豸Çý¶¯¿ª·¢Ïê½â.pdf
3 ÉîÈëÀí½âlinuxÄÚºË.pdf
4 Linux_ÄÚºËÍêȫעÊÍ_V11.pdf or Linux_ÄÚºË×¢ÊÍ.pdf
5 LINUXÄÚºËÔ´´úÂëÇé¾°·ÖÎö\scene(ÉÏ).pdf and scene(ÏÂ).pdf
Ä¿Ç°ÒѾ­µ½LinuxÉ豸Çý¶¯¿ª·¢Ïê½â.pdfÁË£¬¶øÇÒ±àÒëÉý¼¶ÄÚºËÒѾ­³É¹¦£¬³õ²½±àдÁ˼òµ¥µÄÄ£¿é¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ