linux ¶¨Ê±ÈÎÎñ crontab Ïêϸ½âÊÍ
cron ÊÇlinuxµÄÄÚÖ÷þÎñ£¬µ«Ëü²»×Ô¶¯ÆðÀ´£¬¿ÉÒÔÓÃÒÔϵķ½·¨Æô¶¯¡¢¹Ø±ÕÕâ¸ö·þÎñ£º
ÒýÓÃ:
/sbin/service crond start //Æô¶¯·þÎñ
/sbin/service crond stop //¹Ø±Õ·þÎñ
/sbin/service crond restart //ÖØÆô·þÎñ
/sbin/service crond reload //ÖØÐÂÔØÈëÅäÖÃ
//=========================================================================
# Use the hash sign to prefix a comment
# +---------------- minute (0 - 59)
# | +------------- hour (0 - 23)
# | | +---------- day of month (1 - 31)
# | | | +------- month (1 - 12)
# | | | | +---- day of week (0 - 7) (Sunday=0 or 7)
# | | | | |
# * * * * * command to be executed
//=============================================================================
ºÜ¶àʱºò£¬ÄãûÓа취ÖØÐÂÆô¶¯crond£¬Õâ¸öʱºò¿ÉÒÔÏÈkillall crond È»ºóÔÙcrond restart¾ÍŶokÁË¡£
ÄãÒ²¿ÉÒÔ½«Õâ¸ö·þÎñÔÚϵͳÆô¶¯µÄʱºòÒ²×Ô¶¯Æô¶¯£º
ÒýÓÃ:
ÔÚ/etc/rc.d/rc.localÕâ¸ö½Å±¾µÄĩβ¼ÓÉÏ£º
/sbin/service crond start
ÏÖÔÚcronÕâ¸ö·þÎñÒѾÔÚ½ø³ÌÀïÃæÁË£¬ÎÒÃǾͿÉÒÔÓÃÕâ¸ö·þÎñÁË£¬cron·þÎñÌṩÒÔϼ¸ÖÖ½Ó¿Ú¹©´ó¼ÒʹÓãº
1.Ö±½ÓÓÃcrontabÃüÁî±à¼
cron·þÎñÌṩcrontabÃüÁîÀ´É趨cron·þÎñµÄ£¬ÒÔÏÂÊÇÕâ¸öÃüÁîµÄһЩ²ÎÊýÓë˵Ã÷£º
ÒýÓÃ:
crontab -u //É趨ij¸öÓû§µÄcron·þÎñ£¬Ò»°ãrootÓû§ÔÚÖ´ÐÐÕâ¸öÃüÁîµÄʱºòÐèÒª´Ë²ÎÊý
crontab -l //Áгöij¸öÓû§cron·þÎñµÄÏêϸÄÚÈÝ
crontab -r //ɾ³ýû¸öÓû§µÄcron·þÎñ
crontab -e //±à¼Ä³¸öÓû§µÄcron·þÎñ
±ÈÈç˵root²é¿´×Ô¼ºµÄcronÉèÖãº
ÒýÓÃ:
crontab -u root -l
ÔÙÀýÈ磬rootÏëɾ³ýfredµÄcronÉèÖãº
ÒýÓÃ:
crontab -u fred -r
ÔÚ±à¼cron·þÎñʱ£¬±à¼µÄÄÚÈÝÓÐһЩ¸ñʽºÍÔ¼¶¨£¬ÊäÈ룺
ÒýÓÃ:
crontab -u root -e
½øÈëvi±à¼Ä£Ê½£¬±à¼µÄÄÚÈÝÒ»¶¨Òª·ûºÏÏÂÃæµÄ¸ñʽ£º
ÒýÓÃ:
*/1 * * * * ls >> /tmp/ls.txt
Õâ¸ö¸ñʽµÄÇ°Ò»²¿·ÖÊǶÔʱ¼äµÄÉ趨£¬ºóÃæÒ»²¿·ÖÊÇÒªÖ´ÐеÄÃüÁÈç¹ûÒªÖ´Ð
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
¸ß¼¶¿É±à³Ì¿ØÖÆÆ÷
Èç¹ûϵͳֻÓÐÒ»¸öcpu£¬Ö÷picÊä³öÏßÒÔÖ±½ØÁ˵±µÄ·½Ê½Á¬½Óµ½cpuµÄintrÒý½Å¡£Èç¹ûϵͳÖаüº¬Á½¸ö»ò¶à¸öcpu,¾ÍÐèÒª¸ü¼Ó¸´ÔÓµÄpic.
intel´Óp3¿ªÊ¼ÒýÈëi/o¸ß¼¶¿É±ä³É¿ØÖÆÆ÷£¨APIC£©×é¼þ¡£80x86΢´¦ÀíÆ÷µ±Ç°ËùÓеÄcpu¶¼º¬ÓÐÒ»¸ö±¾µØapic¡£Ã¿¸ö±¾µØapic¶¼ÓÐ32λ¼Ä´æÆ÷£¬Ò»¸öÄÚ²¿Ê±ÖÓ£¬Ò»¸ö±¾µØ¶¨ÊÇÉ豸ÒÔ¼°Îª±¾µ ......
ÐźÅÖ¸¶¨´¦Àíº¯Êý
void (*signal (int signum,void (*handle)(int)))(int);ÉèÖÃij¸öÐźŵĴ¦Àí·½·¨
int sigaction(int signum,const struct sigaction *act,struct sigaction *oldact);ÓÃÓÚ¼ì²é»ò¸Ä±ä½ø³ÌÔÚ½Óµ½ÐźÅʱµÄ¶¯×÷
Ðźż¯²Ù×÷º¯Êý
static inline void sigaddset(sigset_t *set,int _sig);
static inline voi ......
1¡¢linuxÀï²é¿´ËùÓÐÓû§
£¨1£©ÔÚÖÕ¶ËÀï.ÆäʵֻÐèÒª²é¿´ /etc/passwdÎļþ¾ÍÐÐÁË.
£¨2£©¿´µÚÈý¸ö²ÎÊý:500ÒÔÉϵÄ,¾ÍÊǺóÃ潨µÄÓû§ÁË.ÆäËüÔòΪϵͳµÄÓû§.
»òÕßÓÃcat /etc/passwd |cut -f 1 -d :
2¡¢Óû§¹ÜÀíÃüÁî
useradd ×¢£ºÌí¼ÓÓû§
adduser ×¢£ºÌí¼ÓÓû§
passwd ×¢£ºÎªÓû§ÉèÖÃÃÜÂë
usermod ×¢£ºÐÞ¸ÄÓû§ÃüÁ ......
ÐÞ¸Ä linux ϵͳ/ect/profile Îļþ
ÔÚ×îºóÃæ¼Ó
export LC_ALL="zh_CN.GB18030"
ÐÞ¸Ä /etc/sysconfig/i18nÎļþ
LANG="zh_CN.GB18030"
LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
SUPPORTED="zh_CN.GB18030:zh_CN:zh:en_US.UTF-8:en_US:en"
SYSFONT="lat0-sun16"
SYSFONTACM="iso01"
ÕâÑù¾Í¿ÉÒÔ½â¾ölinuxÏÂÖÐÎÄ ......