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

Linux ÐźÅsignal´¦Àí»úÖÆ Èý

Ç°ÃæÁ½½ÚÒѾ­½éÉÜÁËÓйØÐźŵĴ󲿷ÖÖª
ʶ¡£ÕâÒ»½ÚÎÒÃÇÀ´Á˽âÒ»ÏÂÕâЩϵͳµ÷Óá£ÆäÖУ¬ÏµÍ³µ÷ÓÃsignalÊǽø³ÌÓÃÀ´É趨ij¸öÐźŵĴ¦Àí·½·¨£¬ÏµÍ³µ÷ÓÃkillÊÇÓÃÀ´·¢ËÍÐźŸøÖ¸¶¨½ø³ÌµÄ¡£Õâ

Á½¸öµ÷ÓÿÉÒÔÐγÉÐźŵĻù±¾²Ù×÷¡£ºóÁ½¸öµ÷ÓÃpauseºÍalarmÊÇͨ¹ýÐźÅʵÏֵĽø³ÌÔÝÍ£ºÍ¶¨Ê±Æ÷£¬µ÷ÓÃalarmÊÇͨ¹ýÐźÅ֪ͨ½ø³Ì¶¨Ê±Æ÷µ½Ê±¡£Ëù
ÒÔÔÚÕâÀÎÒÃÇ»¹Òª½éÉÜÕâÁ½¸öµ÷Óá£
        1¡¢signal ϵͳµ÷ÓÃ
        ϵͳµ÷ÓÃsignalÓÃÀ´É趨ij¸öÐźŵĴ¦Àí·½·¨¡£¸Ãµ÷ÓÃÉùÃ÷µÄ¸ñʽÈçÏ£º
        void (*signal(int signum, void (*handler)(int)))(int);
        ÔÚʹÓøõ÷ÓõĽø³ÌÖмÓÈëÒÔÏÂÍ·Îļþ£º
        #include <signal.h>
        ÉÏÊöÉùÃ÷¸ñʽ±È½Ï¸´ÔÓ£¬Èç¹û²»Çå³þÈçºÎʹÓã¬Ò²¿ÉÒÔͨ¹ýÏÂÃæÕâÖÖÀàÐͶ¨ÒåµÄ¸ñʽÀ´Ê¹Óã¨POSIXµÄ¶¨Ò壩£º
        typedef void (*sighandler_t)(int);
        sighandler_t signal(int signum, sighandler_t handler);
        µ«ÕâÖÖ¸ñʽÔÚ²»Í¬µÄϵͳÖÐÓв»Í¬µÄÀàÐͶ¨Ò壬ËùÒÔҪʹÓÃÕâÖÖ¸ñʽ£¬×îºÃ»¹ÊDzο¼Ò»ÏÂÁª»úÊֲᡣ
        ÔÚµ÷ÓÃÖУ¬²ÎÊýsignumÖ¸³öÒªÉèÖô¦Àí·½·¨µÄÐźš£µÚ¶þ¸ö²ÎÊýhandlerÊÇÒ»¸ö´¦Àíº¯Êý£¬»òÕßÊÇ
        SIG_IGN£ººöÂÔ²ÎÊýsignumËùÖ¸µÄÐźš£
        SIG_DFL£º»Ö¸´²ÎÊýsignumËùÖ¸ÐźŵĴ¦Àí·½·¨ÎªÄ¬ÈÏÖµ¡£
       
´«µÝ¸øÐźŴ¦ÀíÀý³ÌµÄÕûÊý²ÎÊýÊÇÐźÅÖµ£¬ÕâÑù¿ÉÒÔʹµÃÒ»¸öÐźŴ¦ÀíÀý³Ì´¦Àí¶à¸öÐźš£ÏµÍ³µ÷ÓÃsignal·µ»ØÖµÊÇÖ¸¶¨ÐźÅsignumÇ°Ò»´ÎµÄ´¦ÀíÀý³Ì
»òÕß´íÎóʱ·µ»Ø´íÎó´úÂëSIG_ERR¡£ÏÂÃæÀ´¿´Ò»¸ö¼òµ¥µÄÀý×Ó£º
C´úÂë < type="application/x-shockwave-flash" width="14" height="15" src="http://luckyclouds.javaeye.com/javascripts/syntaxhighlighter/clipboard_new.swf" src="http://luckyclouds.javaeye.com/javascripts/syntaxhighlighter/clipboard_new.swf"


Ïà¹ØÎĵµ£º

Linux ÀýÐÐÐÔÃüÁîµÄ½¨Á¢

ʲôÊÇÀýÐÐÐÔÃüÁ
Linux ϵͳµÄÀýÐÐÐÔÃüÁîÓÐÄÄЩ£¿
½öÖ´ÐÐÒ»´ÎµÄ¹¤×÷Åų̣º at
Ñ­»·Ö´ÐеÄÀýÐÐÐÔÃüÁ
crontab
ϵͳµÄ
crontab É趨£º /etc/crontab
°²È«µÄ·À»¤£º /var/log/cron ¼Ç¼Îļþ
±¾ÕÂÏ°ÌâÁ·Ï°
ʲôÊÇÀýÐÐÐÔÃüÁ
ÿ¸öÈË»ò¶à»òÉÙ¶¼ÓÐһЩԼ»á»òÕßÊǹ¤×÷£¬ÓеŤ×÷ÊÇÀýÐÐÐԵģ¬ÀýÈçÿÄêÒ»´Îµ ......

Linuxѧϰ¼Æ»®

0 Äñ¸çµÄLinux˽·¿²Ë
1 GNU\Linux±à³ÌÖ¸ÄÏ
2 LinuxÉ豸Çý¶¯¿ª·¢Ïê½â.pdf
3 ÉîÈëÀí½âlinuxÄÚºË.pdf
4 Linux_ÄÚºËÍêȫעÊÍ_V11.pdf or Linux_ÄÚºË×¢ÊÍ.pdf
5 LINUXÄÚºËÔ´´úÂëÇé¾°·ÖÎö\scene(ÉÏ).pdf and scene(ÏÂ).pdf
Ä¿Ç°ÒѾ­µ½LinuxÉ豸Çý¶¯¿ª·¢Ïê½â.pdfÁË£¬¶øÇÒ±àÒëÉý¼¶ÄÚºËÒѾ­³É¹¦£¬³õ²½±àдÁ˼òµ¥µÄÄ£¿é¡£ ......

linuxÏÂÈýø³ÌÔËÐÐÔÚÖ¸¶¨µÄcpuÉÏ

×î½ü¸ºÔðµÄsvrѹÁ¦±È½Ï´ó£¬ÒµÎñÂß¼­Óе㸴ÔÓ,ÄÜÓÅ»¯µÄµØ·½ÒѾ­È«²¿ÓÅ»¯ÁË£¬ ĿǰÿÃë3k´Î£¬cpu¸ºÔØ»¹ÊÇ±È½Ï¸ß top¿´Ò»Ï£¬4ºËµÄcpu¸ºÔز»ÊÇÌ«¾ùºâ£¬´òË㿼ÂÇһϽ«ÒµÎñ½ø³ÌÖ¸¶¨µ½3¸öcpuÉÏÔËÐУ¬ÁíÍâÒ»¸öcpuרߺÔð´¦ÀíÍøÂçÊÕ·¢°ü£»´òËã³¢ÊÔһϣ¬Èç¹û»¹ÊDz»ÐУ¬ÔÙ¹ý¶Îʱ¼ä£¬·ÃÎÊÁ¿ÔÙÔö¼ÓµÄ»°£¬¾ÍÒª¼Ó»úÆ÷ÁË£¬ÎØÎØ ²¹ ......

Linux ÎļþÀàÐͼ°ÎļþµÄÀ©Õ¹Ãû

1¡¢LinuxÎļþµÄÀ©Õ¹Ãû£»
һ̸µ½ÎļþÀàÐÍ£¬´ó¼Ò¾ÍÄÜÏëµ½WindowsµÄÎļþÀàÐÍ£¬±ÈÈçfile.txt¡¢file.doc¡¢file.sys¡¢file.mp3¡¢file.exeµÈ£¬¸ù¾ÝÎļþµÄºó׺¾ÍÄÜÅжÏÎļþµÄÀàÐÍ¡£µ«ÔÚLinuxÒ»¸öÎļþÊÇ·ñÄܱ»Ö´ÐУ¬ºÍºó׺ÃûûÓÐÌ«´óµÄ¹Øϵ£¬Ö÷Òª¿´ÎļþµÄÊôÐÔÓйء£µ«ÎÒÃÇÁ˽âÒ»ÏÂLinuxÎļþµÄºó׺Ãû»¹ÊÇÓбØÒªµÄ£¬ÌرðÊÇÎÒÃÇ×Ô¼º´´½ ......

Connection reset by peer > Linux ϵĴíÎó error.h

ÎÊÌ⣺Á½Ì¨DVRͬʱÁ¬½Óͬһ̨2·µÄDVS£¬ÆäÖÐһ̨DVRÕý³£Á¬½ÓDVSµÄÁ½Â·Êä³ö£¬Ô¤ÀÀÒ²Õý³£¡£
         ¶øÁíһ̨DVRÖ»ÄÜÁ¬ÉÏDVSµÄ1·Êä³ö£¬Áíһ·ÔõôҲÁ¬²»ÉÏ¡£
        
         ¸ú×Ù·¢ÏÖ£¬D ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ