Linuxϵͳ¹ÜÀí °²È«Æª Ö®¿ª·Å¶Ë¿Ú
²é¿´ÏµÍ³Öпª·ÅµÄ¶Ë¿Ú£¬¹Ø±Õ²»ÐèÒªµÄ¶Ë¿ÚºÍ³ÌÐò£¬ÈçÏÂÀýÖвÙ×÷Á÷³Ì£º
1. ²é¿´¶ÔÍ⿪ÆôµÄ¶Ë¿Ú:
[root@mail ~]# nmap 127.0.0.1 #×¢£º´Ë´¦Ó¦¸Ã»»×÷¹«Íøip
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2010-04-20 11:06 CST
Interesting ports on 127.0.0.1
Not shown: 1668 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
1010/tcp open unknown
2. ¶Ô²»Ã÷¶Ë¿Ú½øÐвé·Ã
[root@mail ~]# netstat -anlp | grep 1010
tcp 0 0 0.0.0.0:1010 0.0.0.0:* LISTEN 3796/rpc.statd
#
#[root@mail ~]# lsof -p 3796
#
#
[root@mail init.d]# which rpc.statd
/sbin/rpc.statd
[root@mail ~]# rpm -qf /sbin/rpc.statd
nfs-utils-1.0.9-40.el5
[root@mail init.d]# ll /etc/init.d/nfs*
-rwxr-xr-x 1 root root 4668 Jan 21 2009 /etc/init.d/nfs
-rwxr-xr-x 1 root root 3465 Jan 21 2009 /etc/init.d/nfslock
[root@mail init.d]# service nfs status
rpc.mountd is stopped
nfsd is stopped
rpc.rquotad is stopped
[root@mail ~]# /etc/init.d/nfslock status
rpc.statd (pid 3796) is running...
3. ¹Ø±Õ²»Ïà¸ÉµÄÓ¦ÓÃ
[root@mail init.d]# service nfslock
Usage: /etc/init.d/nfslock {start|stop|status|restart|probe|condrestart}
[root@mail init.d]# service nfslock stop
Stopping NFS statd: [ OK ]
4. ¹Ø±Õ²»Ïà¸ÉµÄ·þÎñ
[root@mail init.d]# chkconfig --level 345 nfslock off
Ïà¹ØÎĵµ£º
ip ÊǸöÃüÁ ip ÃüÁîµÄ¹¦Äܺܶ࣡»ù±¾ÉÏËüÕûºÏÁË ifconfig Óë route ÕâÁ½¸öÃüÁ²»¹ýip µÄ¹¦ÄܸüÇ¿´ó£¡ Èç¹ûÄúÓÐÐËȤµÄ»°£¬Çë×ÔÐÐ vi /sbin/ifup ¾ÍÖªµÀÕû¸ö ifup ¾ÍÊÇÀûÓà ip Õâ¸öÃüÁîÀ´ÊµÏֵġ£ÏÂÃæ½éÉÜÒ»ÏÂʹÓ÷½·¨
[root@linux ~]# ip [option] [¶¯×÷] [ÃüÁî]
²ÎÊý£º
option £ºÉ趨µÄ²ÎÊý£¬Ö÷ÒªÓУº
  ......
1. gccµÄ__attribute__±àÒïÊôÐÔ
ÒªÁ˽âLinux Kernel´úÂëµÄ·Ö¶ÎÐÅÏ¢£¬ÐèÒªÁ˽âÒ»ÏÂgccµÄ__attribute__µÄ±àÒïÊôÐÔ£¬__attribute__Ö÷ÒªÓÃÓڸıäËùÉùÃ÷»ò¶¨ÒåµÄº¯Êý»òÊý¾ÝµÄÌØÐÔ£¬ËüÓкܶà×ÓÏÓÃÓڸıä×÷ÓöÔÏóµÄÌØÐÔ¡£±ÈÈç¶Ôº¯Êý£¬noline½«½ûÖ¹½øÐÐÄÚÁªÀ©Õ¹¡¢noreturn±íʾûÓзµ»ØÖµ¡¢pure±íÃ÷º¯Êý³ý·µ»ØÖµÍ⣬²»»áͨ¹ýÆäËü ......
http://blog.chinaunix.net/u/24474/showart_227121.html
Çý¶¯³ÌÐòʹÓÃtasklet»úÖÆ
ת×Ô£ºhttp://blog.chinaunix.net/u/15169/showart.php?id=82989
Çý
¶¯³ÌÐòÔÚ³õʼ»¯Ê±£¬Í¨¹ýº¯Êýtask_init½¨Á¢Ò»¸ötasklet£¬È»ºóµ÷Óú¯Êýtasklet_schedule½«Õâ¸ötasklet·ÅÔÚ
tasklet_vecÁ´±íµÄÍ·²¿£¬²¢»½ÐѺǫ́Ïß³Ìksoftirqd¡£µ±ºóÌ¨Ï ......
http://hi.baidu.com/j_fo/blog/item/55f4014f1a226937aec3ab01.html
Linux Kernel Thread µÄÌÖÂÛ
2007-05-14 11:45
kernel thread
Gearheads Written by Sreekrishnan Venkateswaran
Thursday, 15 September 2005
Threads are programming abstractions used in concurrent processing. A ke ......
µÚÒ»²½£¬ÎÒÃÇÔÚLinuxϵͳÏ£¬ÐÞ¸Ä/etc/X11/xdm/XaccessÎļþ£¬ÕÒµ½ÏÂÃæµÄÓï¾ä£º
# * #any host can get a login window
È¥µô×îÇ°ÃæµÄ#ºÅ£¬³ÉΪ
* #any host can get a login window
µÚ¶þ²½£¬ÎÒÃÇÐÞ¸Ä/etc/X11/gdm/gdm.confÎļþ£¬ÕÒµ½ÏÂÃæµÄÓï¾ä£º
[xdmcp]
Enable£½false
½«ÆäÖеÄEn ......