linux /proc/loadavg Îļþ½éÉܼ°Ó¦ÓÃ
¸ÃÎļþÖеÄËùÓÐÖµ¶¼ÊÇ´ÓϵͳÆô¶¯¿ªÊ¼ÀۼƵ½µ±Ç°Ê±¿Ì¡£¸ÃÎļþÖ»¸ø³öÁËËùÓÐCPUµÄ¼¯ºÏÐÅÏ¢£¬²»Äܸóöÿ¸öCPUµÄÐÅÏ¢¡£
[root@localhost ~]# cat /proc/loadavg
4.61 4.36 4.15 9/84 5662
ÿ¸öÖµµÄº¬ÒåΪ£º
²ÎÊý ½âÊÍ
lavg_1 (4.61) 1-·ÖÖÓƽ¾ù¸ºÔØ
lavg_5 (4.36) 5-·ÖÖÓƽ¾ù¸ºÔØ
lavg_15(4.15) 15-·ÖÖÓƽ¾ù¸ºÔØ
nr_running (9) ÔÚ²ÉÑùʱ¿Ì£¬ÔËÐжÓÁеÄÈÎÎñµÄÊýÄ¿£¬Óë/proc/statµÄprocs_running±íʾÏàͬÒâ˼
nr_threads (84) ÔÚ²ÉÑùʱ¿Ì£¬ÏµÍ³ÖлîÔ¾µÄÈÎÎñµÄ¸öÊý£¨²»°üÀ¨ÔËÐÐÒѾ½áÊøµÄÈÎÎñ£©
last_pid(5662) ×î´óµÄpidÖµ£¬°üÀ¨ÇáÁ¿¼¶½ø³Ì£¬¼´Ï̡߳£
¼ÙÉ赱ǰÓÐÁ½¸öCPU£¬Ôòÿ¸öCPUµÄµ±Ç°ÈÎÎñÊýΪ4.61/2=2.31
תÔØ×Ô£ºhttp://blog.163.com/a5_zhang/blog/static/44095029200922343019323/
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
linux¶àÏß³ÌÉè¼Æ
¡¡¡¡1 ÒýÑÔ
¡¡¡¡Ị̈߳¨thread£©¼¼ÊõÔçÔÚ60Äê´ú¾Í±»Ìá³ö£¬µ«ÕæÕýÓ¦ÓöàÏ̵߳½²Ù×÷ϵͳÖÐÈ¥£¬ÊÇÔÚ80Äê
´úÖÐÆÚ£¬solarisÊÇÕâ·½ÃæµÄٮٮÕß¡£´«Í³µÄUnixÒ²Ö§³ÖÏ̵߳ĸÅÄµ«ÊÇÔÚÒ»¸ö½ø³Ì£¨process£©ÖÐÖ»ÔÊÐíÓÐÒ»¸öỊ̈߳¬ÕâÑù¶àÏ߳̾ÍÒâζ×Ŷà
½ø³Ì¡£ÏÖÔÚ£¬¶àÏ̼߳¼ÊõÒѾ±»Ðí¶à²Ù×÷ϵͳËùÖ§³Ö£¬°üÀ¨Windo ......
1. Ôö¼ÓÓû§Õʺŗ—useradd / adduser
ÔÚÃüÁîÐÐÏÂʹÓà useradd ÃüÁ
useradd ̞
¸ÃÃüÁî×öÁËÏÂÃ漸¼þÊ£º
1£©ÔÚ /etc/passwd ÎļþÖÐÔöÌíÁËÒ»ÐмǼ£»
2£©ÔÚ /home Ŀ¼Ï´´½¨ÐÂÓû§µÄÖ÷Ŀ¼£¬²¢½« /etc/skel Ŀ¼(skeleton:.bashrc, .bash_history, etc.)ÖеÄÎļþ¿½±´µ½¸ÃĿ¼ÖÐÈ¥£»µ«ÊÇÊ ......
For ubuntu: [1]http://webonrails.com/2009/07/15/change-timezone-of-ubuntu-machine-from-command-line/
2
Logged in as root, check which timezone your machine is currently using by executing `date`. You'll see something like Mon 17 Jan 2005 12:15:08 PM PST, PST in this case is the cu ......