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 &
Ïà¹ØÎĵµ£º
Unix Toolbox
This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.
Unix Toolbox revision 14.2
The latest version of this ......
±¾ÈËʹÓõÄTDµÄÄ£¿éÊÇLC63**,ÔÚÉϸöÔµÄÕ⼸Ìì¸ÕÄõ½°å×Ó£¬ÕÛÌÚÁ˽«½üÒ»¸öÔ£¬Õâ¸ö°å×Ó´òµç»°£¬ÉÏÍø¶¼Ã»ÓÐÎÊÌâÁË¡£
Ê×ÏÈ»¹ÊÇÓбØÒª½éÉÜÒ»ÏÂpppÐÒéÁË£¬ÊÇTDÉÏÍøµÄ»ù´¡£º
PPPÊǵã¶ÔµãµÄÁ¬½ÓÐÒé¡£ÕâÖÖÁ¬½Ó½¨Á¢Ö®ºó£¬½«¸øÁ½µã·Ö±ð·ÖÅäIPµØÖ·£¬Ê¹ÓÃÕâ¸öIP¿ÉÒÔ½øÐÐÁ½µãÖ®¼äµÄͨѶ¡£»¥ÁªÍø×î³õµÄ“²¦ºÅÉÏÍø”·½Ê½Ëµµ ......
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 ......
¹ØÓÚÐÂÓ²Å̵ĹÒÔØÖ÷ÒªÓм¸¸ö²½×ࣺ£¨ÎÒÓõÄÊÇUbuntu9.10£©
Ò».Ê×ÏȲ鿴×Ô¼ºµÄÉ豸£¬ÓÃÃüÁî fdisk -l
youlong@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 51 ......
LinuxÏÂracµÄ°²×°
1£¬»·¾³×¼±¸
192.168.5.10 rac1
192.168.5.100 prac1
10.20.0.10 vrac1
192.168.5.20 rac2
192.168.5.200 prac2
10.20.0.20 vrac2
2.Íø¿¨ÉèÖÃǰÌáÊÇÁ½¿éÍø¿¨
cd /etc/sysconfig/network-scripts
& ......