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

linux¼à¿ØºÍ¹ÜÀí.txt

<P>ps£º²é¿´ÏµÍ³ÖеĽø³Ì£¬LinuxÖпÉÒÔʹÓÃps -aux²é¿´ËùÓнø³Ì </P> <P>²ÎÊýw±íʾ¼Ó¿íÏÔʾµÄÃüÁîÐУ¬²ÎÊýw¿ÉÒÔд¶à´Î£¬Í¨³£×î¶àд3´Î£¬±íʾ¼Ó¿í3´Î£¬Õâ×ãÒÔÏÔʾºÜ³¤µÄÃüÁîÐÐÁË¡£ÀýÈ磺ps -auxwww </P> <P>top£ºÏÔʾϵͳÄÚ´æ¡¢cpuʹÓÃÇé¿ö£¬²¢¿É×Ô¶¯Ë¢Ð½ø³ÌÁбí </P> <P>vmstat£ºÏÔʾµ±Ç°µÄÄÚ´æʹÓÃÇé¿ö </P> <P>netstat£ºÏÔʾÍøÂç×´¿ö£¬Ê¹ÓòÎÊýp¿ÉÒԲ鿴¶ÔÓ¦µÄ½ø³ÌºÅ¼°³ÌÐòÃû£¬ </P> <P>ͨ³£Ê¹ÓòÎÊýa£¨ÏÔʾËùÓÐÁ¬½ÓÇé¿ö£©ºÍn£¨²»·´²éÓòÃûºÍ·þÎñÃû£©£¬ÀýÈ磺netstat -anp¡£ </P> <P>²é¿´·þÎñÆ÷ÕìÌýÇé¿ö£¬Ê¹Óãºnetstat -an | grep LISTEN </P> <P>²é¿´·þÎñÆ÷Òѽ¨Á¢µÄÁ¬½Ó£¬Ê¹Óãºnetstat -an | grep ESTABLISHED </P> <P>ifconfig£º²é¿´(»òÉèÖã©ÍøÂçÉ豸ÐÅÏ¢ </P> <P>ifconfig -a£º²é¿´ËùÓÐÍøÂçÉèÖÃÐÅÏ¢ </P> <P>last£ºÏÔʾµÇ¼µ½·þÎñÆ÷µÄÇé¿öÒÔ¼°·þÎñÆ÷ÖØÆôÇé¿ö </P> <P>df£ºÏÔʾӲÅ̿ռ估ʹÓÃÇé¿ö£¬LinuxÏ¿ÉÒÔ´ø²ÎÊýh£¬ÏÔʾ½á¹û¸üÈËÐÔ»¯¡£ÀýÈ磺 </P> <P>df -h Ó²Å̿ռ䰴ÈËÐÔ»¯ÏÔʾ </P> <P>df -k Ó²Å̿ռ䰴KBÏÔʾ </P> <P>df -m Ó²Å̿ռ䰴MBÏÔʾ </P> <P>w£ºÏÔʾµÇ¼µ½·þÎñÆ÷ÉϵÄÓû§Áбí </P> <P>&nbsp;</P> <P>ÒÔϼ¸¸öÃüÁî½öÕë¶ÔLinux </P> <P>lsof£ºÏÔʾµ±Ç°´ò¿ªµÄÎļþÁÐ±í£¬°üÀ¨½¨Á¢µÄsocketÁ¬½ÓµÈ¡£±¾ÃüÁî¿ÉÒÔÓÃÓÚ³ÌÐòÔ±¼ì²é±àдµÄ³ÌÐò´ò¿ªµÄÎļþÊý¡£ </P> <P>sysctl£ºÏÔʾ£¨»òÉèÖã©ÏµÍ³Äں˲ÎÊý </P> <P>sysctl -a ÏÔʾËùÓÐÄں˲ÎÊý </P> <P>sysctl -w ²ÎÊýÃû=²ÎÊýÖµ </P> <P>ÀýÈ磺sysctl -w fs.file-max=10240 ÉèÖÃϵͳÔÊÐíͬʱ´ò¿ªµÄ×î´óÎļþÊýΪ10240¡£ </P> <P>Äں˲ÎÊýfs.file-nr°üÀ¨Èý¸ö²ÎÊýÖµ£¬µÚÒ»¸ö²ÎÊý±íʾϵͳÖÐÔø¾­Í¬Ê±´ò¿ª¹ýµÄÎļþÊý·åÖµ£¬ </P> <P>µÚ¶þ¸ö²ÎÊý±íʾ¿ÕÏУ¨·ÖÅäºóÒÑÊÍ·Å£©µÄÎļþÊý£¬ </P> <P>µÚÈý¸ö²ÎÊý±íʾ¿ÉÒÔ´ò¿ªµÄ×î´óÎļþÊý£¬ÆäÖµµÈÓÚfs.file-max¡£ </P> <P>µ±Ç°´ò¿ªµÄÎļþÊý = µÚÒ»¸ö²ÎÊýÖµ - µÚ¶þ¸ö²ÎÊýÖµ </P> <P>ÀýÈ磺 </P> <P>fs.file-nr = 977 223 10240 </P> <P>µ±Ç°´ò¿ªµÄÎļþÊý = 977 - 233 = 744 &l


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì (Æß) SDPЭÒé

Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖЭÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀЭÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

LinuxÉ豸ģÐÍÖ®input×ÓϵͳÏê½â

Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......

LinuxÍøÂçЭÒéÕ»(Ò»)——SocketÈëÃÅ(1)

1¡¢TCP/IP²Î¿¼Ä£ÐÍ
ΪÁËʵÏÖ¸÷ÖÖÍøÂçµÄ»¥Á¬£¬¹ú¼Ê±ê×¼»¯×éÖ¯(ISO)Öƶ¨ÁË¿ª·Åʽϵͳ»¥Á¬(OSI)²Î¿¼Ä£ÐÍ¡£¾¡¹ÜOSIµÄÌåϵ½á¹¹´ÓÀíÂÛÉϽ²ÊDZȽÏÍêÕûµÄ£¬µ«Êµ¼ÊÉÏ£¬ÍêÈ«·ûºÏOSI¸÷²ãЭÒéµÄÉÌÓòúÆ·È´ºÜÉÙ½øÈëÊг¡¡£¶øʹÓÃTCP/IP ЭÒéµÄ²úÆ·È´´óÁ¿Ó¿ÈëÊг¡£¬¼¸ºõËùÓеŤ×÷Õ¾¶¼ÅäÓÐTCP/IPЭÒ飬ʹµÃTCP/IP ³ÉΪ¼ÆËã»úÍøÂçµÄʵ¼ÊµÄ¹ ......

Linux Network Tuning LinuxÍøÂç»·¾³ÐÔÄÜÓÅ»¯µ÷Õû

Linux Network Tuning LinuxÍøÂç»·¾³ÐÔÄÜÓÅ»¯µ÷Õû
À´Ô´£ºcnbird2008µÄרÀ¸ ×÷Õߣº ·¢²¼Ê±¼ä£º2009-06-20 ±êÇ©£ºlinux linuxÐÔÄÜÓÅ»¯ linuxÅäÖÃ
 
(ÒÔǰдµÄ,µ±Ê±ÓõÄRH Linux AS5.)
ÈçÏÂÍøÂçÅäÖòÎÊýµ÷Õû,Ö÷ÒªÊÇÕë¶ÔÇëÇóѹÁ¦´óµÄLinux (2.6 kernel)·þÎñÆ÷¶øÑÔ.
Èç¹û·þÎñÆ÷ѹÁ¦²»´ó,ÄÇôά³ÖĬÈϼ´¿É.
 
Ï ......

Linux×ßÔÚԤװµÄ´óµÀÉÏ






<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
-->
        ÔÚ±¾ÎÄÖУ¬
Linux
ÊÇ
GNU/Linux
×ÀÃæϵͳµÄ·º³Æ£¬ÆäµäÐÍ´ú±íÊÇ
Ubuntu
9.10
·¢Ðа档¼ÆËã»úԤװ
Linux
ÊÇÈËÃǶàÄêÀ´µÄÃÎÏë¡£Èç½ñ£¬Õâ¸öÃÎÏëÖÕÓÚʵÏÖÁË¡£´Ë»°µ±Õ棿
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ