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

Linux ɱËÀ½ø³Ì·½·¨´óÈ«(kill,killall)

*ɱËÀ½ø³Ì×ȫµÄ·½·¨Êǵ¥´¿Ê¹ÓÃkillÃüÁ²»¼ÓÐÞÊηû£¬²»´ø±êÖ¾¡£
 
Ê×ÏÈʹÓÃps -efÃüÁîÈ·¶¨ÒªÉ±ËÀ½ø³ÌµÄPID£¬È»ºóÊäÈëÒÔÏÂÃüÁ
 
# kill -pid
 
×¢ÊÍ£º±ê×¼µÄkillÃüÁîͨ³£¶¼ÄܴﵽĿµÄ¡£ÖÕÖ¹ÓÐÎÊÌâµÄ½ø³Ì£¬²¢°Ñ½ø³ÌµÄ×ÊÔ´ÊͷŸøϵͳ¡£È»¶ø£¬Èç¹û½ø³ÌÆô¶¯ÁË×Ó½ø³Ì£¬Ö»É±ËÀ¸¸½ø³Ì£¬×Ó½ø³ÌÈÔÔÚÔËÐУ¬Òò´ËÈÔÏûºÄ×ÊÔ´¡£ÎªÁË·ÀÖ¹ÕâЩËùνµÄ“½©Ê¬½ø³Ì”£¬Ó¦È·±£ÔÚɱËÀ¸¸½ø³Ì֮ǰ£¬ÏÈɱËÀÆäËùÓеÄ×Ó½ø³Ì¡£
 
*È·¶¨ÒªÉ±ËÀ½ø³ÌµÄPID»òPPID
 
# ps -ef | grep httpd
 
*ÒÔÓÅÑŵķ½Ê½½áÊø½ø³Ì
 
# kill -l PID
 
-lÑ¡Ïî¸æËßkillÃüÁîÓúÃÏñÆô¶¯½ø³ÌµÄÓû§ÒÑ×¢ÏúµÄ·½Ê½½áÊø½ø³Ì¡£µ±Ê¹ÓøÃÑ¡Ïîʱ£¬killÃüÁîÒ²ÊÔͼɱËÀËùÁôϵÄ×Ó½ø³Ì¡£µ«Õâ¸öÃüÁîÒ²²»ÊÇ×ÜÄܳɹ¦--»òÐíÈÔÈ»ÐèÒªÏÈÊÖ¹¤É±ËÀ×Ó½ø³Ì£¬È»ºóÔÙɱËÀ¸¸½ø³Ì¡£
 
*TERMÐźÅ
 
¸ø¸¸½ø³Ì·¢ËÍÒ»¸öTERMÐźţ¬ÊÔͼɱËÀËüºÍËüµÄ×Ó½ø³Ì¡£
 
# kill -TERM PPID
 
*killallÃüÁî
 
killallÃüÁîɱËÀͬһ½ø³Ì×éÄÚµÄËùÓнø³Ì¡£ÆäÔÊÐíÖ¸¶¨ÒªÖÕÖ¹µÄ½ø³ÌµÄÃû³Æ£¬¶ø·ÇPID¡£
 
# killall httpd
 
*Í£Ö¹ºÍÖØÆô½ø³Ì
 
ÓÐʱºòÖ»Ïë¼òµ¥µÄÍ£Ö¹ºÍÖØÆô½ø³Ì¡£ÈçÏ£º
 
# kill -HUP PID
 
¸ÃÃüÁîÈÃLinuxºÍ»ºµÄÖ´Ðнø³Ì¹Ø±Õ£¬È»ºóÁ¢¼´ÖØÆô¡£ÔÚÅäÖÃÓ¦ÓóÌÐòµÄʱºò£¬Õâ¸öÃüÁîºÜ·½±ã£¬ÔÚ¶ÔÅäÖÃÎļþÐ޸ĺóÐèÒªÖØÆô½ø³Ìʱ¾Í¿ÉÒÔÖ´ÐдËÃüÁî¡£
 
*¾øɱ kill -9 PID
 
ͬÒâµÄ kill -s SIGKILL
 
Õâ¸öÇ¿´óºÍΣÏÕµÄÃüÁîÆÈʹ½ø³ÌÔÚÔËÐÐʱͻȻÖÕÖ¹£¬½ø³ÌÔÚ½áÊøºó²»ÄÜ×ÔÎÒÇåÀí¡£Î£º¦Êǵ¼ÖÂϵͳ×ÊÔ´ÎÞ·¨Õý³£ÊÍ·Å£¬Ò»°ã²»ÍƼöʹÓ㬳ý·ÇÆäËû°ì·¨¶¼ÎÞЧ¡£
 
µ±Ê¹ÓôËÃüÁîʱ£¬Ò»¶¨ÒªÍ¨¹ýps -efÈ·ÈÏûÓÐÊ£ÏÂÈκν©Ê¬½ø³Ì¡£Ö»ÄÜͨ¹ýÖÕÖ¹¸¸½ø³ÌÀ´Ïû³ý½©Ê¬½ø³Ì¡£Èç¹û½©Ê¬½ø³Ì±»initÊÕÑø£¬ÎÊÌâ¾Í±È½ÏÑÏÖØÁË¡£É±ËÀinit½ø³ÌÒâζ׏رÕϵͳ¡£
 
Èç¹ûϵͳÖÐÓн©Ê¬½ø³Ì£¬²¢ÇÒÆ丸½ø³ÌÊÇinit£¬¶øÇÒ½©Ê¬½ø³ÌÕ¼ÓÃÁË´óÁ¿µÄϵͳ×ÊÔ´£¬ÄÇô¾ÍÐèÒªÔÚij¸öʱºòÖØÆô»úÆ÷ÒÔÇå³ý½ø³Ì±íÁË¡£


Ïà¹ØÎĵµ£º

ʵս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±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

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

Linux yum ÃüÁî½éÉÜ


ʲôÊÇ yum
¡¡¡¡yum ÊÇ yellowdog updater modified µÄËõд¡£yellowdog ÊÇÒ»¸ö Linux µÄ distribution£¬RH ½«ÕâÖÖÉý¼¶¼¼ÊõÀûÓõ½×Ô¼ºµÄ distribution ÐγÉÁËÏÖÔÚµÄ yum£¬¸Ð¾õÉÏ yum ºÍ apt µÄÔ­ÀíÀàËÆ£¬µ«ÊÇ apt ÊDZàÒë´úÂ룬ִÐÐЧÂÊÔ¶¸ßÓÚʹÓà python д³ÉµÄ yum¡£
¡¡¡¡yum µÄÀíÄîÊÇʹÓÃÒ»¸öÖÐÐIJֿâ(repository)¹ÜÀí ......

Linuxѧϰ±Ê¼ÇÁãÁãÒ»

LinuxµÄÆðÔ´
UnixÉÌÒµ»¯ºó£¬ÏÖÓÐMinix£¬ºóÓÐLinux¡£LinuxÊDzÎÕÕUnixдµÄ¡£
΢Äںˡ¢ºêÄںˣ»
²Ù×÷ϵͳÌṩµÄ¹¦ÄÜÓÐÁ½²¿·Ö£º½ø³Ì¹ÜÀíºÍΪ½ø³ÌÌṩµÄ·þÎñ¡£
Ϊ½ø³ÌÌṩµÄ·þÎñ°üÀ¨£ºÎļþϵͳ¡¢É豸Çý¶¯¡¢½ø³Ì¼äͨÐÅ¡£
Ϊ½ø³ÌÌṩ·þÎñ²¿·Ö¿ÉÒÔÒÔ¶ÀÁ¢µÄ½ø³Ì´æÔÚ£¬ÍÑÀë³öÄںˣ¬Õâ¾ÍÊÇ΢Äںˡ£¶ø°üº¬ÁËÕⲿ·ÖÕⲿ·Ö·þÎñµÄ£¬¾Í ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ