linux ϵͳµ÷ÓÃÁÐ±í£¨×ª£©
ת×Ô£º
http://www.ibm.com/developerworks/cn/linux/kernel/syscall/part1/appendix.html
±¾ÎÄÁгöÁ˴󲿷ֳ£¼ûµÄLinuxϵͳµ÷Ó㬲¢¸½ÓмòÒªÖÐÎÄ˵Ã÷¡£
ÒÔÏÂÊÇLinuxϵͳµ÷ÓõÄÒ»¸öÁÐ±í£¬°üº¬Á˴󲿷ֳ£ÓÃϵͳµ÷ÓúÍÓÉϵͳµ÷ÓÃÅÉÉú³öµÄµÄº¯Êý¡£Õâ¿ÉÄÜÊÇÄãÔÚ»¥ÁªÍøÉÏËùÄÜ¿´µ½µÄΨһһƪÖÐÎÄ×¢Ê͵ÄLinuxϵͳµ÷ÓÃÁÐ±í£¬¼´Ê¹ÊǼòµ¥µÄ×ÖĸÐòÓ¢ÎÄÁÐ±í£¬ÄÜ×öµ½ÕâôÍêÈ«Ò²ÊǺܺ±¼ûµÄ¡£
°´ÕÕ¹ßÀý£¬Õâ¸öÁбíÒÔman
pagesµÚ2½Ú£¬¼´ÏµÍ³µ÷ÓýÚΪÀ¶±¾¡£°´ÕÕ±ÊÕßµÄÀí½â£¬¶ÔÆä×÷ÁË´óÖµķÖÀ࣬ͬʱҲ×÷ÁËһЩССµÄÐ޸ģ¬É¾È¥Á˼¸¸ö½ö¹©ÄÚºËʹÓ㬲»ÔÊÐíÓû§µ÷ÓõÄϵͳµ÷Ó㬶Ըö±ð±¾ÈËÉÔ¾õ²»Í׵ĵط½×÷ÁËһЩСµÄÐ޸ģ¬²¢¶ÔËùÓÐÁгöµÄϵͳµ÷Óø½ÉϼòҪעÊÍ¡£
ÆäÖÐÓÐһЩº¯ÊýµÄ×÷ÓÃÍêÈ«Ïàͬ£¬Ö»ÊDzÎÊý²»Í¬¡££¨¿ÉÄܺܶàÊìϤC++ÅóÓÑÂíÉϾÍÄÜÁªÏëÆðº¯ÊýÖØÔØ£¬µ«ÊDZðÍüÁËLinuxºËÐÄÊÇÓÃCÓïÑÔдµÄ£¬ËùÒÔÖ»ÄÜÈ¡³É
²»Í¬µÄº¯ÊýÃû£©¡£»¹ÓÐһЩº¯ÊýÒѾ¹ýʱ£¬±»ÐµĸüºÃµÄº¯ÊýËù´úÌæÁË£¨gccÔÚÁ´½ÓÕâЩº¯Êýʱ»á·¢³ö¾¯¸æ£©£¬µ«ÒòΪ¼æÈݵÄÔÒò»¹±£Áô×Å£¬ÕâЩº¯ÊýÎÒ»áÔÚÇ°Ãæ
±êÉÏ“*”ºÅÒÔʾÇø±ð¡£
Ò»¡¢½ø³Ì¿ØÖÆ£º
fork
´´½¨Ò»¸öнø³Ì
clone
°´Ö¸¶¨Ìõ¼þ´´½¨×Ó½ø³Ì
execve
ÔËÐпÉÖ´ÐÐÎļþ
exit
ÖÐÖ¹½ø³Ì
_exit
Á¢¼´ÖÐÖ¹µ±Ç°½ø³Ì
getdtablesize
½ø³ÌËùÄÜ´ò¿ªµÄ×î´óÎļþÊý
getpgid
»ñÈ¡Ö¸¶¨½ø³Ì×é±êʶºÅ
setpgid
ÉèÖÃÖ¸¶¨½ø³Ì×é±êÖ¾ºÅ
getpgrp
»ñÈ¡µ±Ç°½ø³Ì×é±êʶºÅ
setpgrp
ÉèÖõ±Ç°½ø³Ì×é±êÖ¾ºÅ
getpid
»ñÈ¡½ø³Ì±êʶºÅ
getppid
»ñÈ¡¸¸½ø³Ì±êʶºÅ
getpriority
»ñÈ¡µ÷¶ÈÓÅÏȼ¶
setpriority
ÉèÖõ÷¶ÈÓÅÏȼ¶
modify_ldt
¶Áд½ø³ÌµÄ±¾µØÃèÊö±í
nanosleep
ʹ½ø³Ì˯ÃßÖ¸¶¨µÄʱ¼ä
nice
¸Ä±ä·Öʱ½ø³ÌµÄÓÅÏȼ¶
pause
¹ÒÆð½ø³Ì£¬µÈ´ýÐźÅ
personality
ÉèÖýø³ÌÔËÐÐÓò
prctl
¶Ô½ø³Ì½øÐÐÌض¨²Ù×÷
ptrace
½ø³Ì¸ú×Ù
sched_get_priority_max
È¡µÃ¾²Ì¬ÓÅÏȼ¶µÄÉÏÏÞ
sched_get_priority_min
È¡µÃ¾²Ì¬ÓÅÏȼ¶µÄÏÂÏÞ
sched_getparam
È¡µÃ½ø³ÌµÄµ÷¶È²ÎÊý
sched_getscheduler
È¡µÃÖ¸¶¨½ø³ÌµÄµ÷¶È²ßÂÔ
sched_rr_get_interval
È¡µÃ°´RRËã·¨µ÷¶ÈµÄʵʱ½ø³ÌµÄʱ¼äƬ³¤¶È
sched_setparam
ÉèÖýø³ÌµÄµ÷¶È²ÎÊý
sched_setscheduler
ÉèÖÃÖ¸¶¨½ø³ÌµÄµ÷¶È²ßÂԺͲÎÊý
sched_yield
½ø³ÌÖ÷¶¯Èóö´¦ÀíÆ÷,²¢½«×Ô¼ºµÈºòµ÷¶È¶ÓÁжÓβ
vfork
´´½¨Ò»¸ö×Ó½ø³Ì£¬ÒÔ¹©Ö´ÐÐгÌÐò£¬³£ÓëexecveµÈͬʱʹÓÃ
wait
µÈ´ý×Ó½ø³ÌÖÕÖ¹
wait3
²Î¼ûwait
wai
Ïà¹ØÎĵµ£º
[Ìù½Ì³Ì]LinuxÏÂSquidµÄʹÓÃ
×öΪÑÛÏÂ×îÁ÷ÐеIJÙ×÷ϵͳ£¬LinuxÒѾԽÀ´Ô½Êܵ½ÊÀÈ˵ĹØ×¢¡£ËäȻĿǰLinuxµÄÈí¼þ»¹²»ÊǺܷḻ£¬
Ìæ´úWINDOWS×÷ΪÆÕͨPC»ú²Ù×÷ϵͳ»¹ÎªÊ±¹ýÔ磬µ«ÊÇÔÚ·þÎñÆ÷ÁìÓò£¬LinuxµÄÎȶ¨ÐÔ£¬¿É²Ù×÷ÐÔ¾ö²»
ÊäÓÚÈκβÙ×÷ϵͳ£¬²¢ÇÒÒ²ÓÐÓÅÐãµÄÈí¼þÖ§³Ö¡£Squid¾ÍÊÇÆäÖÐÖ®Ò»¡£Linux¼ÓSquidµÄ×éºÏ×öÎ ......
µÚÒ»²½£ºÔÚVMWAREÖУ¬ÔËÐÐÆô¶¯LINUXºó¡£µã»÷VM->INSTALL VMWare TOOLS£¬µã»÷OK¡££¨²¹³ä£ºÍ˳öVMWARE»Øµ½XPÓÃCTRL+ALT£©
µÚ¶þ²½£º½øÈëLINUXºó£¬ÔËÐÐÖնˡ£Ö´ÐÐmount /dev/cdromÒÔÎļþ·½Ê½¹ÒÔعâÇý£¨Èç¹ûûÓеÚÒ»²½£¬¾ÍûÓÐÕâÒ»²½£¬ÒòΪÐèÒªµÄTOOLSÊÇÒÔ¹âÇýÎļþÐÎʽ´æ·Å£© ......
½Å±¾Îļþ backup.sh
#!/bin/sh
a=`date "+%y_%m%d_%H%M"`
echo $a
/home/oracle/10g/bin/exp username@password@//192.168.0.126/SID owner=username FILE=/opt/beifen/126_username_$a.dmp
±¸·ÝµÄÎļþ¸ñʽÈ磺126_username_09_0920_2300.dmp
±àдÍêshell½Å±¾Ö®ºó£¬Òª¶ÔÆ丳Óè¿ÉÖ´ÐÐȨÏÞ¼°ÆäÓû§ËùÊô£º
# chmod 7 ......
ÍøÉϺܶàÌû×ÓÎÊxhellÁ¬½ÓlinuxÖÐÎÄÂÒÂ룬¾ø´ó²¿·ÖÊǽ«LANGÊôÐÔÖµÉèÖÃÓ¢ÎÄ£¬¼´export LANG=en_US.UTF-8;
µ«ÊÇÎÒÃǽ«ÏµÍ³ÉèÖÃΪÖÐÎÄ£¬µ±È»ÊÇÒòΪ×Ô¼ºÓÃÖÐÎÄ¿ÉÒÔÌá¸ßЧÂÊ£¬¼õÉÙ³ö´í¡£
ÕâÖÖ·½Ê½Ö»ÄÜÖα겻ÄÜÖα¾£¬Ï´ÎʹÓÃsshÁ¬linuxʱ»¹ÊÇ»áÂÒÂ룬
ÏÖÔÚ½«ÎÒ×Ô¼ºµÄ½â¾ö·½Ê½¹²Ïí¸ø´ó¼Ò¡£
±à¼/etc/sysconfig/i18n
½«ÎļþÖе ......