机器的名称,[root@localhost root]#
hostname
 
uname –a
 
cat /etc/redhat-release
 
ifconfig;
eth0      Link encap:Ethernet HWaddr 00:XX:XX:XX:XX:XX 
          inet addr:10.1.3.101 Bcast:10.1.3.255 Mask:255.255.255.0
                   ……
 
eth1      Link encap:Ethernet HWaddr 00:XX:XX:XX:XX:XX 
          inet addr:10.1.2.101 Bcast:10.1.2.255 Mask:255.255.255.0
                    ……..
 
lo        Link encap:Local Loopback 
          inet addr:127.0.0.1 Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          …….
eth0,eth1,loless /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0       
HWADDR=00:XX:XX:XX:XX:XX             
ONBOOT=yes      
TYPE=Ethernet     
BOOTPROTO=none     
IPADDR=10.1.3.101     ip
GATEWAY=10.1.3.1     
NETMASK=255.255.255.0  
less /etc/sysconfig/network-scripts/ifcfg-eth1, 
chkconfig –list
 
 
netstat –an
 
fdisk –l
df –h
 
cat /proc/cpuinfo
 
cat /proc/meminfo
 
lspci
cat /proc/pci
 
ps –aux
top ( 
PHP:bin ./php –v
MySQL:bin ./mysql –V    (V)
Apache:bin./apachectl -v