linuxϵÄtftp·þÎñÅäÖÃ
¾¹ýǧÐÁÍò¿àµÄÅäÖã¬ÖÕÓÚÔÚubuntuÉϽ«tftp·þÎñÅäÖúã¬ÏÖ½«ÅäÖùý³Ì¼Ç¼ÈçÏÂ:
1 °²×°
#´ó²¿·ÖÍøÉÏ˵Ã÷½«´Ë´¦ÂÔÈ¥
sudo apt-get install tftp tftpd openbsd-inetd
#ÏÈ°²×°ÕâЩ£¬Ã»ÓвâÊÔ²»°²×°µÄºó¹û
#Èç¹û°´ÕÕÏÂÃæµÄ°²×°·½·¨Î´ÄÜʵÏÖtftp·þÎñ£¬ÄÇôÇë°²×°ÏÂÃæµÄÈí¼þ
sudo apt-get install tftpd-hpa tftp-hpa
2ÔÚ¸ùĿ¼Ï½¨Á¢Ä¿Â¼ tftpboot
cd /
sudo mkdir /tftpboot
3¸Ä±äÎļþ¼ÐµÄÊôÐÔ
sudo chmod 777 tftpboot
4ÐÞ¸ÄÅäÖÃÎļþ
ÐÞ¸ÄÎļþ /etc/inetd.conf
sudo vim /etc/inetd.conf
½«¸ÃÎļþÐÞ¸ÄΪ£º
tftp dgram udp wait nobody /usr/sbin/tcpd
/usr/sbin/in.tftpd /tftpboot
ÐÞ¸ÄÅäÖÃÎļþ /etc/xinetd.d/tftp Èç¹ûûÓÐtftpÎļþ¾Í´´½¨Ëü
sudo vim /etc/xinetd.d/tftp
½«¸ÃÅäÖÃÎļþÐÞ¸ÄΪ
service tftp
{
disable =no
socket_type =dgram
protocol =udp
wait =yes
user =root
server =/usr/sbin/in.tftpd
server_args =-s /tftpboot -c
&
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ΪÄÚºËÑ°ÕÒнø³ÌÔÚcpuÉÏÔËÐÐʱ£¬±ØÐëÖ»¿¼ÂÇ¿ÉÔËÐнø³Ì£¨TASK_RUNNING£©¡£
Ìá¸ßµ÷¶È³ÌÐòÔËÐÐËٶȵľ÷ÇÏÊǽ¨Á¢¶à¸ö¿ÉÔËÐнø³ÌÁ´±í£¬Ã¿ÖÖ½ø³ÌÓÅÏÈȨ¶ÔÓ¦Ò»¸ö²»Í¬µÄÁ´±í¡£Ã¿¸ötask_structÃèÊö·û°üº¬Ò»¸ölist_headÀàÐ͵Ä×Ö¶Îrun_list¡£Èç¹û½ø³ÌµÄÓÅÏÈȨµÈÓÚk(0-139)£¬run_list×ֶΰѸýø³ÌÁ´ÈëÓÅÏÈȨΪkµÄ¿ÉÔËÐнø³ÌµÄÁ´±íÖС£ ......
1.# vi /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=yourname £¨ÔÚÕâÐÞ¸Ähostname£¬°Ñyourname»»³ÉÄãÏëÓõÄÃû×Ö£©
NISDOMAIN=eng-cn.platform.com
2.ÐÞ¸Ä/etc/hostsÀïÃæµÄÃû×Ö
££ vi /etc/hosts
127.0.0.1 localhost.localdomain localhost £¨ÔÚÕâÐÞ¸Ähostname£¬°ÑĩβµÄlocalhost»»³ÉÄãÏëÓõÄÃû×Ö£©
&nbs ......
1. ps¼ò½é
psÃüÁî¾ÍÊÇ×î»ù±¾Í¬Ê±Ò²ÊǷdz£Ç¿´óµÄ½ø³Ì²é¿´ÃüÁî.ʹÓøÃÃüÁî¿ÉÒÔÈ·¶¨ÓÐÄÄЩ½ø³ÌÕýÔÚÔËÐкÍÔËÐеÄ״̬¡¢½ø³ÌÊÇ·ñ½áÊø¡¢½ø³ÌÓÐûÓн©ËÀ¡¢ÄÄЩ½ø³ÌÕ¼ÓÃÁ˹ý¶àµÄ×ÊÔ´µÈµÈ.×ÜÖ®´ó²¿·ÖÐÅÏ¢¶¼ÊÇ¿ÉÒÔͨ¹ýÖ´ÐиÃÃüÁîµÃµ½µÄ.
2. psÃüÁî¼°Æä²ÎÊý
psÃüÁî×î³£ÓõĻ¹ÊÇÓÃÓÚ¼à¿Øºǫ́½ø³ÌµÄ¹¤×÷Çé¿ö,ÒòΪºǫ́½ø³ÌÊDz»ºÍÆÁÄ»¼ü ......
topÃüÁîÊÇLinuxϳ£ÓõÄÐÔÄÜ·ÖÎö¹¤¾ß£¬Äܹ»ÊµÊ±ÏÔʾϵͳÖи÷¸ö½ø³ÌµÄ×ÊÔ´Õ¼ÓÃ×´¿ö£¬ÀàËÆÓÚWindowsµÄÈÎÎñ¹ÜÀíÆ÷¡£ÏÂÃæÏêϸ½éÉÜËüµÄʹÓ÷½·¨¡£
top - 01:06:48 up 1:22, 1 user, load average: 0.06, 0.60, 0.48
Tasks: 29 total, 1 running, 28 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.3% us, 1.0% sy, 0.0% ni, 98 ......