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

linuxÖи÷ÖÖÐźŽéÉÜ

1.SIGHUPÐźÅ
     UNIXÖнø³Ì×éÖ¯½á¹¹Îª session (»á»°)°üº¬Ò»¸öǰ̨½ø³Ì×é¼°Ò»¸ö»ò¶à¸öºǫ́½ø³Ì×飬һ¸ö½ø³Ì×é°üº¬¶à¸ö½ø³Ì¡£Ò»¸ösession¿ÉÄÜ»áÓÐÒ»¸ösessionÊ×½ø³Ì£¬¶øÒ»¸ösessionÊ×½ø³Ì¿ÉÄÜ»áÓÐÒ»¸ö¿ØÖÆÖնˡ£Ò»¸ö½ø³Ì×é¿ÉÄÜ»áÓÐÒ»¸ö½ø³Ì×éÊ×½ø³Ì¡£½ø³Ì×éÊ×½ø³ÌµÄ½ø³ÌIDÓë¸Ã½ø³Ì×éIDÏàµÈ¡£Õâ¶ùÊÇ¿ÉÄÜ»áÓУ¬ÔÚÒ»¶¨Çé¿öÖ®ÏÂÊÇûÓеġ£ÓëÖն˽»»¥µÄ½ø³ÌÊÇǰ̨½ø³Ì£¬·ñÔò±ãÊǺǫ́½ø³Ì¡£
SIGHUP»áÔÚÒÔÏÂ3ÖÖÇé¿öϱ»·¢Ë͸øÏàÓ¦µÄ½ø³Ì£º
1¡¢Öն˹رÕʱ£¬¸ÃÐźű»·¢Ë͵½sessionÊ×½ø³ÌÒÔ¼°×÷ΪjobÌá½»µÄ½ø³Ì£¨¼´Óà & ·ûºÅÌá½»µÄ½ø³Ì£©
2¡¢sessionÊ×½ø³ÌÍ˳öʱ£¬¸ÃÐźű»·¢Ë͵½¸ÃsessionÖеÄǰ̨½ø³Ì×éÖеÄÿһ¸ö½ø³Ì
3¡¢Èô¸¸½ø³ÌÍ˳öµ¼Ö½ø³Ì×é³ÉΪ¹Â¶ù½ø³Ì×飬ÇҸýø³Ì×éÖÐÓнø³Ì´¦ÓÚֹͣ״̬£¨ÊÕµ½SIGSTOP»òSIGTSTPÐźţ©£¬¸ÃÐźŻᱻ·¢Ë͵½¸Ã½ø³Ì×éÖеÄÿһ¸ö½ø³Ì¡£
     ϵͳ¶ÔSIGHUPÐźŵÄĬÈÏ´¦ÀíÊÇÖÕÖ¹ÊÕµ½¸ÃÐźŵĽø³Ì¡£ËùÒÔÈô³ÌÐòÖÐûÓв¶×½¸ÃÐźţ¬µ±ÊÕµ½¸ÃÐźÅʱ£¬½ø³Ì¾Í»áÍ˳ö¡£
     ÏÂÃæ¹Û²ì¼¸ÖÖÒòÖն˹رյ¼Ö½ø³ÌÍ˳öµÄÇé¿ö£¬ÔÚÕâ¶ù½ø³ÌÍ˳öÊÇÒòΪÊÕµ½ÁËSIGHUPÐźš£login shellÊÇsessionÊ×½ø³Ì¡£
Ê×ÏÈдһ¸ö²âÊÔ³ÌÐò£¬´úÂëÈçÏ£º
#include <stdio.h>
#include <signal.h>
char **args;
void exithandle(int sig)
...{
        printf("%s : sighup received ",args[1]);
}
int main(int argc,char **argv)
...{
        args = argv;
        signal(SIGHUP,exithandle);
        pause();
       return 0;
}
³ÌÐòÖв¶×½SIGHUPÐźźó´òÓ¡Ò»ÌõÐÅÏ¢£¬pause()ʹ³ÌÐòÔÝÍ£¡£
±àÒëºóµÄÖ´ÐÐÎļþΪsigtest¡£
1¡¢Ãü Ásigtest front > tt.txt
   ²Ù ×÷£º¹Ø±ÕÖÕ¶Ë
   ½á ¹û£ºtt.txtÎļþµÄÄÚÈÝΪfront : sighup received
   Ô­ Òò: sigtestÊÇǰ̨½ø³Ì£¬Öն˹رպ󣬸ù¾ÝÉÏÃæÌáµ½µÄµÚ1ÖÖÇé¿ö£¬login shell×÷ΪsessionÊ×½ø³Ì£¬»áÊÕµ½SIGHUPÐźÅÈ»ºóÍ˳ö¡£¸ù¾ÝµÚ2ÖÖÇé¿ö£¬sigtest×÷Ϊǰ̨½ø³Ì£¬»áÊÕµ½login shell·¢³öµÄSIGHUPÐźš£
2¡¢Ãü Ásigtest back > tt.txt &
     ²Ù


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

LinuxÉ豸ģÐÍÖ®input×ÓϵͳÏê½â

Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......

windowsϺÍlinuxÏÂPHPÖ§³Öoracle

windowsÏÂ:
1.ÏÂÔØÓÃÓÚ Windows µÄ Instant Client Basic ³ÌÐò°ü:http://download.oracle.com/otn/nt/instantclient/111070/instantclient-basic-win32-11.1.0.7.0.zip
2.½âѹËõ
´´½¨Ò»¸ö×ÓĿ¼£¨ÀýÈ磬d:\oci£©£¬È»ºó´ÓѹËõÎļþÖи´ÖÆÒÔÏ¿⣺
oraociei10.dll
orannzsbb10.dll
oci.dll
µ½´ËĿ¼ÏÂ
´ò¿ªPHP.ini ......

linuxÏÂÆÕͨÓû§Çл»Îªroot

ÔÚLinuxϵͳÖУ¬rootÓû§ÊÇÒ»¸öȨÏ޷dz£´óµÄÓû§£¬ÕýÒòΪÆäȨÏÞ´óµ½ÄÜΣ¼°²Ù×÷ϵͳµÄ°²È«£¬ËùÒÔÎÒÃÇƽʱ²Ù×÷µçÄÔµÄʱºò¶¼ÊÇÓõÄÆÕͨÓû§
Ãû£¬Ö»ÓÐÔÚijЩ³¡ºÏÉèÖÃÐèÒª³¬¼¶Óû§È¨ÏÞµÄʱºòÔÙÁÙʱÓÃsuÃüÁîÇл»ÎªrootÓû§¡£²»¹ýÓÐʱºò²»ÏëÈÃÎÒµÄrootÃÜÂë¸æËß±ðÈË£¬µ«ÊÇÒ²Ïë±ðÈË×öһЩ³¬¹ý
ÆÕͨÓû§°²È«¼¶±ðµÄ²Ù×÷Ó¦¸ÃÔõô×öÄØ£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ