Linux/Unix ³£ÓÃÃüÁîÈý
¾Å¡¢kill
1.×÷ÓÃ
killÃüÁîÓÃÀ´ÖÐÖ¹Ò»¸ö½ø³Ì¡£
2.¸ñʽ
kill [ £s signal | £p ] [ £a ] pid ...
kill £l [ signal ]
3.²ÎÊý
£s£ºÖ¸¶¨·¢Ë͵ÄÐźš£
£p£ºÄ£Äâ·¢ËÍÐźš£
£l£ºÖ¸¶¨ÐźŵÄÃû³ÆÁÐ±í¡£
pid£ºÒªÖÐÖ¹½ø³ÌµÄIDºÅ¡£
Signal£º±íʾÐźš£
4.˵Ã÷
½ø³ÌÊÇLinuxϵͳÖÐÒ»¸ö·Ç³£ÖØÒªµÄ¸ÅÄî¡£LinuxÊÇÒ»¸ö¶àÈÎÎñµÄ²Ù×÷ϵͳ£¬ÏµÍ³ÉϾ³£Í¬Ê±ÔËÐÐ×Ŷà¸ö½ø³Ì¡£ÎÒÃDz»¹ØÐÄÕâЩ½ø³Ì¾¿¾¹ÊÇÈçºÎ·ÖÅäµÄ£¬»òÕßÊÇÄÚºËÈçºÎ¹ÜÀí·ÖÅäʱ¼äƬµÄ£¬Ëù¹ØÐĵÄÊÇÈçºÎÈ¥¿ØÖÆÕâЩ½ø³Ì£¬ÈÃËüÃÇÄܹ»ºÜºÃµØÎªÓû§·þÎñ¡£
Linux ²Ù×÷ϵͳ°üÀ¨ÈýÖÖ²»Í¬ÀàÐ͵Ľø³Ì£¬Ã¿ÖÖ½ø³Ì¶¼ÓÐ×Ô¼ºµÄÌØµãºÍÊôÐÔ¡£½»»¥½ø³ÌÊÇÓÉÒ»¸öShellÆô¶¯µÄ½ø³Ì¡£½»»¥½ø³Ì¼È¿ÉÒÔÔÚǰ̨ÔËÐУ¬Ò²¿ÉÒÔÔÚºǫ́ÔËÐС£Åú´¦Àí½ø³ÌºÍÖÕ¶ËûÓÐÁªÏµ£¬ÊÇÒ»¸ö½ø³ÌÐòÁС£¼à¿Ø½ø³Ì£¨Ò²³ÆÏµÍ³ÊØ»¤½ø³Ì£©Ê±LinuxϵͳÆô¶¯Ê±Æô¶¯µÄ½ø³Ì£¬²¢ÔÚºǫ́ÔËÐС£ÀýÈ磬httpdÊÇÖøÃûµÄ Apache·þÎñÆ÷µÄ¼à¿Ø½ø³Ì¡£
killÃüÁîµÄ¹¤×÷ÔÀíÊÇ£¬ÏòLinuxϵͳµÄÄں˷¢ËÍÒ»¸öϵͳ²Ù×÷ÐźźÍij¸ö³ÌÐòµÄ½ø³Ì±êʶºÅ£¬È»ºóϵͳÄں˾ͿÉÒÔ¶Ô½ø³Ì±êʶºÅÖ¸¶¨µÄ½ø³Ì½øÐвÙ×÷¡£±ÈÈçÔÚtopÃüÁîÖУ¬ÎÒÃÇ¿´µ½ÏµÍ³ÔËÐÐÐí¶à½ø³Ì£¬ÓÐʱ¾ÍÐèҪʹÓÃkillÖÐֹijЩ½ø³ÌÀ´Ìá¸ßϵͳ×ÊÔ´¡£ÔÚ½²½â°²×°ºÍµÇ½ÃüÁîʱ£¬ÔøÌᵽϵͳ¶à¸öÐéÄâ¿ØÖÆÌ¨µÄ×÷ÓÃÊǵ±Ò»¸ö³ÌÐò³ö´íÔì³ÉϵͳËÀËøÊ±£¬¿ÉÒÔÇл»µ½ÆäËüÐéÄâ¿ØÖÆÌ¨¹¤×÷¹Ø±ÕÕâ¸ö³ÌÐò¡£´ËʱʹÓõÄÃüÁî¾ÍÊÇkill£¬ÒòΪkillÊÇ´ó¶àÊýShellÄÚ²¿ÃüÁî¿ÉÒÔÖ±½Óµ÷Óõġ£
5.Ó¦ÓÃʵÀý
£¨1£©Ç¿ÐÐÖÐÖ¹£¨¾³£Ê¹ÓÃɱµô£©Ò»¸ö½ø³Ì±êʶºÅΪ324µÄ½ø³Ì£º
££kill £9 324
£¨2£©½â³ýLinuxϵͳµÄËÀËø
ÔÚLinux ÖÐÓÐʱ»á·¢ÉúÕâÑùÒ»ÖÖÇé¿ö£ºÒ»¸ö³ÌÐò±ÀÀ££¬²¢ÇÒ´¦ÓÚËÀËøµÄ״̬¡£´Ëʱһ°ã²»ÓÃÖØÐÂÆô¶¯¼ÆËã»ú£¬Ö»ÐèÒªÖÐÖ¹(»òÕß˵ÊǹرÕ)Õâ¸öÓÐÎÊÌâµÄ³ÌÐò¼´¿É¡£µ± kill´¦ÓÚX-Window½çÃæÊ±£¬Ö÷ÒªµÄ³ÌÐò(³ýÁ˱ÀÀ£µÄ³ÌÐòÖ®Íâ)Ò»°ã¶¼ÒѾÕý³£Æô¶¯ÁË¡£´Ëʱ´ò¿ªÒ»¸öÖÕ¶Ë£¬ÔÚÄÇÀïÖÐÖ¹ÓÐÎÊÌâµÄ³ÌÐò¡£±ÈÈ磬Èç¹û Mozillaä¯ÀÀÆ÷³ÌÐò³öÏÖÁËËøËÀµÄÇé¿ö£¬¿ÉÒÔʹÓÃkillÃüÁîÀ´ÖÐÖ¹ËùÓаüº¬ÓÐMozollaä¯ÀÀÆ÷µÄ³ÌÐò¡£Ê×ÏÈÓÃtopÃüÁî²é´¦¸Ã³ÌÐòµÄPID£¬È»ºóʹÓÃkillÃüÁîÍ£Ö¹Õâ¸ö³ÌÐò£º
££kill £SIGKILL XXX
ÆäÖУ¬XXXÊǰüº¬ÓÐMozollaä¯ÀÀÆ÷µÄ³ÌÐòµÄ½ø³Ì±êʶºÅ¡£
£¨3£©Ê¹ÓÃÃüÁî»ØÊÕÄÚ´æ
ÎÒÃÇÖªµÀÄÚ´æ¶ÔÓÚϵͳÊǷdz£ÖØÒªµÄ£¬»ØÊÕÄÚ´æ¿ÉÒÔÌá¸ßϵͳ×ÊÔ´¡£killÃüÁî¿ÉÒÔ¼°Ê±µØÖÐֹһЩ“Ô½¹ì”µÄ³ÌÐò»òºÜ³¤Ê±¼äûÓÐÏàÓ¦µÄ³ÌÐò¡£ÀýÈ磬ʹÓÃtopÃüÁî·¢ÏÖÒ»¸öÎÞÓà (Z
Ïà¹ØÎĵµ£º
http://179401.cn/read.php?21
acpid
ÅäÖÃÎļþ£º/proc/acpi/event
ĬÈ϶˿ڣºÎÞ
˵Ã÷£ºAdvanced Configuration and Power Interface£¬ÎªÌæ´ú´«Í³µÄAPM µçÔ´¹ÜÀí±ê×¼¶øÍƳö
µÄÐÂÐ͵çÔ´¹ÜÀí±ê×¼¡£
ÊÇ·ñÐèÒªÆô¶¯£ºÈç¹ûÄãÐèÒª¶ÔµçÔ´½øÐйÜÀí£¬ÄǾÍÐèÒªÆô¶¯¡£
anacron
ÅäÖÃÎļþ£º/etc/anacron
ĬÈ϶˿ڣºÎÞ
˵Ã÷£ºÒ»¸ö ......
¹Ù·½ÍøÕ¾£ºhttp://www.linuxvirtualserver.org/
°Ù¶È°Ù¿Æ£ºhttp://baike.baidu.com/view/645050.htm?fr=ala0_1_1
ת×Ô£ºhttp://server.csdn.net/n/20090827/4278.html
ÓÃLVS¹¹¼Ü¸ºÔؾùºâLinux¼¯ÈºÏµÍ³ linux lvs
ÓÃLVS¹¹¼Ü¸ºÔؾùºâLinux¼¯ÈºÏµÍ³ linux lvs
×÷ÕߣºÓຣ·¢
Ñ¡ÓõÄLVSʵ¼ÊÉÏÊÇÒ»ÖÖLinux²Ù×÷ÏµÍ³É ......
ʲôÊÇÐéÄâÖ÷»ú
ÐéÄâÖ÷»úÓÃÓÚÔÚÎïÀíµÄһ̨Ö÷»úÉÏÔËÐжà¸öÕ¾µã£¬Æ©È磺www.example1.com¡¢www.example2.com£¬Ò²¿ÉÒÔÊÇÕâÑùµÄ£ºwww.example.com¡¢blog.example.com¡£
ÐéÄâÖ÷»úÓÐÁ½ÖÖÀàÐÍ£ºIP-based ºÍname-based£¬Ç°ÕßÓÃÓÚͬһ̨Ö÷»úÉϵĶà¸öÕ¾µã¾ßÓв»Í¬µÄIP µØÖ·£¬ºóÕßÓÃÓÚͬһ̨Ö÷»úÉϵĶà¸öÕ¾µãʹÓÃͬһ¸öIP µØÖ ......
àÅ£¬ÕâÊÇºÍÆ½Í¬Ñ§µÄµãÌâ×÷ÎÄÁË£¬ºÇºÇ£¬Ëû·ÇÒªÁ˽âÎÒÊÇÔõô¿ª·¢Linux³ÌÐòµÄ£¬Ö÷ÒªÊÇÕâ¸ö¹¤×÷»·¾³ÊÇÈçºÎµÄ£¿
ÔʼÎÊÌâÈçÏ£º
ÎÊ£º
ÀÏʦ£¬¿ÉÒÔдһƪÎÄÕ½éÉÜÒ»ÏÂÈçºÎʹÓÃvim´î½¨ºÃÓõÄlinux¿ª·¢»·¾³Â𣿣¨±ÈÈçvimÈçºÎÉèÖÿì½Ý¼ü¿ÉÒÔ×öµ½Ò»¼ü±àÒëºÍÔËÐУ¬³£ÓõIJå¼þÈçºÎ°²×°µÈ£©
´ð£º
ÎÒ²»»áÓÃvim£¬Ò²´Ó²»Óá£
ÎÊ£º
ÌýË ......