ÔÚLinuxϲ鿴¶Ë¿ÚµÄʹÓÃÇé¿ö¼°Æô¶¯
Netstat -tln ÃüÁîÊÇÓÃÀ´²é¿´linuxµÄ¶Ë¿ÚʹÓÃÇé¿ö
/etc/init.d/vsftp start ÊÇÓÃÀ´Æô¶¯ftp¶Ë¿Ú~£¡
¿´Îļþ/etc/services
netstat
²é¿´ÒѾÁ¬½ÓµÄ·þÎñ¶Ë¿Ú£¨ESTABLISHED£©
netstat -a
²é¿´ËùÓеķþÎñ¶Ë¿Ú£¨LISTEN£¬ESTABLISHED£©
sudo netstat -ap
²é¿´ËùÓеķþÎñ¶Ë¿Ú²¢ÏÔʾ¶ÔÓ¦µÄ·þÎñ³ÌÐòÃû
nmap £¼É¨ÃèÀàÐÍ£¾£¼É¨Ãè²ÎÊý£¾
ÀýÈ磺
nmap localhost
nmap -p 1024-65535 localhost
nmap -PT 192.168.1.127-245
µ±ÎÒÃÇʹÓá¡netstat -apn¡¡²é¿´ÍøÂçÁ¬½ÓµÄʱºò£¬»á·¢ÏֺܶàÀàËÆÏÂÃæµÄÄÚÈÝ£º
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 52 218.104.81.152£º7710 211.100.39.250£º29488 ESTABLISHED 6111/1
ÏÔʾÕą̂·þÎñÆ÷¿ª·ÅÁË7710¶Ë¿Ú£¬ÄÇôÕâ¸ö¶Ë¿ÚÊôÓÚÄĸö³ÌÐòÄØ£¿ÎÒÃÇ¿ÉÒÔʹÓá¡lsof -i £º7710¡¡ÃüÁîÀ´²éѯ£º
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sshd 1990 root 3u IPv4 4836 TCP *£º7710 £¨LISTEN£©
ÕâÑù£¬ÎÒÃǾÍÖªµÀÁË7710¶Ë¿ÚÊÇÊôÓÚsshd³ÌÐòµÄ¡£
±¾Îijö´¦£ºhttp://www.bitscn.com/os/linux/200803/131774.html
Ïà¹ØÎĵµ£º
×÷Õߣº²ÜÖÒÃ÷,»ªÇåÔ¶¼ûǶÈëʽѧԺ½²Ê¦¡£
PCIÊÇÍâΧÉ豸»¥ÁªµÄ¼ò³Æ(Peripheral Component Interconnect)µÄ¼ò³Æ£¬×÷ΪһÖÖͨÓõÄ×ÜÏß½Ó¿Ú±ê×¼£¬ËûÔÚ¼ÆËã»úϵͳÖеõ½Á˹㷺µÄʹÓá£PCIµÄËÙ¶ÈÄܹ»´ïµ½132M/s¡£ÔÚÕâÀï¼òµ¥µÄ½éÉÜһϠlinux ÏÂPCIÇý¶¯µÄʵÏÖ¡£
ÔÚ±àдһ¸öPCIÇý¶¯µÄʱºòÎÒÃÇÏȵÃÈ·¶¨ÏµÍ³ÖÐÊÇ·ñÓÐÎÒÃǵÄÉ豸¡£Î ......
FTP> ! ´Ó ftp ×ÓϵͳÍ˳öµ½Íâ¿Ç¡£
¡¡¡¡FTP> ? ÏÔʾ ftp ÃüÁî˵Ã÷¡£? Óë help Ïàͬ¡£
¡¡¡¡¸ñʽ£º? [command]
¡¡¡¡ËµÃ÷£º[command]Ö¸¶¨ÐèÒª°ïÖúµÄÃüÁîÃû³Æ¡£Èç¹ûûÓÐÖ¸¶¨ command£¬ftp ½«ÏÔʾȫ²¿ÃüÁîµÄÁÐ±í¡£
¡¡¡¡FTP> append ʹÓõ±Ç°ÎļþÀàÐÍÉèÖý«±¾µØÎļþ¸½¼Óµ½Ô¶³Ì¼ÆËã»úÉϵÄÎļþ¡£
¡¡¡¡¸ñʽ£ºappend ......
linux 2.6Ï̴߳´½¨Ô´Âë·ÖÎö
ÉÏÕ½²µ½Ị̈߳¬ÏÖÔÚ¶ÔÏ̴߳´½¨µÄ´úÂëÁ÷³Ì·ÖÎöÏ¡£À´Ò»²½Ò»²½½Ò¿ªËýÉñÃصÄÃæÉ´
linuxÄں˴´½¨Ï̺߳¯Êý kernel_thread()£¬×îÖÕ»áµ÷ÓÃdo_fork().
Ç°Ãæ̸µ½Ïß³ÌÒ²ÊÇÓÃtask_struct½á¹¹±íʾËüÓµÓеÄÐÅÏ¢£¬Ö»ÊÇÊǹ²Ïí½ø³ÌµÄ×ÊÔ´¡£
¸ù¾Ýclone_fla ......
Öжϴ¦Àí
¡¡¡¡Í¬´¦ÀíI/O¶Ë¿ÚÒ»Ñù£¬ÒªÊ¹ÓÃÒ»¸öÖжϣ¬±ØÐëÏÈÏòϵͳµÇ¼Ç¡£
int request_irq(unsigned int irq £¬void(*handle)(int£¬void *£¬struct pt_regs *)£¬
unsigned int long flags£¬ const char *device£¬void *dev_id);
irq ......
linuxϵÄÖ÷ÒªÎļþ
/boot/grub/grub.conf GRUB configuration file
/boot/module-info-* Module information for the Linux kernel
/boot/System.map-* Map of the Linux kernel
/boot/vmlinuz-* Linux kernel
/etc/aliases Mail aliases
/etc/a ......