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

linux ulimitÓ÷¨¼ò½é

¹¤×÷ÖÐÓõ½gdbÀ´·ÖÎö³ÌÐò±ÀÀ£Éú²úµÄcoreÎļþÎÊÌ⣺
ÕâÀï´ÓÍøÉϲéÀ´µÄÒ»¸öÃüÁîÓ÷¨£º
1,˵Ã÷:
      ulimitÓÃÓÚshellÆô¶¯½ø³ÌËùÕ¼ÓõÄ×ÊÔ´.
      2,Àà±ð:
      shellÄÚ½¨ÃüÁî
      3,Óï·¨¸ñʽ:
      ulimit [-acdfHlmnpsStvw] [size]
      4,²ÎÊý½éÉÜ:
      -H ÉèÖÃÓ²¼þ×ÊÔ´ÏÞÖÆ.
      -S ÉèÖÃÈí¼þ×ÊÔ´ÏÞÖÆ.
      -a ÏÔʾµ±Ç°ËùÓеÄ×ÊÔ´ÏÞÖÆ.
      -c size:ÉèÖÃcoreÎļþµÄ×î´óÖµ.µ¥Î»:blocks
      -d size:ÉèÖÃÊý¾Ý¶ÎµÄ×î´óÖµ.µ¥Î»:kbytes
      -f size:ÉèÖô´½¨ÎļþµÄ×î´óÖµ.µ¥Î»:blocks
      -l size:ÉèÖÃÔÚÄÚ´æÖÐËø¶¨½ø³ÌµÄ×î´óÖµ.µ¥Î»:kbytes
      -m size:ÉèÖÿÉÒÔʹÓõij£×¤ÄÚ´æµÄ×î´óÖµ.µ¥Î»:kbytes
      -n size:ÉèÖÃÄں˿ÉÒÔͬʱ´ò¿ªµÄÎļþÃèÊö·ûµÄ×î´óÖµ.µ¥Î»:n
      -p size:ÉèÖùܵÀ»º³åÇøµÄ×î´óÖµ.µ¥Î»:kbytes
      -s size:ÉèÖöÑÕ»µÄ×î´óÖµ.µ¥Î»:kbytes
      -t size:ÉèÖÃCPUʹÓÃʱ¼äµÄ×î´óÉÏÏÞ.µ¥Î»:seconds
      -v size:ÉèÖÃÐéÄâÄÚ´æµÄ×î´óÖµ.µ¥Î»:kbytes 5,¼òµ¥ÊµÀý:
      5.¾ÙÀý
      ÔÚLinuxÏÂд³ÌÐòµÄʱºò£¬Èç¹û³ÌÐò±È½Ï´ó£¬¾­³£»áÓöµ½“¶Î´íÎ󔣨segmentation
      fault£©ÕâÑùµÄÎÊÌ⣬ÕâÖ÷Òª¾ÍÊÇÓÉÓÚLinuxϵͳ³õʼµÄ¶ÑÕ»´óС£¨stack size£©Ì«Ð¡µÄÔµ¹Ê£¬Ò»°ãΪ10M¡£ÎÒÒ»°ã°Ñstack
      sizeÉèÖóÉ256M£¬ÕâÑù¾ÍûÓжδíÎóÁË£¡ÃüÁîΪ£º
      ulimit   -s 262140
      Èç¹ûҪϵͳ×Ô¶¯¼ÇסÕâ¸öÅäÖ㬾ͱ༭/etc/profileÎļþ£¬ÔÚ “ulimit -S -c 0 > /dev/null
      2>&1”ÐÐÏ£¬Ìí¼Ó“ulimit   -s 262140&rdquo


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨Èý£© HCI²ã±à³Ì

1. HCI²ãЭÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI)  ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈЭÒé ......

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

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

linuxÉ豸Çý¶¯³ÌÐò——×Ö·ûÉ豸Çý¶¯³ÌÐò

ÔÚLinux²Ù×÷ϵͳÏÂÓÐ3ÀàÖ÷ÒªµÄÉ豸ÎļþÀàÐÍ£º¿éÉ豸¡¢×Ö·ûÉ豸ºÍÍøÂçÉ豸¡£ÕâÖÖ·ÖÀà·½·¨¿ÉÒÔ½«¿ØÖÆÊäÈë/Êä³öÉ豸µÄÇý¶¯³ÌÐòÓëÆäËû²Ù×÷ϵͳÈí¼þ·ÖÀ뿪À´¡£×Ö·ûÉ豸ÊÇÖ¸´æȡʱûÓлº´æµÄÉ豸¡£µäÐ͵Ä×Ö·ûÉ豸°üÀ¨Êó±ê¡¢¼üÅÌ¡¢´®Ðпڵȡ£
×Ö·ûÉ豸Óë¿éÉ豸µÄÖ÷ÒªÇø±ðÊÇ£ºÔÚ¶Ô×Ö·ûÉ豸·¢³ö¶Á/дÇëÇóʱ£¬Êµ¼ÊµÄÓ²¼þI/OÒ»°ã½ô½Ó× ......

linux¼òµ¥³£ÓÃÃüÁî(Ò»)

ÒÔϾÙÀýÖУºÀ¶É«×ÖÌåΪÃüÁîÊäÈ룬ºìÉ«×ÖÌåΪÖÕ¶ËÊä³ö¡£
1.1     ²é¿´ÎļþºÍĿ¼(ls)
lsÃüÁîÊÇlinux×î³£ÓõÄÃüÁÓÃÀ´ÏÔʾÎļþ»òÕßĿ¼µÄÏà¹ØÐÅÏ¢¡£Ò»°ã»á´îÅäÒÔϲÎÊý³£Óãº
-a£ºÏÔʾȫ²¿Îļþ£¬ÓëÒþ²ØÎļþ(¿ªÍ·Îª.µÄÎļþ)Ò»ÆðÁгöÀ´¡£
-l£ºÁгö³¤Êý¾Ý´®£¬°üÀ¨ÎļþÊôÐÔ¡£
-t£º°´Ê±¼äÅÅÐò¡£
-h£º ......

linuxϵͳ¹ÜÀí

ÕʺŹÜÀí
/etc/passwd         ϵͳÕʺÅÐÅÏ¢
/etc/shadow         ÕʺÅÃÜÂëÐÅÏ¢         ¾­MD5   32λ¼ÓÃÜ
          ÔÚÃÜÂëÀ¸Ç°Ãæ¼Ó¡º   *   ¡»¡º   !   ¡»½ûֹʹÓÃijÕʺÅ
/etc/group   &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ