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

LinuxϵͳÐÅÏ¢²é¿´ÃüÁî´óÈ«

ϵͳ
# uname -a               # ²é¿´ÄÚºË/²Ù×÷ϵͳ/CPUÐÅÏ¢
# head -n 1 /etc/issue   # ²é¿´²Ù×÷ϵͳ°æ±¾
# cat /proc/cpuinfo      # ²é¿´CPUÐÅÏ¢
# hostname               # ²é¿´¼ÆËã»úÃû
# lspci -tv              # ÁгöËùÓÐPCIÉ豸
# lsusb -tv              # ÁгöËùÓÐUSBÉ豸
# lsmod                  # Áгö¼ÓÔصÄÄÚºËÄ£¿é
# env                    # ²é¿´»·¾³±äÁ¿
×ÊÔ´
# free -m                # ²é¿´ÄÚ´æʹÓÃÁ¿ºÍ½»»»ÇøʹÓÃÁ¿
# df -h                  # ²é¿´¸÷·ÖÇøʹÓÃÇé¿ö
# du -sh <Ŀ¼Ãû>        # ²é¿´Ö¸¶¨Ä¿Â¼µÄ´óС
# grep MemTotal /proc/meminfo   # ²é¿´ÄÚ´æ×ÜÁ¿
# grep MemFree /proc/meminfo    # ²é¿´¿ÕÏÐÄÚ´æÁ¿
# uptime                 # ²é¿´ÏµÍ³ÔËÐÐʱ¼ä¡¢Óû§Êý¡¢¸ºÔØ
# cat /proc/loadavg      # ²é¿´ÏµÍ³¸ºÔØ
´ÅÅ̺ͷÖÇø
# mount | column -t      # ²é¿´¹Ò½ÓµÄ·ÖÇø״̬
# fdisk -l               # ²é¿´ËùÓзÖÇø
# swapon -s              # ²é¿´ËùÓн»»»·ÖÇø
# hdparm -i /dev/hda     # ²é¿´´ÅÅ̲ÎÊý(½öÊÊÓÃÓÚIDEÉ豸)
# dmesg | grep IDE       # ²é¿´Æô¶¯Ê±IDEÉ豸¼ì²â×´¿ö


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

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

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

LinuxÍø¹Ü±Ê¼Ç£¨18£©£º¶ÔLinuxϵͳϵĿª·¢»·¾³ÊáÀí

      ¾¡¹ÜLinux¿ª·¢µÄÏà¹Ø¸ÚλºÜ¶à£¬µ«³¤ÆÚÒÔÀ´Linux¿ª·¢Ã»ÓÐͳһµÄ¿ª·¢Æ½Ì¨£¬´ó¶àÊýµÄ¿ª·¢Õ߶¼Ö±½ÓʹÓÃVI¡¢GCCµÈÃüÁîÐй¤¾ß£¬ÕâÑùÆäʵ²»ÀûÓÚ´óÐÍÏîÄ¿µÄ¿ª·¢¡£ 1.ÒÀÈ»ÊÇÊìϤµÄ¿ª·¢Á÷³Ì ÔÚLinux²Ù×÷ϵͳÖУ¬CÓïÑÔ³ÌÐòµÄ¿ª·¢ºÍÆäËû»·¾³ÀàËÆ£¬³ÌÐòÉú³ÉÖ÷Òª·Ö³É±àÒë¡¢»ã±à¡¢Á¬½ÓµÈ¼¸¸ö²½Öè¡£ ± ......

Ôö´óLinuxµÄsocket×î´óÁ¬½ÓÊý

 ÒýÓÃhttp://hi.baidu.com/tim_bi/blog/item/f1038ed6e3399d2707088bb3.html
2009-02-28 22:58
×î½ü½ÓµÄÏîÄ¿ÊÇÄ£Äâ¶à¸ö
socket
¿Í»§¶ËÓë·þÎñÆ÷½øÐÐͨÐÅ¡£ÓÉÓÚ
Linux
ϵͳµÄÏÞÖÆ£¬ÔÚ
linux/include/linux/posix_types.h
ÎļþÖÐÓÐÈçϵĺ궨Ò壺
#undef __FD_SETSIZE
#define __FD_SETSIZE
1024
Õâ¸öºêÊ ......

¡¾×ª]Linux FTPÃüÁîÏê½â¼°Ê¹Óü¼ÇÉ

FTP>ascii: É趨ÒÔASCII·½Ê½´«ËÍÎļþ(ȱʡֵ)
FTP>bell: ÿÍê³ÉÒ»´ÎÎļþ´«ËÍ,±¨¾¯Ìáʾ.
FTP>binary: É趨ÒÔ¶þ½øÖÆ·½Ê½´«ËÍÎļþ.
FTP>bye: ÖÕÖ¹Ö÷»úFTP½ø³Ì,²¢Í˳öFTP¹ÜÀí·½Ê½.
FTP>case: µ±ÎªONʱ,ÓÃMGETÃüÁ±´µÄÎļþÃûµ½±¾µØ»úÆ÷ÖÐ,È«²¿×ª»»ÎªÐ¡Ð´×Öĸ.
FTP>cd: ͬUNIXµÄCDÃüÁî.
FTP>c ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ