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

Linux 0.12ÄÚºË

ÔÚÓ¦ÓóÌÐò¿ª·¢Ê±£¬Ò²¾­³£ÐèÒªÈçϵĶ¨Ê±Æ÷. ÕâÀï¶Ô¶¨Ê±Æ÷×öÁËÒ»¸öÓÅ»¯£¬¾ÍÊÇÔÚ²åÈë¶ÓÁÐÖÐʱ½øÐÐÁËÒ»´ÎÅÅÐò£¬Ê¹µÃ¼ì²âʱ²»ÐèÒª±éÀúÕû¸öÁ´±í£¬Ö»Ðè°ÑÅÅÔÚÇ°ÃæµÄ¼¸¸öµ½Ê±µÄÈÎÎñÈ¡³öÀ´¾Í¿ÉÒÔÁË¡£
static struct timer_list {
     long jiffies;
     void (*fn)();
     struct timer_list * next;
} timer_list[TIME_REQUESTS], * next_timer = NULL;       /* next_timer Ϊ¶ÓÁÐÍ·Ö¸Õë*/
void add_timer(long jiffies, void (*fn)(void))
{
       struct timer_list * p;
       if (!fn)
            return;
       cli();
       if (jiffies <= 0) 
             (fn)();
       else {
             for (p = timer_list ; p < timer_list + TIME_REQUESTS ; p++)
                    if (!p->fn)
                         break;
             if (p >= timer_list + TIME_REQUESTS)
                    panic("No more time requests free");
  
             p->fn = fn;
             p->jiffies = jiffies;
             p->next = next_timer;
          &nb


Ïà¹ØÎĵµ£º

The Linux Kernel Module Programming Guide±Ê¼Ç

1¡¢Í¨¹ýlsmodÀ´»ñµÃÄÚºËÒѼÓÔØÁËÄÇЩģ¿é£¬Õâ¸öÃüÁîÊǶÁÈ¡/proc/modulesÎļþµÄÄÚÈÝÀ´»ñµÃÐÅÏ¢µÄ¡£
 
2¡¢ÄÚºËÄ£¿é¹ÜÀíÊØ»¤½ø³ÌkmodÖ´ÐÐmodprobeÈ¥¼ÓÔØÄÚºËÄ£¿é¡£modprobeµÄ¹¦ÄܺÍinsmodÀàËÆ£¬µ«ÊÇËü³ýÁË×°ÈëÖ¸¶¨Ä£¿éÍ⣬»¹Í¬Ê±×°ÈëÖ¸¶¨Ä£¿éËùÒÀÀµµÄÆäËûÄ£¿é¡£
 
3¡¢Èç¹ûÄÚºËÖдò¿ªÁËCONFIG_MODVERSIONSÑ¡Ïî£¬Ô ......

LinuxÏÂKill¶à¸ö½ø³Ì

¹¤×÷Öо­³£ÐèÒªKill¶à¸ö½ø³Ì£¬Èç¹ûÕâЩ½ø³ÌÓй²Í¬µÄÌص㣬¾Í¿ÉÒÔÓÃÒ»ÌõÃüÁîKillµôËüÃÇ¡£
±ÈÈçÇå³ýOracleÊý¾Ý¿âµÄËùÓÐÔ¶³ÌÁ¬½Ó½ø³Ì£º

ps -efww|grep LOCAL=NO|grep -v grep|cut -c 9-15|xargs kill -9
¡¡¡¡¹ÜµÀ·û“|”ÓÃÀ´¸ô¿ªÁ½¸öÃüÁ¹ÜµÀ·û×ó±ßÃüÁîµÄÊä³ö»á×÷Ϊ¹ÜµÀ·ûÓÒ±ßÃüÁîµÄÊäÈë¡£ÏÂÃæ˵˵Óà ......

ǶÈëʽLinuxÏ´®¿Ú±à³Ì

ǶÈëʽLinuxÏ´®¿Ú±à³Ì
Ò»¡¢ÅäÖÃÄÚºË
ÔÚǶÈëʽLinuxϽøÐд®¿Ú±à³Ì֮ǰ£¬ÏÈÔÚÄÚºËÖÐÅäÖô®¿Ú²¿·Ö£¬ÈçÏ£º
Device Drivers--->
       character devices--->
              Serial drivers--->
  &nb ......

redhat linux ÏÂFTPÅäÖÃ (¶þ)

redhat linux ÏÂFTPÅäÖá£(vsftp)
 
1.Æô¶¯vsftp£º /sbin/service vsftpd start  ±¸×¢d´ú±íÔÙºǫ́Æô¶¯¡£
2.²é¿´ÊÇ·ñÆô¶¯£¬¾ÍµÇ½µ½FTPÊÔÊÔ¡£ µÇ½FTP£ºftp localhost Í˳öFTP£ºbye
3.²é¿´Linux IP £ºifconfig
ÔÚ¿ØÖƹÜÀį́Ï¿ɿ´¼ûÈçÏ´úÂ룺¿ÉÒÔ¿´³ö£¬IP Address ÊÇ£º192.168.0.128
 
4.Èç¹û¾ÖÓòÍ ......

Linux²Ù×÷ϵͳÏÂÉèÖû·¾³±äÁ¿PathµÄ·½·¨

ÓÐÁ½ÖÖÉèÖû·¾³±äÁ¿ PATH µÄ·½·¨¡£µÚÒ»ÖÖÊÊÓÃÓÚΪµ¥Ò»Óû§ÉèÖà PATH£¬µÚ¶þÖÖÊÇΪȫ¾ÖÉèÖà PATH¡£
 
1.ÔÚÓû§Ö÷Ŀ¼ÏÂÓÐÒ»¸ö .bashrc Îļþ£¬¿ÉÒÔÔÚ´ËÎļþÖмÓÈë PATH µÄÉèÖÃÈçÏ£º
export PATH=”$PATH:/your path1/:/your path2/…..”
×¢Ò⣺ÿһ¸ö path Ö®¼äÒªÓà “:“ ·Ö¸ô¡£
× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ