LinuxÉ豸ÖÐsit0ÊÇ×öʲôÓõÄ
½ñÌìÊäÈëifconfig -a,·¢ÏÖÓÐÒ»¸öÕâÑùµÄÉ豸:
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
²»ÖªµÀËüÓÐʲô×÷ÓÃ, ²éÁËÒ»ÏÂ,
SITÊÇIPv6-in-IPv4 tunnel interfaces, Õâ¸öinterfaces(½çÃæ»òÊǽӿÚ)Ò²³Æ×÷sitx, sitÊÇ"Simple Internet Transition"µÄËõд. Ëü¿ÉÒÔ½«IPv6µÄÊý¾Ý°üÈû½øIPv4, ͨ¹ýIPv4µ½´ïÁíÒ»¸öµØµã.sit0 ²»ÄÜʹÓÃÚרÓõ膖unnels ÉÏ.
ÓÃlsmodÃüÁî¿ÉÒÔ·¢ÏÖ, ϵͳ¼ÓÔØÁËipv6Ä£¿é.
Ò»°ãËüûÓÐʲôÓÃ, »¹»á¼õÂýÉÏÍøµÄËÙ¶È, ¿ÉÒÔÐÞ¸Ä
/etc/modprobe.conf,¼ÓÉÏ
alias net-pf-10 ipv6
alias net-pf-10 off
Ïà¹ØÎĵµ£º
Ò»¡¢¸ÅÊö
̸µ½ÔÚlinuxϵͳϱàдI2CÇý¶¯£¬Ä¿Ç°Ö÷ÒªÓÐÁ½ÖÖ·½Ê½£¬Ò»ÖÖÊÇ°ÑI2CÉ豸µ±×÷Ò»¸öÆÕͨµÄ×Ö·ûÉ豸À´´¦Àí£¬ÁíÒ»ÖÖÊÇÀûÓÃlinux I2CÇý¶¯Ìåϵ½á¹¹À´Íê³É¡£ÏÂÃæ±È½ÏÏÂÕâÁ½ÖÖÇý¶¯¡£
µÚÒ»ÖÖ·½·¨µÄºÃ´¦£¨¶ÔÓ¦µÚ¶þÖÖ·½·¨µÄÁÓÊÆ£©ÓУº
¡ñ ˼·±È½ÏÖ±½Ó£¬²»ÐèÒª ......
asctime£¨½«Ê±¼äºÍÈÕÆÚÒÔ×Ö·û´®¸ñʽ±íʾ£©
Ïà¹Øº¯Êý
time£¬ctime£¬gmtime£¬localtime
±íÍ·Îļþ
#include<time.h>
¶¨Ò庯Êý
char * asctime(const struct tm * timeptr);
º¯Êý˵Ã÷
asctime()½«²ÎÊýtimeptrËùÖ¸µÄtm½á¹¹ÖеÄÐÅϢת»»³ÉÕæʵÊÀ½çËùʹÓõÄʱ¼äÈÕ ......
Ò»¡¢½ø³Ì¿ØÖÆ£º
fork
´´½¨Ò»¸öнø³Ì
clone
°´Ö¸¶¨Ìõ¼þ´´½¨×Ó½ø³Ì
execve
ÔËÐпÉÖ´ÐÐÎļþ
exit
ÖÐÖ¹½ø³Ì
_exit
Á¢¼´ÖÐÖ¹µ±Ç°½ø³Ì
getdtablesize
½ø³ÌËùÄÜ´ò¿ªµÄ×î´óÎļþÊý
getpgid
»ñÈ¡Ö¸¶¨½ø³Ì×é±êʶºÅ
setpgid
ÉèÖÃÖ¸¶¨½ø³Ì×é±êÖ¾ºÅ
getpgrp
»ñÈ¡µ±Ç°½ø³Ì×é±êʶºÅ
setpgrp
ÉèÖõ±Ç°½ø³Ì×é±êÖ¾ºÅ
g ......
Linux Redhat AS 4ÖбàÒëÄÚºËÓëÒÔÍù°æ±¾µÄÇø±ð
Ôø¾±»Îʼ°ÎªºÎÔÚRedhat AS4ÖÐÕÒ²»µ½ÄÚºËÔ´´úÂëĿ¼£¬¿ªÊ¼Ê±»Ø´ð¶Ô·½ÔÚ°²×°Ê±Â©Ñ¡ÁËÔ´Âë°ü£¬¶Ô·½»Ø´ðÎÒÒѾÖØ×°¹ýËı飬һ¸ö°üÒ»¸ö°üÕÒ¹ýÀ´ÑÛ¶¼¶ÔÆðÀ´ÁËҲûÕÒµ½¡£Õæ¼û¹í£¬ÎÒÔڵ绰Àï˵Ҫ²»ÄãÏȵ½/usr/srcĿ¼ÏÂÕÒÕÒ¿´£¬ÊÔ×Å×ö×ö¡£
ºóÀ´Ëû·¢ÁËÒ»¸öÓʼþ¸øÎÒ£¬° ......