Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linux²é¿´ÏµÍ³ÐÅÏ¢


linuxÈçºÎϵͳÐÅÏ¢
Äõ½Ò»¸öϵͳ£¬¿Ï¶¨Òª¿´¿´ÏµÍ³ÅäÖã¬linuxÏ¿´ÅäÖ㬿ÉûÓÐwindowsÄÇôֱ¹Û¡£ÄãÖ»ÄÜÒ»¸öÒ»¸ö²é¿´¡£
Ò»£ºcpu
[root@srv /]# more /proc/cpuinfo | grep "model name"
model name    : Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
model name    : Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
model name    : Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
model name    : Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
[root@srv /]# grep "model name" /proc/cpuinfo
model name    : Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
model name    : Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
model name    : Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
model name    : Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
[root@srv /]# grep "model name" /proc/cpuinfo | cut -f2 -d:
Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
Intel(R) Xeon(R) CPU          X3220 @ 2.40GHz
¶þ£ºÄÚ´æ
[root@srv /]# grep MemTotal /proc/meminfo
MemTotal:        614400 kB
[root@srv /]# free -m
                   total        used        free    shared     buffers    cached
Mem:          600       23       576           0           0     &


Ïà¹ØÎĵµ£º

Linux iptableÎĵµ

×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......

LinuxÏÂʹÓÃcoredumpʱµÄ×¢ÒâÊÂÏî

ºÇºÇ£¬×î½ü×ÁÄ¥MySQL coredumpʱѧµ½µÄÒ»µãµã¶«Î÷¡£ÔÚLinuxÏÂÒª±£Ö¤³ÌÐò±ÀÀ£Ê±Éú³ÉcoredumpҪעÒâÕâЩÎÊÌ⣺
Ò»¡¢Òª±£Ö¤´æ·ÅcoredumpµÄĿ¼´æÔÚÇÒ½ø³Ì¶Ô¸ÃĿ¼ÓÐдȨÏÞ¡£´æ·ÅcoredumpµÄĿ¼¼´½ø³ÌµÄµ±Ç°Ä¿Â¼£¬Ò»°ã¾ÍÊǵ±³õ·¢³öÃüÁîÆô¶¯¸Ã½ø³ÌʱËùÔÚµÄĿ¼¡£µ«Èç¹ûÊÇͨ¹ý½Å±¾Æô¶¯£¬Ôò½Å±¾¿ÉÄÜ»áÐ޸ĵ±Ç°Ä¿Â¼£¬Õâʱ½ø³ÌÕæÕýµ ......

Linux Daemon Writing HOWTO


This document shows how to write a daemon in Linux using GCC. Knowledge of Linux and a familiarity with C are necessary to use this document. This HOWTO is Copyright by Devin Watson, under the terms of the BSD License.
1. Introduction: What is a Daemon?
2. Getting Started
3. Planning Your Daemo ......

UNIXºÍLINUXϵͳµÄSHELLÕýÔò±í´ïʽÓï·¨

Ò»¸öÕýÔò±í´ïʽ¾ÍÊÇÓÉÆÕͨ×Ö·û£¨ÀýÈç×Ö·û a µ½ z£©ÒÔ¼°ÌØÊâ×Ö·û£¨³ÆΪԪ×Ö·û£©×é³ÉµÄÎÄ×Öģʽ¡£¸ÃģʽÃèÊöÔÚ²éÕÒÎÄ×ÖÖ÷Ìåʱ´ýÆ¥ÅäµÄÒ»¸ö»ò¶à¸ö×Ö·û´®¡£ÕýÔò±í´ïʽ×÷Ϊһ¸öÄ£°å£¬½«Ä³¸ö×Ö·ûģʽÓëËùËÑË÷µÄ×Ö·û´®½øÐÐÆ¥Åä¡£
¡¡¡¡½«ÏÂÒ»¸ö×Ö·û±ê¼ÇΪһ¸öÌØÊâ×Ö·û¡¢»òÒ»¸öÔ­Òå×Ö·û¡¢»òÒ»¸ö ºóÏòÒýÓᢻòÒ»¸ö°Ë½øÖÆתÒå·û¡£ÀýÈ ......

linux ²éÕÒĿ¼»òÎļþÏê½â


²éÕÒĿ¼£ºfind /£¨²éÕÒ·¶Î§£© -name '²éÕҹؼü×Ö' -type d
²éÕÒÎļþ£ºfind /£¨²éÕÒ·¶Î§£© -name ²éÕҹؼü×Ö -print
Èç¹ûÐèÒª¸ü½øÒ»²½µÄÁ˽⣬¿ÉÒԲο´LinuxµÄÃüÁîÏê½â¡£
ÕâÀïÕª³­ÈçÏ£º
·find path -option [ -print ] [ -exec -ok command ] {} \;
#-print ½«²éÕÒµ½µÄÎļþÊä³öµ½±ê×¼Êä³ö
#-exec command { ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ