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

linux Óëwindows netstatÃüÁî²é¿´¶Ë¿ÚÊÇ·ñÕ¼ÓÃ

 netstatÃüÁîÊÇÒ»¸ö¼à¿ØTCP/IPÍøÂçµÄ·Ç³£ÓÐÓõŤ¾ß£¬Ëü¿ÉÒÔÏÔʾ·ÓÉ±í¡¢Êµ¼ÊµÄÍøÂçÁ¬½ÓÒÔ¼°Ã¿Ò»¸öÍøÂç½Ó¿ÚÉ豸µÄ״̬ÐÅÏ¢£¬ÕâÀïÎÒÖ»Óõ½ÆäÖеIJ¿·Ö¹¦ÄÜ.
netstat µÄ³£ÓòÎÊý: - t¡¢- u¡¢- wºÍ- x·Ö±ð±íʾTCP¡¢UDP¡¢RAWºÍUNIXÌ×½Ó×ÖÁ¬½Ó¡£-a±ê¼Ç£¬»¹»áÏÔʾ³öµÈ´ýÁ¬½Ó£¨Ò²¾ÍÊÇ˵´¦ÓÚ¼àÌýģʽ£©µÄÌ×½Ó×Ö¡£-l ÏÔʾÕýÔÚ±»¼àÌý(listen)µÄ¶Ë¿Ú, -n±íʾֱ½ÓÏÔʾ¶Ë¿ÚÊý×Ö¶ø²»ÊÇͨ¹ý²ì¿´/etc/serviceÀ´×ª»»Îª¶Ë¿ÚÃû,-pÑ¡Ïî±íʾÁгö¼àÌýµÄ³ÌÐò
1) netstat -tl
²é¿´µ±Ç°tcp¼àÌý¶Ë¿Ú
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State     
tcp        0      0 *:rrac                  *:*                     LISTEN     
tcp        0      0 *:34006                 *:*                     LISTEN     
......
2) netstat -tlp
²é¿´µ±Ç°tcp¼àÌý¶Ë¿Ú, ÐèÒªÏÔʾ¼àÌýµÄ³ÌÐòÃû,µ±²»Çå³þmysqlµÄ¼àÌý¶Ë¿Úʱ±È½ÏºÃÓÃ
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name  
tcp        0      0 *:rrac                  *:*       &nbs


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

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

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

LinuxʵÓôúÂë

LinuxʵÓôúÂë--Îļþϵͳ²Ù×÷
from cu
[size=13px]ÕâƪÎĵµÊµÓÃÐÔºÜÇ¿£¬Ëü²»Êǽ²Ä³¸öÃüÁîµÄ²ÎÊý¾ßÌ庬Ò壬¶øÊÇ´Óʵ¼Ê¹¤×÷µÄ½Ç¶ÈÀ´¿¼ÂÇ£¬Íê³Éʲô¹¤×÷ÐèҪʲôָÁî¡£
  Îļþϵͳ²Ù×÷ÊÇ×î»ù±¾µÄ²Ù×÷£¬Ã»ÓÐÎļþϵͳ£¬²Ù×÷ϵͳ¸ù±¾¾ÍÔËÐв»ÁË¡£
  ÏÂÃæÊÇÎÒÃǾ­³£Òª×öµÄһЩÊÂÇé¡£ÔÚÏÂÃæ¾ßÌå²ÎÊýÒâÒå²»½ ......

LinuxÉèÖû·¾³±äÁ¿Ð¡½á

 
1¡¢×ܽᱳ¾°
ÔÚlinuxϵͳÏ£¬Èç¹ûÄãÏÂÔز¢°²×°ÁËÓ¦ÓóÌÐò£¬ºÜÓпÉÄÜÔÚ¼üÈëËüµÄÃû³Æʱ³öÏÖ“command not found”µÄÌáʾÄÚÈÝ¡£Èç¹ûÿ´Î¶¼µ½°²×°Ä¿±êÎļþ¼ÐÄÚ£¬ÕÒµ½¿ÉÖ´ÐÐÎļþÀ´½øÐвÙ×÷¾ÍÌ«·±ËöÁË¡£ÕâÉæ¼°µ½»·¾³±äÁ¿PATHµÄÉèÖÃÎÊÌ⣬¶øPATHµÄÉèÖÃÒ²ÊÇÔÚlinux϶¨ÖÆ»·¾³±äÁ¿µÄÒ»¸ö×é³É²¿·Ö¡£±¾°¸Àý»ùÓÚRedH ......

linux viÃüÁîʹÓÃ

 linuxÏÂvi±à¼­Æ÷ÃüÁî
Îı¾±à¼­Æ÷ÊÇËùÓмÆËã»úϵͳÖÐ×î³£ÓõÄÒ»ÖÖ¹¤¾ß¡£UNIXϵı༭Æ÷ÓÐex,sedºÍviµÈ£¬ÆäÖУ¬Ê¹ÓÃ×îΪ¹ã·ºµÄÊÇvi£¬¶øviÃüÁî·±¶à£¬ÂÛ̳ÀïºÃÏñÕâ·½ÃæµÄ×ܽ᲻¶à£¬ÒÔÏÂÉÔ×ö×ܽᣬÒÔ×ʹ²Ïí!¿ÊÍû¸üÕýºÍ²¹³ä!
¡¡¡¡½øÈëviµÄÃüÁî
¡¡¡¡vi filename :´ò¿ª»òн¨Îļþ£¬²¢½«¹â±êÖÃÓÚµÚÒ»ÐÐÊ×
¡¡¡¡vi +n filena ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ