Linux ÐźÅsignal´¦Àí»úÖÆ ¶þ
¶þ¡¢ÐÅ ºÅ »ú ÖÆ
ÉÏ Ò»½ÚÖнéÉÜÁËÐźŵĻù±¾¸ÅÄÔÚÕâÒ»½ÚÖУ¬ÎÒÃǽ«½éÉÜÄÚºËÈçºÎʵÏÖÐźŻúÖÆ¡£¼´ÄÚºËÈçºÎÏòÒ»¸ö½ø³Ì·¢ËÍÐźš¢½ø³ÌÈçºÎ½ÓÊÕÒ»¸öÐźš¢½ø³ÌÔõÑù¿ØÖÆ×Ô¼º¶ÔÐÅ ºÅµÄ·´Ó¦¡¢ÄÚºËÔÚʲôʱ»ú´¦ÀíºÍÔõÑù´¦Àí½ø³ÌÊÕµ½µÄÐźš£»¹Òª½éÉÜÒ»ÏÂsetjmpºÍlongjmpÔÚÐźÅÖÐÆðµ½µÄ×÷Óá£
1¡¢Äں˶ÔÐźŵĻù±¾´¦Àí·½·¨
ÄÚ ºË¸øÒ»¸ö½ø³Ì·¢ËÍÈíÖжÏÐźŵķ½·¨£¬ÊÇÔÚ½ø³ÌËùÔڵĽø³Ì±íÏîµÄÐźÅÓòÉèÖöÔÓ¦ÓÚ¸ÃÐźŵÄλ¡£ÕâÀïÒª²¹³äµÄÊÇ£¬Èç¹ûÐźŷ¢Ë͸øÒ»¸öÕýÔÚ˯ÃߵĽø³Ì£¬ÄÇôҪ¿´ ¸Ã½ø³Ì½øÈë˯ÃßµÄÓÅÏȼ¶£¬Èç¹û½ø³Ì˯ÃßÔڿɱ»ÖжϵÄÓÅÏȼ¶ÉÏ£¬Ôò»½Ðѽø³Ì£»·ñÔò½öÉèÖýø³Ì±íÖÐÐźÅÓòÏàÓ¦µÄ룬¶ø²»»½Ðѽø³Ì¡£ÕâÒ»µã±È½ÏÖØÒª£¬ÒòΪ½ø³Ì¼ì ²éÊÇ·ñÊÕµ½ÐźŵÄʱ»úÊÇ£ºÒ»¸ö½ø³ÌÔÚ¼´½«´ÓÄÚºË̬·µ»Øµ½Óû§Ì¬Ê±£»»òÕߣ¬ÔÚÒ»¸ö½ø³ÌÒª½øÈë»òÀ뿪һ¸öÊʵ±µÄµÍµ÷¶ÈÓÅÏȼ¶Ë¯Ãß״̬ʱ¡£
Äں˴¦ÀíÒ»¸ö½ø³ÌÊÕµ½µÄÐźŵÄʱ»úÊÇÔÚÒ»¸ö½ø³Ì´ÓÄÚºË̬·µ»ØÓû§Ì¬Ê±¡£ËùÒÔ£¬µ±Ò»¸ö½ø³ÌÔÚÄÚºË̬ÏÂÔËÐÐʱ£¬ÈíÖжÏÐźŲ¢²»Á¢¼´Æð×÷Óã¬ÒªµÈµ½½«·µ»ØÓû§Ì¬Ê±²Å´¦Àí¡£½ø³ÌÖ»Óд¦ÀíÍêÐźŲŻ᷵»ØÓû§Ì¬£¬½ø³ÌÔÚÓû§Ì¬Ï²»»áÓÐδ´¦ÀíÍêµÄÐźš£
ÄÚ ºË´¦ÀíÒ»¸ö½ø³ÌÊÕµ½µÄÈíÖжÏÐźÅÊÇÔڸýø³ÌµÄÉÏÏÂÎÄÖУ¬Òò´Ë£¬½ø³Ì±ØÐë´¦ÓÚÔËÐÐ״̬¡£Ç°Ãæ½éÉܸÅÄîµÄʱºò½²¹ý£¬´¦ÀíÐźÅÓÐÈýÖÖÀàÐÍ£º½ø³Ì½ÓÊÕµ½ÐźźóÍË ³ö£»½ø³ÌºöÂÔ¸ÃÐźţ»½ø³ÌÊÕµ½ÐźźóÖ´ÐÐÓû§É趨ÓÃϵͳµ÷ÓÃsignalµÄº¯Êý¡£µ±½ø³Ì½ÓÊÕµ½Ò»¸öËüºöÂÔµÄÐźÅʱ£¬½ø³Ì¶ªÆú¸ÃÐźţ¬¾ÍÏóûÓÐÊÕµ½¸ÃÐźÅËÆ µÄ¼ÌÐøÔËÐС£Èç¹û½ø³ÌÊÕµ½Ò»¸öÒª²¶×½µÄÐźţ¬ÄÇô½ø³Ì´ÓÄÚºË̬·µ»ØÓû§Ì¬Ê±Ö´ÐÐÓû§¶¨ÒåµÄº¯Êý¡£¶øÇÒÖ´ÐÐÓû§¶¨ÒåµÄº¯ÊýµÄ·½·¨ºÜÇÉÃÄÚºËÊÇÔÚÓû§Õ»ÉÏ´´ ½¨Ò»¸öеIJ㣬¸Ã²ãÖн«·µ»ØµØÖ·µÄÖµÉèÖóÉÓû§¶¨ÒåµÄ´¦Àíº¯ÊýµÄµØÖ·£¬ÕâÑù½ø³Ì´ÓÄں˷µ»Øµ¯³öÕ»¶¥Ê±¾Í·µ»Øµ½Óû§¶¨ÒåµÄº¯Êý´¦£¬´Óº¯Êý·µ»ØÔÙµ¯³öÕ»¶¥Ê±£¬ ²Å·µ»ØÔÏȽøÈëÄں˵ĵط½¡£ÕâÑù×öµÄÔÒòÊÇÓû§¶¨ÒåµÄ´¦Àíº¯Êý²»ÄÜÇÒ²»ÔÊÐíÔÚÄÚºË̬ÏÂÖ´ÐУ¨Èç¹ûÓû§¶¨ÒåµÄº¯ÊýÔÚÄÚºË̬ÏÂÔËÐеĻ°£¬Óû§¾Í¿ÉÒÔ»ñµÃÈκÎȨ ÏÞ£©¡£
ÔÚÐźŵĴ¦Àí·½·¨ÖÐÓм¸µãÌرðÒªÒýÆð×¢Òâ¡£µÚÒ»£¬ÔÚһЩϵͳÖУ¬µ±Ò»¸ö½ø³Ì´¦ÀíÍêÖжÏÐźŷµ»ØÓû§Ì¬Ö®Ç°£¬ÄÚºËÇå³ýÓû§ÇøÖÐÉè ¶¨µÄ¶Ô¸ÃÐźŵĴ¦ÀíÀý³ÌµÄµØÖ·£¬¼´ÏÂÒ»´Î½ø³Ì¶Ô¸ÃÐźŵĴ¦Àí·½·¨ÓÖ¸ÄΪĬÈÏÖµ£¬³ý·ÇÔÚÏÂÒ»´ÎÐźŵ½À´Ö®Ç°ÔÙ´ÎʹÓÃsignalϵͳµ÷Óá£Õâ¿ÉÄÜ»áʹµÃ½ø³Ì ÔÚµ÷ÓÃsignal֮ǰÓֵõ½¸Ã
Ïà¹ØÎĵµ£º
ÎÊÌ⣺Á½Ì¨DVRͬʱÁ¬½Óͬһ̨2·µÄDVS£¬ÆäÖÐһ̨DVRÕý³£Á¬½ÓDVSµÄÁ½Â·Êä³ö£¬Ô¤ÀÀÒ²Õý³£¡£
¶øÁíһ̨DVRÖ»ÄÜÁ¬ÉÏDVSµÄ1·Êä³ö£¬Áíһ·ÔõôҲÁ¬²»ÉÏ¡£
¸ú×Ù·¢ÏÖ£¬D ......
ÔÎÄ£ºhttp://www.webjx.com/htmldata/2007-10-05/1191585088.html
°´³£Àí²»¿ÉÒÔÍü¼ÇrootÓû§ÃÜÂëµÄ£¬µ«ÊÇÈç¹ûÕæµÄÍü¼ÇÁË£¬Ò²²»ÓóÕâ¸öÊÇÓа취½â¾öµÄ¡£
15Ãë»Ö¸´rootÃÜÂ룬µ±È»ÊÇûËãÉÏϵͳµÄÆô¶¯Ê±¼äÁË¡£ºÇºÇ¡£
ÏÂÃæÊÇÎÒ¸øroot»Ö¸´ÃÜÂëµÄʵÑé¹ý³Ì.£¨ÓõÄÊÇRHEL4£©¡£
ͼ1
¿ª»úµÄʱºò°´e £¬£¨Èçͼ£¬¾ÍÔÚÕâ¸öʱºò° ......
µ±ÎÒÃÇÐèҪij¸öÎļþ»òĿ¼ʱ£¬¶øÓÖ²»ÖªµÀ¸ÃÎļþ·ÅÔÚʲôµØ·½£¬Ôõô°ì£¿
ÔÚwindowsÏÂÃ棬¿ÉÒÔͨ¹ý“ËÑË÷”¹¦ÄܽøÐвéÕÒ£¬¶øÔÚlinuxÏ£¬Í¬ÑùÓÐÏàͬµÄ¹¦ÄÜ£º
which ²é¿´¿ÉÖ´ÐÐÎļþµÄλÖÃ
whereis ²é¿´ÎļþµÄλÖÃ
locate &n ......
°²×°²½Ö裺
Ø °²×°tomcatÇ°ÏÈÒª±£Ö¤°²×°ÁËJDK£¬¿ÉÒÔÓÃÃüÁî²é¿´ÊÇ·ñ°²×°ÁËJDK£º
[root@wxr webapps]# java -version
java version "1.6.0_19"
Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing)
Ø ÏÂÔØTom ......
Linux ÄÚºËÈíÖжÏ(softirq)Ö´ÐзÖÎö
Author: sinister
Email: sinister@whitecell.org
Homepage:http://www.whitecell.org
Date: 2007-01-11
±¾ÎÄ¶Ô Linux ÄÚºËÈíÖжϵÄÖ´ÐÐÁ÷³Ì½øÐÐÁË·ÖÎö£¬²¢¾¡¿ÉÄܵĽáºÏµ±Ç°ÔË
Ðл·¾³ÏêϸµØд³öÎÒµÄÀí½â£¬µ«Õâ²¢²»±íÃ÷ÎÒµÄÀí½âÒ»¶¨ÕýÈ·¡£Õâ±¾ ......