()ý
Home
Ȩ ȸҰ ý Ʈ ũ
 
 
ۼ : 06-09-05 17:17
linux
 ۾ :
ȸ : 18,590  


1 . Ȯ.


  - #more /etc/issue     ( cat /etc/issue)


  - #more /proc/version  (cat /proc/version)


 


2. ý ϵ Ȯ. ( /proc)


 


  - #more /proc/cpuinfo     ( cpu Ȯ )


  - #more /proc/meminfo    (memory Ȯ)


  - #more /proc/pci         (ϵ Ȯ)


 


3. ý α Ȯ.


 


  - #more /var/log/messages   (#tail -f /var/log/messages)


    ý α Ȯ


 


- #more /var/log/secure      (#tail -f /var/log/secure)


      Console α ( IP Ȯ )


 ) α


Sep  5 15:27:24 test sshd[24780]: Could not reverse map address 211.187.90.4.


Sep  5 15:27:24 test sshd[24780]: Accepted password for root from 211.187.90.4 port 1457 ssh2


 


  - #more /var/log/boot.log


    ý Ȱȭ Ȯ


 


  - #more dmesg


    ޽ ̽ Ȯ.


 


  - #lastlog


    /etc/passwd ϵ ֱ ̵ Ȯ


  - #last | more


    Ȯ


 


 


4.Ʈũ Ȯ


 


  - #ifconfig   ( ī Ȯ)


 


  - #netstat –an | more  ( #netstat –an | more LISTEN )


     ýۿ Ʈ Ȯ


 


  - #netstat –an | grep SYN_RECV


     SYN Flooding ݿ ɼ


 


- #mii-tool -v


     Ʈũ Ȯ


     [root@mapo log]# mii-tool -v


eth0: negotiated 100baseTx-FD, link ok  (ӵ)


  product info: vendor 00:08:18, model 22 rev 2


  basic mode:   autonegotiation enabled 


  basic status: autonegotiation complete, link ok  (Ʈũ ũ )


  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD


  advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control


  link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD


eth1: no link


  product info: vendor 00:08:18, model 22 rev 2


  basic mode:   autonegotiation enabled


  basic status: no link


  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD


  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control


[root@mapo log]#


 


  - #tcpdump -i eth0 (eth1)


     Eth0 ó Ŷ Ȯ


 


- #tcpdump -i eth0 –c 22


     Eth0 ó Ư Ʈ (22) Ŷ Ȯ


 


- # ping ش   ( Ȯ)


 


5. ý Ȯ


 


  - #df -h


    Ƽ Ȯ


 


  Fdisk -l


    ũ Ƽ Ȯ


 


6. cpu , memory Ȯ


 


  #top


3:58pm  up 61 days, 19:03,  1 user,  load average: 0.00, 0.00, 0.00


          (uptime)           ()


131 processes: 130 sleeping, 1 running, 0 zombie, 0 stopped


 


CPU0 states:  0.0% user,  0.2% system,  0.0% nice, 99.3% idle


(cpu 0 )


CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle


(cpu 0 )


Mem:  2064692K av, 2052536K used,   12156K free,       0K shrd,   56816K buff


( ޸)


Swap: 2097112K av,    5564K used, 2091548K free                 1916536K cached


( swap ޸)      ()      ()


 


7. swap Ȯ


 


  #free


total       used       free     shared    buffers     cached


Mem:       2064692    2052368      12324          0      56844    1916536


-/+ buffers/cache:      78988    1985704


Swap:      2097112       5564    2091548


 


8. processes Ȯ


 


  #ps –ef | more


   ýۿ μ Ȯ.


9. hostname


 


# vi /etc/sysconfig/network


ϳ hostname


 


  #/etc/rc.d/init.d/network restart ( Ʈ )


 


10. network ip


 
 

Total 106
ȣ     ۾ ¥ ȸ
106 heartbeat HA-Cluster
2007/09/12 39205
105 linux - solaris nfs .(2)
2005/11/30 23936
104 ntp ð ڵȭ
2008/03/18 21553
103 DL580G5 NIC 10G NC510C ġ
2008/03/10 19858
102 ̵尡 Ƽ .... HP DL380 sm
2005/12/23 19679
101 LVM . (Logical Volume Manager) (1)
2005/12/06 18717
100 linux
2006/09/05 18591
99 insmod modprobe []
2006/08/14 17942
98 linux nfs (1)
2005/11/30 17593
97 linux rootkit ġ Ȯ
2008/03/18 15525
96 ⰡƮ Ȯ ( ethtool )
2007/11/16 15290
95 󿡼 Ϻ
2007/07/09 14346
94 x3560 centos 4.6 DSA
2009/07/01 13993
93 ý ̻ ..(rescue mode)
2007/01/19 13558
92 lVM
2007/01/22 13105
 1  2  3  4  5  6  7  8  
 
 
 
Administrator Login