Linux²é¿´ÏµÍ³ÅäÖó£ÓÃÃüÁî
ϵͳ
# uname -a # ²é¿´ÄÚºË/²Ù×÷ϵͳ/CPUÐÅÏ¢
# head -n 1 /etc/issue # ²é¿´²Ù×÷ϵͳ
°æ±¾
# cat /proc/cpuinfo # ²é¿´CPUÐÅÏ¢
# hostname # ²é¿´¼ÆËã»úÃû
# lspci -tv # ÁгöËùÓÐPCIÉ豸
# lsusb -tv # ÁгöËùÓÐUSBÉ豸
# lsmod # Áгö¼ÓÔØµÄÄÚºËÄ£¿é
# env # ²é¿´»·¾³±äÁ¿
×ÊÔ´
# free -m # ²é¿´ÄÚ´æÊ¹ÓÃÁ¿ºÍ½»»»ÇøÊ¹ÓÃÁ¿
# df -h # ²é¿´¸÷·ÖÇøÊ¹ÓÃÇé¿ö
# du -sh <Ŀ¼Ãû> # ²é¿´Ö¸¶¨Ä¿Â¼µÄ´óС
# grep MemTotal /proc/meminfo # ²é¿´ÄÚ´æ×ÜÁ¿
# grep MemFree /proc/meminfo # ²é¿´¿ÕÏÐÄÚ´æÁ¿
# uptime # ²é¿´ÏµÍ³ÔËÐÐʱ¼ä¡¢Óû§Êý¡¢¸ºÔØ
# cat /proc/loadavg # ²é¿´ÏµÍ³¸ºÔØ
´ÅÅ̺ͷÖÇø
# mount | column -t # ²é¿´¹Ò½ÓµÄ·ÖÇø×´Ì¬
# fdisk -l # ²é¿´ËùÓзÖÇø
# swapon -s # ²é¿´ËùÓн»»»·ÖÇø
# hdparm -i /dev/hda # ²é¿´´ÅÅ̲ÎÊý(½öÊÊÓÃÓÚIDEÉ豸)
# dmesg | grep IDE # ²é¿´Æô¶¯Ê±IDEÉ豸¼ì²â×´¿ö
Ïà¹ØÎĵµ£º
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâÆª·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´Ë×ªÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨ÕâÆª²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
ǰЩÈÕ×Ó£¬ÔÚ²Ù×÷Êý¾Ý¿âʱ£¬ÐèÒªÖ´ÐвÙ×÷ʱ¼äºÜ¾ÃµÄsqlÓï¾ä¡£µ«Êǵ±Ê±¾ÖÓòÍøÍøÂçÇé¿ö²»ºÃ£¬¾³£·¢ÉúµôÏßµÄÇé¿ö¡£
´ËʱÐèÒª°ÑÖ´ÐеÄÓï¾ä¼ÓÈëµ½oracle·þÎñÆ÷Éϵĺǫ́½ø³ÌÖУ¬È¥Ö´ÐС£²Ù×÷¹ý³ÌÈçÏ£º
1¡¢Ê×ÏȰÑÐèÒªÖ´ÐеÄsqlÓï¾äд³É½Å±¾£¬´æ´¢µ½sql.sqlÖС£²¢·ÅÖõ½Êý¾Ý¿â·þÎñÆ÷ij·¾¶ÏÂ.
2¡¢Ö´ÐÐÈçÏÂlinuxÃüÁî¼´¿É£º
&nb ......
1. ½ø³ÌÊÇʲô?
Ò»¸ö½ø³Ì¾ÍÊdzöÓÚÖ´ÐÐÆÚµÄ³ÌÐò, °üÀ¨:¿ÉÖ´ÐгÌÐò´úÂë(´úÂë¶Î), ´ò¿ªµÄÎļþ, ¹ÒÆðµÄÐźÅ, ÄÚºËÄÚ²¿Êý¾Ý, ´¦ÀíÆ÷״̬, µØÖ·¿Õ¼ä, Ò»¸ö»ò¶à¸öÖ´ÐÐÏß³Ì, µ±È»»¹°üÀ¨ÓÃÀ´´æ·ÅÈ«¾Ö±äÁ¿µÄÊý¾Ý¶Î, µÈµÈ.
2. ʲôÊÇÏß³Ì?ËüºÍ½ø³ÌµÄ¹ØÏµÊÇʲôÑùµÄ? Ïß³ÌÔÚLINUXÖоßÌåÊÇÔõôÑùʵÏÖµÄ?
ÊÇÔÚ½ø³ÌÖлµÄ¶ÔÏó ......
ÔµØÖ·£ºhttp://selftest.51cto.com/subread.php?sid=213
×Ô²â¼ò½é£º
ShellÒ²½Ð×öÃüÁîÐнçÃæ£¬ËüÊÇUnix/ÀàUnix²Ù×÷ϵͳÏ´«Í³µÄÓû§ºÍ¼ÆËã»úµÄ½»»¥½çÃæ¡£Óû§Ö±½ÓÊäÈëÃüÁîÀ´Ö´Ðи÷ÖÖ¸÷ÑùµÄÈÎÎñ¡£µ±È»Î¢ÈíµÄWindows²Ù×÷ϵͳҲÌṩÁËÕâÑùµÄ¹¦ÄÜ£¬ËüÃÇÊÇWindows 9XϵÄcommand.com£¬ºÍ»ùÓÚWindows NTµÄ¸ ......
ÏÂÃæµÄ´úÂë·ÖÎöÊǸù¾Ýlinux-2.6.17.14_stm22°æ±¾
#define STSYS_WriteRegDev32LE(Address_p, value) writel((u32)value, (void*)Address_p)
ÔÚinclude/asm-sh/io.h
#define writel(v,a) ({__raw_writel((v),(a));mb();})
#define __raw_write(v,a) __writ ......